run_task
Execute a discovered task in a subprocess, stream stdout and stderr as notifications, and return exit code plus output; supports stdin input and project selection.
Instructions
Execute a discovered task in a subprocess. Streams stdout as info and stderr as warning notifications; returns exit_code, stdout and stderr. Supply stdin for interactive input. Select project when multiple projects are registered.
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": {
"task_name": "<task_name>"
},
"name": "run_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | ||
| stdin | No | ||
| project | No | Registered project alias or path. | |
| timeout | No | ||
| task_name | Yes |