run_code
Executes local shell commands for compiling code, running scripts, or other development tasks, with configurable working directory and timeout.
Instructions
Выполняет shell-команду локально (например, компиляция или запуск скрипта).
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": "<command>"
},
"name": "run_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Рабочая директория (по умолчанию — папка сервера) | |
| command | Yes | Shell command to run | |
| timeout | No | Таймаут в миллисекундах (по умолчанию 60000) |