Search notes
search_notesSearch across the workspace to find matching blocks with IDs and document paths before reading or editing. Supports operators like AND, OR, exact phrases, exclusions, and wildcards.
Instructions
Full-text search across the workspace and return matching blocks with their IDs and document paths. Use this to locate content before reading or editing it. Supports SiYuan search syntax, e.g. foo bar (AND), "exact phrase", foo OR bar, -exclude, * wildcard.
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_notes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, 1-based. Defaults to 1. | |
| query | Yes | Search keywords. | |
| pageSize | No | Results per page, 1-50. Defaults to 10. |