shell_run
Run a one-off shell command locally with sudo, timeout, and working-directory options for custom tasks not covered by dedicated tools.
Instructions
Egyszeri shell parancs futtatasa a LOKALIS gepen (ahol az MCP szerver fut).
Ugyanaz a kockazat-kapu vonatkozik ra, mint a 'host_run'-ra. Altalaban celszerubb a specifikus toolokat hasznalni (system_*, apt_*, stb.), de ez a menekulesi ut barmilyen egyedi parancshoz.
Args: params (HostRunInput): command, sudo, timeout, cwd, response_format. (A 'host' mezot hagyd uresen - ha kitoltod, tavoli gepre megy.) Returns: str: A parancs kimenete.
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": {
"params": "<params>"
},
"name": "shell_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |