toolMCPlatest
teardown_session
-
Destroy an exact generation-bound session created by this application. Borrowed sessions are refused.
- MCP request method
tools/callSendteardown_sessionas the tool name, with the arguments below.- Tool selection
- Opt in with
--tool teardown_session.
Arguments#
- additionalProperties
false
Result#
Matches one or more variants.
-
- additionalProperties
false
Annotations#
destructiveHinttrueidempotentHintfalseopenWorldHinttruereadOnlyHintfalse
Protocol data#
Use the complete advertised contract for validation and client integration.
Input schema
{"additionalProperties": false,"properties": {"generation": {"description": "Valid UTF-8; at most 128 bytes","maxLength": 128,"type": "string"},"sessionId": {"description": "Valid UTF-8; at most 64 bytes","maxLength": 64,"type": "string"}},"required": ["sessionId","generation"],"type": "object"}Output schema
{"anyOf": [{"additionalProperties": false,"properties": {"completed": {"type": "boolean"},"generation": {"type": "string"},"sessionId": {"type": "string"}},"required": ["completed","sessionId","generation"],"type": "object"},{"properties": {"error": {"additionalProperties": false,"properties": {"code": {"type": "string"},"effects": {"enum": ["none","possible"]},"message": {"type": "string"},"retryable": {"type": "boolean"}},"required": ["code","message","effects","retryable"],"type": "object"}},"required": ["error"],"type": "object"}],"type": "object"}