search_documentation
Search across specific documentation sets and snippets using a query string. Specify docset identifiers, include snippets, and limit results to refine searches effectively. Truncates results exceeding 25,000 tokens.
Instructions
Search for documentation across docset identifiers and snippets.
Args:
query: The search query string
docset_identifiers: Comma-separated list of docset identifiers to search in (from list_installed_docsets)
search_snippets: Whether to include snippets in search results
max_results: Maximum number of results to return (1-1000)
Results are automatically truncated if they would exceed 25,000 tokens.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
docset_identifiers | No | ||
max_results | No | ||
query | Yes | ||
search_snippets | No |
Input Schema (JSON Schema)
{
"properties": {
"docset_identifiers": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Docset Identifiers"
},
"max_results": {
"default": 100,
"title": "Max Results",
"type": "integer"
},
"query": {
"title": "Query",
"type": "string"
},
"search_snippets": {
"default": true,
"title": "Search Snippets",
"type": "boolean"
}
},
"required": [
"query"
],
"title": "search_documentationArguments",
"type": "object"
}