Query base
query_baseRun a Bases query in Obsidian to evaluate filters and formulas at runtime, returning view rows as JSON, CSV, TSV, Markdown, or paths.
Instructions
Run a Bases query through Obsidian, which evaluates filters and formulas at runtime. Returns the rows of a view in the chosen format.
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": "query_base"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Base file name, resolved like a wikilink. | |
| path | No | Exact path to the .base file from the vault root. | |
| view | No | View name inside the base. Defaults to the first view. | |
| format | No | Output format. Default json. |