Return the Anthropic API content block dict.
Source code in src/clawd_code_sdk/models/prompts.py
| def to_content_block(self) -> BetaTextBlockParam:
"""Return the Anthropic API content block dict."""
return BetaTextBlockParam(type="text", text=self.text)
|