read_database
Retrieve database columns, options, and rows with filtering, sorting, searching, and views; filter status columns to view tasks in normal, done, or archive states.
Instructions
Read a database with optional filtering, sorting, and searching. Returns database config (columns with types/options/colors/states) and rows. Databases with status columns can be used as task boards — filter by status to see tasks in specific states (normal/done/archive). Recurring columns show task reset schedules.
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": {
"workspace": "<workspace>",
"databasePath": "<databasePath>"
},
"name": "read_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sorting configuration | |
| limit | No | Maximum number of rows to return | |
| search | No | Search query to filter rows | |
| viewId | No | View ID to use for pre-configured filters/sorts | |
| filters | No | Column filters to apply | |
| workspace | Yes | Workspace path or name | |
| databasePath | Yes | Path to the database folder (relative to documents folder) |