Documentation

HomeBAMLCLICloudTutorialsExamples

BAML documentation

  • Overview
  • Get started
  • Book
    • 3. Common programming concepts
    • 8. Handle errors
    • 11. Interfaces
    • 12. Run work concurrently
    • 22. Patterns, matching, and destructuring
  • Language reference
    • Functions
  • Standard packages
  • Language bridges
    • TypeScript

Products

  • BAML CLI
  • Cloud

Resources

  • Tutorials
    • Structured extraction
  • Examples
    • Classify support tickets
    • Images and vision models
HomeBAMLCLICloudTutorialsExamples
Start

Sections

  • Overview
  • Get started
  • Book
    • 3. Common programming concepts
    • 8. Handle errors
    • 11. Interfaces
    • 12. Run work concurrently
    • 22. Patterns, matching, and destructuring
  • Language reference
    • Functions
  • Standard packages
  • Language bridges
    • TypeScript

Products

  • BAML CLI
  • Cloud

Resources

  • Tutorials
    • Structured extraction
  • Examples
    • Classify support tickets
    • Images and vision models
BAMLStandard packagesv0.22.3-nightly.20261018.aclaude_codeinternal

claude_code.internal

namespace in the claude_code package.

Reference version

Contents

  • claude_code.internal._log_cc_event function
  • claude_code.internal._media_block function
  • claude_code.internal._preview function
  • claude_code.internal._push_text function
  • claude_code.internal._read_result function
  • claude_code.internal._reject function
  • claude_code.internal._supported_image_mime function
  • claude_code.internal._type_schema function
  • claude_code.internal._write_prompt function
  • claude_code.internal.allowed_mcp_tools function
  • claude_code.internal.content_blocks function
  • claude_code.internal.envelope_schema function
  • claude_code.internal.invoke function
  • claude_code.internal.mcp_config_json function
  • claude_code.internal.stdin_message function
  • claude_code.internal.tool_protocol function
  • claude_code.internal.transcript_text function

On this page

  • Contents

Build with BAML

Start with the language guide and a checked BAML function.

Continue into generated package and CLI references for the exact selected toolchain.

Get started
Developer documentation for BAML and Boundary products. Source available on GitHub. View release notes