run_terminal_command
Execute shell commands in the project directory and receive stdout, stderr, and exit codes to perform builds, run tests, and troubleshoot from mobile.
Instructions
Run a terminal command in the project directory. Returns stdout, stderr, and return code. Use for builds, tests, etc.
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_terminal_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Command to execute | |
| timeout | No | Timeout in seconds (default: 30) |