fetch_logs
Retrieves log content from a target server by IP address over HTTP. Specify an optional port and log path to customize the request.
Instructions
从指定的IP地址获取日志内容
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": {
"ip": "<ip>"
},
"name": "fetch_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | 目标服务器的IP地址 | |
| path | No | 日志路径(可选,默认为/logs) | /logs |
| port | No | 目标服务器的端口号(可选,默认为28668) |