run-command
Execute terminal commands to build and modify React apps based on user prompts. Specify a directory for command execution.
Instructions
Run a terminal command
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-command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Command to execute | |
| directory | No | Directory to run the command in (defaults to current directory) |