Revoke a tool gateway session
pc_post_tool_gateway_sessions_by_session_id_revokeRevoke a tool gateway session by session ID to terminate access and invalidate the session.
Instructions
Revoke a tool gateway session
Paperclip operation: POST /api/tool-gateway/sessions/{sessionId}/revoke. Authorization class: board_or_agent.
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": {
"path": "<path>",
"body": "<body>"
},
"name": "pc_post_tool_gateway_sessions_by_session_id_revoke"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| headers | Yes | ||
| encoding | Yes | ||
| status_code | Yes | ||
| content_type | Yes |