astrax_ejecutar_comando
Execute non-interactive shell commands and return exit code plus trimmed stdout/stderr. Set a working directory or timeout to run terminal tasks from an AI assistant.
Instructions
Ejecuta un comando de shell (sin entrada interactiva). Devuelve código de salida, stdout y stderr recortados.
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": {
"comando": "<comando>"
},
"name": "astrax_ejecutar_comando"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comando | Yes | ||
| directorio | No | ||
| timeout_seg | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |