exec_in_container
Execute commands inside running containers with SSH fallback for environments lacking direct API support.
Instructions
Execute a command inside a running container. NOTE: The Arcane API does not expose a container exec endpoint. This tool will attempt to use SSH as a fallback if available, otherwise returns an error.
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": {
"container_id": "<container_id>",
"command": "<command>"
},
"name": "exec_in_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env_id | No | 0 | |
| command | Yes | ||
| agent_token | No | ||
| container_id | Yes |