kilo_run_command
Runs a named Kilo custom command via the Kilo CLI with optional arguments and working directory, enabling Claude to delegate predefined workflows like database migrations.
Instructions
Execute a deterministic, pre-programmed Kilo custom command (e.g., db-migrate)
via kilo run --command <name>. Discover available names with kilo_list_skills'
sibling directories or the .kilo/command/ folder.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"command_name": "<command_name>"
},
"name": "kilo_run_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Optional arguments passed to the command as its message | |
| command_name | Yes | Name of the custom Kilo command to run (from .kilo/command/ or ~/.kilo/command/) | |
| working_directory | No | Absolute path to run the command in |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |