Record outside access
access_grant_recordAfter you give or take back timed outside access for your owner, record it: granted with undo (exactly how to take it back), failed, revoked, or revoke_failed. The undo record is how it is taken back at the end, even in a new session. Never include stored values.
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": {
"grantId": "<grantId>",
"state": "<state>"
},
"name": "access_grant_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | A short note for your owner | |
| undo | No | With granted: how to take it back | |
| state | Yes | granted, failed, revoked or revoke_failed | |
| grantId | Yes | Grant id (from the grant_due or revoke_due inbox item, or access_grants_due) |