list_expiring_grants
Lists grants expiring within a specified number of days so admins can renew or revoke them before workflows break.
Instructions
Return grants set to expires_at within the next within_days. Lets admins renew or revoke before they lapse and break workflows. Business+ tier.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"org_id": "<org_id>"
},
"name": "list_expiring_grants"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org_id | Yes | The org whose grants are reviewed. | |
| within_days | No | List grants that expire between now and this many days from now. Grants with no expiry are never listed. Defaults to ``30``. Default: 30. |