Config fields lookup
config_fieldsSearch Guard settings by exact name or described behavior to retrieve their type, default, required status, and meaning, or confirm whether a setting exists.
Instructions
Find a Guard config setting by name or by what it does, with type and default.
Use this to learn what a setting means, or whether a setting for some behaviour exists at all. Use validate_config instead to check a whole config you already wrote, and search_docs for prose explanations rather than field metadata.
Returns package, version, query, exact and matches. An exact field name fills exact with that field's name, type, default, required flag and description (otherwise exact is null). Every query also fills matches with each other field whose name or description contains every word of the query; if nothing matches at all, matches falls back to the closest field names by spelling.
Read-only, in-memory lookup. If the library is not installed, or package is not recognized, returns an object with an error key instead of raising.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Either an exact config field name or plain words describing the behaviour. Matching is case-insensitive and word order does not matter | |
| package | No | Which Guard library's installed model to search. One of fastapi-guard, guard-core or guard-agent. Any other value returns an error object | fastapi-guard |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||