search
Search thoughts by text content, tags, or both using case-insensitive substring matching and tag filtering. Optionally limit results to a specific branch.
Instructions
Search the current session's thoughts by text content, tags, or both. Text search is case-insensitive substring matching. Tag search requires all specified tags to be present. Optionally limit to a specific branch. Read-only. Returns matching thoughts with their numbers, content, and tags.
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": "search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Filter by tags (must have all specified) | |
| query | No | Text to search for (case-insensitive) | |
| branchId | No | Limit search to specific branch |