log_search
Search project logs for specific keywords, filter by log level and line count to quickly identify errors or warnings.
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": {
"keyword": "<keyword>"
},
"name": "log_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | 日志级别,如 error、warning、info | |
| lines | No | ||
| channel | No | default | |
| keyword | Yes |