search
Find AFFiNE docs whose title or text contains your words, returning matching hits with short snippets so you can locate the right document quickly.
Instructions
Find docs whose title or text contains the words, with short snippets
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": {
"query": "<query>"
},
"name": "search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Most hits to return, default 10 | |
| query | Yes | ||
| workspace | No | Workspace id or name, leave out for the default workspace |