switch_show_logs
Display the log buffer of a specified switch to inspect system events and errors. Optionally limit lines returned for focused troubleshooting.
Instructions
Show log buffer on a switch
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": {
"device_id": "<device_id>"
},
"name": "switch_show_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | Number of log lines to show (optional) | |
| device_id | Yes | Switch device ID |