set_delegation_policy
Set the maximum lifetime in days for workspace delegation grants to bound token exposure; omit or null to restore the 90-day default. Applies to grants issued afterward.
Instructions
Set the longest a delegation grant may live in this workspace, in days (1 to 3650); omit or null to restore the default of 90. A grant is the standing authority to keep minting delegated tokens, so this bounds real exposure. Applies to grants issued afterwards. Requires token:admin.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_delegation_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_grant_days | No | grant lifetime ceiling in days; null/omit = the default, 90 |