search_nodes
Search discourse nodes by keywords in their titles, ranked by BM25 relevance. Returns matching pages with UIDs, titles, scores, creation times, and authors.
Instructions
Search for discourse nodes by keywords in their titles, ranked by BM25 relevance (titles matching only some query words are included, ranked lower). Returns matching pages with their UIDs, titles, relevance scores, creation times, and authors.
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_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph | No | Graph name or nickname. | |
| limit | No | Max results to return. Default 50. | |
| query | Yes | Search keywords. Results are ranked by BM25 relevance — titles matching more (and rarer) query words rank higher. Not every word must appear. | |
| node_type_format | No | Optional regex pattern to filter by node type format (e.g., '\\[\\[CLM\\]\\]' for claims). |