Delegate Passport
stack_delegate_passportDelegate a Passport to a child agent and return the child Passport. Takes the parent token and the exact connection scopes for the child. STACK checks the parent authority and permits only narrower access.
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": {
"parent_passport_token": "<parent_passport_token>",
"child_agent_id": "<child_agent_id>",
"scopes": "<scopes>"
},
"name": "stack_delegate_passport"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scopes | Yes | ||
| ttl_seconds | No | TTL for the child passport (<= parent remaining TTL) | |
| child_agent_id | Yes | The child agent id (agt_*) receiving the delegated passport | |
| parent_passport_token | Yes | The parent passport JWT to delegate from |