exec_in_service
Runs a one-off command inside a hosted service's environment, using the same code, environment, database, and /data, and returns its output.
Instructions
Servisin ortamında (aynı kod, env, veritabanı, /data) tek seferlik bir komut çalıştırır ve çıktısını döner — ör. 'python manage.py migrate', 'node scripts/seed.js', 'ls -la /data'. En fazla 300 sn; çıktı en fazla 64 KB.
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": {
"serviceId": "<serviceId>",
"cmd": "<cmd>"
},
"name": "exec_in_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cmd | Yes | ||
| serviceId | Yes | Servis id (list_services / create_service yanıtındaki id) | |
| timeoutSec | No |