get_server_logs
Retrieve recent log lines from a running llama.cpp server by specifying its port number.
Instructions
Fetch recent logs for a running server by port
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": {
"port": "<port>"
},
"name": "get_server_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | Port number of the server | |
| lines | No | Number of log lines to fetch (default: 100) |