close_session
Terminates a named STM32 debug session using its session ID, tearing down the GDB client and server to release hardware resources.
Instructions
Closes a named debug session, tearing down its GDB client and server.
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": "close_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | No | Optional debug-session name. Omit for the default target. | |
| session_id | Yes | Name of the session to close, e.g. 'rackA'. |