Mint a sub-agent
mint_subagentDelegate a scoped child key for a worker: its own lifetime budget (cents), expiry (minutes), daily limit, and tool allowlist. Only top-level agents can delegate. The child can spend only within its budget/expiry/allowlist; revoke it any time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Agent key (agp_…). Optional when the MCP connection sends Authorization: Bearer. | |
| name | Yes | Worker name, e.g. scraper-1 | |
| budgetCents | No | Lifetime budget in USD cents (omit for no total cap) | |
| allowedTools | No | Allowlist entries like serviceId:tool or serviceId:* | |
| dailyLimitCents | No | Per-day limit in USD cents | |
| expiresInMinutes | No | Key expiry (max 30 days) | |
| approvalAboveCents | No | Human approval threshold in cents |