oc_serial_close
Close a live serial session to restore terminal attributes and return the transcript path, ensuring clean teardown after device or console work.
Instructions
Close a live serial session, restore terminal attributes, and return the transcript path.
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": {
"engagement_id": "<engagement_id>",
"session_id": "<session_id>"
},
"name": "oc_serial_close"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| engagement_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||