search_docs
Search Claude documentation (the guides and the API reference together) by keyword or phrase. Returns matching pages and API endpoints ranked by relevance, with snippets showing context around matches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Only return results of one kind: "prose_page" (guide pages), "api_sdk_method" (one API method, such as "Create a Message"), or "api_sdk_resource" (a group of endpoints, such as Messages). | |
| limit | No | Maximum results to return (default: 10, max: 50) | |
| query | Yes | Search query (keywords or phrase) | |
| sdk_language | No | Search this SDK's API reference together with the guides. Accepts an SDK language such as "python" or "typescript", or "http" (default — the language-neutral REST reference); unrecognized values fall back to "http". Results for endpoints then link to that SDK's reference pages and match its method names. |