Stop a live session
stop_sessionAsks the Nod to leave its room now, waits a few seconds for it to go, and returns the final state and cost.
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": {
"id": "<id>"
},
"name": "stop_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | ||
| message | Yes | ||
| warning | Yes | ||
| end_reason | Yes | ||
| session_id | Yes | ||
| nod_has_spoken | Yes | ||
| charged_micro_usd | Yes |