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_message.py from the anthropic-sdk-python codebase.

Entity Profile

Dependency Diagram

graph TD
  c11b8526_32dd_06c1_4859_634ea166bbb1["parsed_output()"]
  d478a6f5_a18f_b529_d8ca_a2b5674b4e1a["ParsedMessage"]
  c11b8526_32dd_06c1_4859_634ea166bbb1 -->|defined in| d478a6f5_a18f_b529_d8ca_a2b5674b4e1a
  style c11b8526_32dd_06c1_4859_634ea166bbb1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/anthropic/types/parsed_message.py lines 52–56

    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/parsed_message.py.
Where is parsed_output() defined?
parsed_output() is defined in src/anthropic/types/parsed_message.py at line 52.

Analyze Your Own Codebase

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

Try Supermodel Free