Read data
read_dataQuery data from a table with optional filtering and result limits. Both data tables and their change history tables (with the _history suffix) can be read. Password and md5 columns are never returned.
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": {
"table": "<table>"
},
"name": "read_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Optional: limit the number of returned rows (e.g., '10' returns at most 10 records, in no particular order). Without it, all matching rows are returned. | |
| table | Yes | Table name, e.g. ng_invoice. Append _history to read the change history of a table, e.g. ng_invoice_history. The sfiles system table (attachment metadata) can also be read; the file content is returned by the read_attachment tool. | |
| conditions | No | Optional WHERE condition (without the WHERE keyword). String values use plain single quotes ('Active'); write dates between # # (e.g. #2026-01-01#). Subqueries are not allowed. Example: ng_amount > 1000 AND ng_status = 'Active' AND ng_datum >= #2026-01-01#. |