SiYuan Search Tool icon

SiYuan Search Tool

Use this tool to search and query the SiYuan knowledge base. Use "fullText" to find content by keywords, "sqlQuery" for advanced database queries, "searchByTag" to find tagged blocks, or "searchByAttribute" to find blocks by attribute values.

Full-Text Search

AI-generated

Summary

Searches SiYuan blocks for the required query text using the full-text search API and returns the matching results.

Inputs

  • Search Query (required) — Text to search for across all blocks. The node sends this value as the SiYuan API query.

Output shape

A list of n8n items containing the search results.

The API result is returned as JSON; the source does not reshape or paginate it. If the API returns no result, the node emits {"success":true}. With Continue On Fail enabled, an error is emitted as {"error":"..."} for that input item.

Links

Discussion