search_logs
Search across terminal command logs using a query string to find relevant entries, filter by session, and control results with pagination.
Instructions
Search through logs with a query string
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": {
"query": "<query>"
},
"name": "search_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return | |
| query | Yes | Search query string | |
| offset | No | Number of results to skip (for pagination) | |
| sessionId | No | Session ID to search in. If not provided, searches all sessions. |