Close instrument session
close_instrumentClose a single connected SCPI instrument by resource, or omit it to disconnect every open instrument. Frees VISA sessions safely after measurements.
Instructions
Close one open instrument, or all of them if resource is omitted.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "close_instrument"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource | No | Resource to close. Omit to close every open instrument. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |