log_read
Inspect server log files by providing the file path. Optionally set offset and limit to view specific portions.
Instructions
读取指定日志文件
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": {
"path": "<path>"
},
"name": "log_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | 日志文件绝对路径或相对项目根目录的路径 | |
| limit | No | ||
| offset | No |