Issue Authority Delegation
issue_authority_delegation[OPERATOR] Issue a signed root AuthorityDelegationV1 (record_type aps:authority-delegation:v1, draft-03 section 3.1) from this server's key to a subject.
Instructions
[OPERATOR] Issue a signed root AuthorityDelegationV1 (record_type aps:authority-delegation:v1, draft-03 section 3.1) from this server's key to a subject. This is the record revoke_delegation can revoke and check_authority_delegation can verify. Legacy create_delegation records cannot be revoked under SDK 8. Scope grants use the aps-hierarchical-v1 profile (for example commerce:checkout or commerce:*). Spend is bounded by default: give spend_unit, spend_per_action and spend_cumulative, or set spend_unbounded true. The record is tracked in this process's in-memory revocation store, which is lost on restart. Returns the signed record as JSON for the caller to keep and present. The issuer is always aps:ed25519:<this server's public key>. Holding the server key is the only authorization checked, so the tool is refused on a remote server (MCP_TRANSPORT=sse or MCP_REMOTE=1).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grants | Yes | Scope grants, aps-hierarchical-v1 profile, for example ['commerce:checkout']. | |
| subject | Yes | Identifier of the agent receiving authority, for example a DID or an agent id. | |
| ttl_hours | No | Validity length from now, in hours. | |
| spend_unit | No | Exact-match accounting unit, for example iso4217:USD:minor. | |
| depth_remaining | No | How many further delegation hops the subject may create. | |
| spend_unbounded | No | Set true to issue with no spend limit. Refused together with spend fields. | |
| values_required | No | Values floor identifiers the subject must hold, for example F-001. | |
| spend_cumulative | No | Most the whole delegation subtree may spend, as an integer in spend_unit. | |
| spend_per_action | No | Largest single action, as an integer in spend_unit. | |
| reputation_ceiling | No | Reputation ceiling, aps-score-0-100-v1 profile. | |
| reversibility_ceiling | No | Most irreversible action class the delegation permits. | compensable |