run_project_action
Execute a discovered project action by ID with bounded output and timeout, enabling AI assistants to run codebase tests or scripts without excessive token use.
Instructions
Run a discovered project action by id (bounded output, bounded timeout).
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": {
"action_id": "<action_id>"
},
"name": "run_project_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Project name/path (default: active). | |
| action_id | Yes | e.g. 'python:test', 'npm:test'. | |
| timeout_sec | No | Default 120. | |
| include_output | No | ||
| max_output_chars | No | Default 12000. |