Delegate a narrower run
gate_delegate_runHand a narrower run to another active app in the same project. Uses the parent app key and run token, never the admin key. Scope, expiry, approvals and ancestor budgets stay enforced; maximum depth five.
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": {
"project_id": "<project_id>",
"app_key": "<app_key>",
"run_token": "<run_token>",
"app": "<app>",
"actions": "<actions>"
},
"name": "gate_delegate_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | The destination app id | |
| label | No | A short label for the delegated job | |
| actions | Yes | ||
| app_key | Yes | The parent app key (gk_...) | |
| max_calls | No | ||
| run_token | Yes | The parent run token (gr_...) | |
| project_id | Yes | The project id from gate_create_project, e.g. p1a2b3... | |
| ttl_seconds | No |