撤销连接
revoke_sessionInvalidate the current pairing code and disconnect the page session to end authorization or respond to a suspected code leak. Requires re-pairing via get_pairing_code before reconnecting.
Instructions
轮换配对码并断开当前页面会话(S11)。撤销后旧配对码立即失效,页面 sessionStorage 里的旧值无法再重连,需重新调用 get_pairing_code 配对。用于结束一次授权或怀疑配对码泄露时。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "revoke_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||