sensing_end_session
Signal the end of an AI coding session to flush unclassified buffered turns to Perception, preserving decision context before closure.
Instructions
Signal the end of a Claude Code session. Triggers the flush-on-close hook to ship any unclassified buffered turns to Perception before the session closes.
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": {
"session_id": "<session_id>"
},
"name": "sensing_end_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summary | No | Optional brief summary of what was accomplished this session | |
| session_id | Yes | Session identifier from sensing_start_session |