policy.delegate
Delegate payment authority from a parent agent to a sub-agent with explicit limits. The sub-agent can only spend up to the delegated ceiling. Delegation can be revoked at any time. Use in multi-agent workflows where an orchestrator authorises a worker agent to make payments on its behalf.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_total | No | Lifetime spending ceiling for this delegation | |
| policy_id | No | Policy ID to inherit (optional — inherits parent policy if omitted) | |
| expires_at | No | Unix timestamp (ms) when this delegation expires. Omit for no expiry. | |
| max_per_tx | No | Maximum USD per transaction for the sub-agent | |
| child_agent_id | Yes | The sub-agent receiving delegated authority | |
| parent_agent_id | Yes | The authorising (parent) agent ID |