terminal
Execute shell commands and receive stdout, stderr, and return code output.
Instructions
Run a terminal command and return the output.
Args: command: The command to execute in the terminal.
Returns: A dictionary containing stdout, stderr, and return_code.
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": "terminal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||