Run a read-only script
runExecutes read-only manifest scripts, returning exit code and trimmed output, or lists them. Use instead of Bash for safe, non-writing tasks.
Instructions
Runs a read-only script from the manifest: exit code and trimmed output. Without name it lists them. Use it instead of Bash for what a script covers. No shell; rejects absolute paths, .. and anything that writes (goes through run_write).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | one argument per element; relative paths, no .. | |
| name | No | script or «list» | list |
| detail | No | schema = card without running it | name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exit | No | ||
| note | No | ||
| output | No |