run_file
Execute an existing file without rewriting code. Use after creating a file to run it directly; language auto-detects from extension.
Instructions
Run an already-existing file. Use this after write_file — avoids writing the code twice. Language is auto-detected from extension if not provided.
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": {
"path": "<path>"
},
"name": "run_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| language | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |