Query Documentation
query-docsSearch one resolved library and exact version for source-linked documentation. Use response: links for publisher URLs without page bodies, or snippets for excerpts. Snippets default to 6,000 characters to keep agent context concise; set maxCharacters up to 50,000 for more. For unscoped discovery use search. Limit to 3 focused queries per question.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results to return (snippets or links); omit to use the production default. | |
| query | Yes | Specific documentation concept to retrieve. Use one topic per query and never include secrets, credentials, PII, proprietary code, or confidential data. | |
| language | No | Preferred code example language. Source URLs and exact versions stay unchanged. | |
| response | No | Choose links to search existing publisher/version metadata without loading, parsing, embedding or saving documentation page contents. Defaults to snippets. | |
| libraryId | Yes | Exact Docsy library ID such as /org/project or /org/project/version. | |
| maxCharacters | No | Maximum characters of snippets response including citations; default 6000, max 50000. This is a character cap, not an exact token count. |