Home / Function/ parsed_output() — anthropic-sdk-python Function Reference

parsed_output() — anthropic-sdk-python Function Reference

Architecture documentation for the parsed_output() function in parsed_beta_message.py from the anthropic-sdk-python codebase.

Entity Profile

Dependency Diagram

graph TD
  94a7926a_30b2_2bc9_d623_f7fbe491fef2["parsed_output()"]
  506c2b33_a1c9_a92d_b104_38ab0624ad69["ParsedBetaMessage"]
  94a7926a_30b2_2bc9_d623_f7fbe491fef2 -->|defined in| 506c2b33_a1c9_a92d_b104_38ab0624ad69
  style 94a7926a_30b2_2bc9_d623_f7fbe491fef2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/anthropic/types/beta/parsed_beta_message.py lines 66–70

    def parsed_output(self) -> Optional[ResponseFormatT]:
        for content in self.content:
            if content.type == "text" and content.parsed_output:
                return content.parsed_output
        return None

Subdomains

Frequently Asked Questions

What does parsed_output() do?
parsed_output() is a function in the anthropic-sdk-python codebase, defined in src/anthropic/types/beta/parsed_beta_message.py.
Where is parsed_output() defined?
parsed_output() is defined in src/anthropic/types/beta/parsed_beta_message.py at line 66.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free