delegate_visa
Give another agent a narrower child of a visa you hold. The child can only narrow: its scopes must be a subset of the parent's, it ends no later than the parent, its budget is no larger, it stays at the same destination, and delegation stops at 3 levels. It is bound to the receiving agent's key and is revoked when the parent is. Signed.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scopes | No | Optional subset of the parent's scopes. Default: the parent's scopes. | |
| agent_id | Yes | Agent id. Identity comes from the signature or the owner session. The x-karmadue-agent header is optional. | |
| budget_usd | No | Optional budget, no more than the parent's. | |
| parent_jti | Yes | The jti of a visa you hold. | |
| to_agent_id | Yes | The agent that receives the child visa. | |
| ttl_seconds | No | Optional lifetime in seconds (default 300), never past the parent's expiry. |