Approve an access request
requests_approveApprove a pending in-scope access request with a chosen duration, enforcing role, scope, and expiry rules while preserving existing grants.
Instructions
Current portal owner (owner or people-manager role): approve one in-scope request within the scope maximum and binding expiry and select its duration in one action. Uses persisted member/guest lifetime policy; only the owner role can create an unknown person, while people-manager requires an existing person. Preserves their other app grants and never revives a revoked person. Exact retries replay; different or stale decisions conflict. No invitations or remote tailnet calls.
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": {
"id": "<id>",
"for": "<for>"
},
"name": "requests_approve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| for | Yes | Relative lifetime (descending unique units w,d,h,m,s,ms,us,ns) or until <RFC3339|YYYY-MM-DD|YYYY-MM-DDTHH:MM>. Local unless offset given; DST gaps/folds require an offset. Minimum 1h. Presets: 1h, 8h, 24h, 3d, 7d. New grants default to 24h; update omission preserves deadlines. Never requires ack_never for members and device-invited guests; finite guest grants retain the configured maximum. | |
| ack_never | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changed | Yes | ||
| request | Yes |