revoke_agent_grant
撤销一个 AI 助理的授权,该助理持有的令牌立即失效;撤销的若是当前这个助理自己的授权,之后的调用需用户重新授权。授权 ID 取自 list_agent_grants。(需要用户授权,范围 account:write)
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>"
},
"name": "revoke_agent_grant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grantId | Yes |