Grant local context access
local_context_grantCreate a scoped child access capability using an owner token to delegate limited request and output-token budgets without reserving shared credits.
Instructions
Create a scoped child access capability; grant caps do not reserve shared credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | Required diagnostic label 1..80 characters; grants no authority. | |
| context_id | Yes | Required context ID returned by create. | |
| owner_token | Yes | Required separate context owner capability; never authorize by label. | |
| ttl_seconds | No | Optional lifetime 1..3600 seconds; null means remaining context lifetime and cannot exceed it. | |
| max_requests | Yes | Required grant request cap 1..100, at most remaining context budget. | |
| max_total_output_tokens | Yes | Required grant output cap 1..65536, at most remaining context budget. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||