get_new_logs
Fetch new log entries since a cursor position, with configurable limits and optional consumption to enable incremental streaming.
Instructions
Get new logs since a specific cursor position (streaming)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_new_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of log entries to return | |
| since | No | Line number cursor to get logs after. Defaults to 0. | |
| sessionId | No | Session ID to get logs from. If not provided, returns from all active sessions. | |
| consumeLogs | No | Whether to remove logs after fetching them (default: true) |