Consent Grant¶
LOW-LEVEL: Direct consent grant for deferred resolution ONLY. Do NOT use this to bypass the consent flow — use consent_request instead, which notifies the user and waits for their approval. This capability exists for: (1) manual resolution after a consent_request timeout when the user later approves out-of-band, (2) programmatic grants from surface callbacks. All grants are session-scoped. Modes: 'always' (24h), 'temporary' (TTL-based), 'once' (single-use).
MCP name: consent_grant
Category: consent
Mutates state (retry policy: manual)
Parameters¶
| Name | Type | Required | Description |
|---|---|---|---|
mode |
str |
Yes | Grant mode: 'always', 'temporary', or 'once' |
operation |
str |
Yes | Operation identifier from the consent_required response |
ttl_minutes |
int |
No | TTL in minutes (required for 'temporary' mode) |