Search tasks, documents, and taxonomy
workspace_searchSearch and list open or archived notes, tasks, and documents without reading full bodies; filter by tags, lists, dates, folders, or scope and run line searches inside a document.
Instructions
Search or list open and archived items without reading full bodies. Any task filter excludes docs. mode is inferred if omitted (empty {} returns full taxonomy).
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": "workspace_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | No | Document ID for mode="in_doc" line search with `query` | |
| tag | No | Filter tasks by tag (# optional) | |
| list | No | Filter tasks by exact list name | |
| mode | No | Query mode; inferred from params if omitted | |
| after | No | Pagination offset when `total` exceeds returned count | |
| limit | No | Max results (default 10/max 100; project 50/100; folder 50/200) | |
| lines | No | Include matching excerpt line (default true; false returns titles only) | |
| query | No | Search terms (accents ignored; quote phrases); optional when filtering | |
| scope | No | Search scope (default "either") | |
| around | No | Context lines each side of an in_doc match (0-10, default 1) | |
| folder | No | Filter/list docs by folder name, path, or ID | |
| source | No | Exact source URL/ID deduplication check (not with `query`) | |
| date_to | No | Tasks with date/deadline <= YYYY-MM-DD | |
| part_of | No | Parent task ID; alone gives grouped project stage summary | |
| by_agent | No | Filter tasks: true = agent-created, false = person-created | |
| date_from | No | Tasks with date/deadline >= YYYY-MM-DD | |
| said_done | No | Filter tasks pending human confirmation (true/false) | |
| from_source | No | Filter tasks whose `source` starts with this prefix |