search_docs
Search Python documentation by symbol, example, or concept. Filter by version and limit results for focused answers.
Instructions
Search Python documentation. Use kind='symbol' for API lookups (asyncio.TaskGroup), kind='example' for code samples, kind='auto' otherwise. When version is omitted, searches across all versions. Pass the version from each hit's version field to get_docs for consistent results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query - Python symbol (asyncio.TaskGroup) or concept (parse json) | |
| version | No | Python version (e.g. '3.13'). Defaults to latest. | |
| kind | No | Search type. Use 'symbol' for API lookups, 'example' for code samples, 'auto' otherwise. | auto |
| max_results | No | Maximum number of results to return. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hits | No | Search result hits | |
| note | No | Informational note (e.g., limited search mode) |