Outbox: revoke a share link
outbox_revoke_sharePermanently revokes a share link by its token, disabling it immediately with no reactivation. Confirm with the user first, since this action is destructive and irreversible.
Instructions
Revokes a share link by its token (DELETE /api/share/:token); the link stops working immediately and cannot be reactivated. Take the token from outbox_create_share or outbox_list_shares. DESTRUCTIVE and irreversible: confirm with the user before using it. Requires scope admin:self (a human key): an agent key gets 403, so if you only have an agent key tell the user to revoke the link at out-box.dev. Idempotent (revoking twice → 404 token_not_found).
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": {
"token": "<token>"
},
"name": "outbox_revoke_share"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | Share token to revoke (32 hex characters) |