Skip to main content

Module claude_code

Module claude_code 

Source

Structsยง

ClaudeCodeProvider
Provider that wraps the claude CLI (Claude Code) as a subprocess. Sends full prompt via stdin to claude --print, parses text-based tool calls from the response, and converts them to proper ContentBlock::ToolUse blocks so the agent loop can dispatch tools normally.