Search Documentation
search_docsSearch the local Xojo documentation by case-insensitive literal substring to find guides, tutorials, and API pages for concepts, how-tos, error messages, or uncertain class names.
Instructions
Searches the full text of the local Xojo documentation — guides, tutorials and API pages — for a case-insensitive literal substring. Returns up to max_results excerpts in document order (not ranked), each headed by its section title, with the matching line marked '>>>'. A multi-word query must appear verbatim, so one distinctive word usually finds more. No match is a normal result, not an error. Use this for concepts, how-tos, error messages, or a class whose name you are unsure of; when you know the name, lookup_class returns its reference page directly. Reads the installed documentation (fails if none was found) and needs no IDE.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Text to find, matched case-insensitively as a literal substring (e.g. 'JSONItem', 'prepared statement') | |
| max_results | No | Most excerpts to return. Default 5. | |
| context_lines | No | Lines to include before and after each match. Default 10. |