switon / tooling
Named file, search, and shell tools for Switon Framework
v1.0.0
2026-08-22 14:29 UTC
Requires
- php: >=8.3
- ext-mbstring: *
- switon/ai: ^1.0
- switon/composer-extra: ^1.0
- switon/core: ^1.0
- switon/event: ^1.0
- switon/lint: ^1.0
Requires (Dev)
- phpstan/extension-installer: ^1.4
- phpstan/phpstan: ^2.0
- switon/testing: ^1.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Switon's tool catalog for application services that want named file, search, and shell tools without owning the agent loop.
Highlights
- Built-in tools: read, write, edit, list, search, shell, lint, media, recall, and a short sleep are available by name.
- Added tools:
extra.switon.toolsadds a name. A name already taken stays. - Replace a built-in: application config can replace a name or drop it.
- Large output: a long result is stored beside the thread and can be read back later.
- The loop stays outside: this package runs one tool call. It does not decide the next step.
Installation
composer require switon/tooling
Quick Start
The built-in names are already registered. A package adds a new name under extra.switon.tools. Repeating read there does not replace it.
{
"extra": {
"switon": {
"tools": {
"mine": "App\\Tool\\MineTool"
}
}
}
}
Docs: https://github.com/switon-php/tooling/blob/main/docs/README.md
License
MIT.