Claude Agent SDK for Python API guide

code.claude.com

Search the Claude Agent SDK for Python docs, look up symbols and examples, and check Python imports against the reference.

Actions and inputs

pages python

Fetch the Python SDK reference as Markdown.

search

Find documentation pages and sections that match a query.

Inputs query, page type

symbol

Look up a documented symbol with its examples and citations.

Inputs symbol name

verify

Check Python imports and qualified names against documented SDK symbols.

Inputs source path

Saved Python SDK documentation search in Smith

Create

Save a Python SDK documentation search in Smith.

Inputs search name, query

Read

Open the saved search and view matching SDK sections.

Inputs saved search ID

Update

Rename the saved search or change its query.

Inputs saved search ID, name or query

Delete

Remove the saved SDK search from Smith.

Inputs saved search ID