Query Workspace
query_workspaceStructured + semantic document discovery (semantic search, NOT exhaustive).
This ranks the best matches; it does not guarantee completeness. To
enumerate every document in a namespace use list_documents (cursor
pagination); for the L0 map and incremental changes use workspace_sync.
limit defaults to 10, at most 50.
include_own_unverified (default true) keeps your own DRAFTs in the results
so a writer can retrieve what it just created; include_unverified (default
false) adds other agents' unverified drafts. Each hit carries is_own,
created_by, trust and matched_chunks; excluded counts what the default
filters hid (unverified_by_others, archived, tainted).
filters support scalar equality and {eq, ne, gt, gte, lt, lte, exists,
in, nin, contains} operators plus "$or", e.g. {"status":"DRAFT",
"due_at":{"lte":"now+30d"}, "owner":{"exists":true}}. Archived documents
are excluded unless include_archived=true. include_shared=true adds
documents other nodes of your organisation shared with you (each hit then
carries tenant_alias). query adds hybrid ranking; returns summaries only.
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_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | hybrid | |
| limit | No | ||
| query | No | ||
| filters | No | ||
| namespace | No | ||
| include_shared | No | ||
| include_tainted | No | ||
| include_archived | No | ||
| include_unverified | No | ||
| include_own_unverified | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||