exec
Run shell commands inside a service’s running container with its environment and return the output, so you can inspect or troubleshoot live services from an AI agent.
Instructions
Run a shell command inside a service's running container (with its env) and return the output.
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": {
"service": "<service>",
"command": "<command>"
},
"name": "exec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Shell command | |
| service | Yes | Service id or `project.service`, e.g. `shop.api` | |
| timeout_s | No |