fetch_rows
Retrieve the next batch of rows from an open database query cursor and report whether the result set is exhausted or the cursor has closed.
Instructions
Fetch the next N rows from an open cursor (see open_query_cursor).
Returns {rows, row_count, exhausted, cursor_closed}; the cursor closes itself once fully drained.
Rows arrive on the text channel only, inside the untrusted-data banner: this tool emits no structuredContent.
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": {
"cursor_id": "<cursor_id>"
},
"name": "fetch_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| cursor_id | Yes |