Search docs
search_docsSearch bundled Guard documentation to answer how or why questions, returning ranked, citable pages you can read in full with get_doc.
Instructions
Search the bundled Guard documentation and return ranked, citable pages.
Use this to answer how or why questions from documentation, and to find the page to read in full with get_doc. Use config_fields instead for a setting's type and default, and adapter_setup or wire_agent for install and wiring steps.
Returns query and results. Each result has package, path, heading, snippet, url (the live documentation page to cite) and score. Pass a result's package and path straight to get_doc to read the whole page.
Read-only and offline: it searches the docs shipped inside this package. Unlike validate_config, an unrecognized package is not an error, it silently matches nothing, so an empty results list means either a real gap in the docs or a mistyped package name; retry with package omitted before concluding the former.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return, highest score first | |
| query | Yes | Words to look for in the bundled documentation. Pages are ranked by how often the words occur, so use specific terms | |
| package | No | Restrict the search to one library, for example fastapi-guard, guard-core or guard-agent. Omit to search every bundled library. An unrecognized name silently matches nothing |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||