next_chunk
Return the next batch of buffered serial output lines, optionally filtered by regex, enabling non-blocking polling of device output.
Instructions
Return the next batch of buffered serial output lines.
Args: nlines: Maximum number of lines to return (default 50) pattern: Optional regex pattern to filter lines (only matching lines are returned)
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": "next_chunk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nlines | No | ||
| pattern | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |