Anthropic Messages?beta=true API

The Messages?beta=true API from Anthropic — 1 operation(s) for messages?beta=true.

Operations 1

POST /v1/messages?beta=true Create a Message #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/anthropic-messages-beta-true-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

anthropic-messages-beta-true-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Anthropic Messages?beta=true API
servers:
- url: https://api.anthropic.com
tags:
- name: Messages?beta=true
paths:
  /v1/messages?beta=true:
    post:
      summary: Create a Message
      description: 'Send a structured list of input messages with text and/or image content, and the model will generate the next message in the conversation.


        The Messages API can be used for either single queries or stateless multi-turn conversations.


        Learn more about the Messages API in our [user guide](https://platform.claude.com/docs/en/get-started)'
      operationId: beta_messages_post
      parameters:
      - name: anthropic-beta
        in: header
        required: false
        schema:
          type: string
          items:
            type: string
          description: 'Optional header to specify the beta version(s) you want to use.


            To use multiple betas, use a comma separated list like `beta1,beta2` or specify the header multiple times for each beta.'
          title: Anthropic-Beta
          x-stainless-override-schema:
            x-stainless-param: betas
            x-stainless-extend-default: true
            type: array
            description: Optional header to specify the beta version(s) you want to use.
            items:
              $ref: '#/components/schemas/AnthropicBeta'
        description: 'Optional header to specify the beta version(s) you want to use.


          To use multiple betas, use a comma separated list like `beta1,beta2` or specify the header multiple times for each beta.'
      - name: anthropic-version
        in: header
        required: false
        schema:
          type: string
          description: 'The version of the Claude API you want to use.


            Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).'
          title: Anthropic-Version
        description: 'The version of the Claude API you want to use.


          Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).'
      - name: anthropic-user-profile-id
        in: header
        required: false
        schema:
          type: string
          description: The user profile ID to attribute this request to. Use when acting on behalf of a party other than your organization. Requires the `user-profiles` beta header.
          title: Anthropic-User-Profile-Id
          x-stainless-param: user_profile_id
        description: The user profile ID to attribute this request to. Use when acting on behalf of a party other than your organization. Requires the `user-profiles` beta header.
      responses:
        '200':
          description: Message object.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BetaMessage'
        4XX:
          description: 'Error response.


            See our [errors documentation](https://platform.claude.com/docs/en/api/errors) for more details.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BetaErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BetaCreateMessageParams'
        required: true
      tags:
      - Messages?beta=true
components:
  schemas:
    BetaBrowserGetPageTextConfig:
      additionalProperties: false
      description: '``get_page_text``''s config overrides.'
      properties:
        defer_loading:
          anyOf:
          - type: boolean
          - type: 'null'
          description: Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
          title: Defer Loading
        enabled:
          anyOf:
          - type: boolean
          - type: 'null'
          description: Whether this member is offered to the model. Default is per member, per the toolset's documentation. A member whose enabled resolves false is withheld from the served schema.
          title: Enabled
      title: BrowserGetPageTextConfig
      type: object
    BetaIterationsUsage:
      anyOf:
      - items:
          discriminator:
            mapping:
              advisor_message: '#/components/schemas/BetaAdvisorMessageIterationUsage'
              compaction: '#/components/schemas/BetaCompactionIterationUsage'
              fallback_message: '#/components/schemas/BetaFallbackMessageIterationUsage'
              message: '#/components/schemas/BetaMessageIterationUsage'
            propertyName: type
          oneOf:
          - $ref: '#/components/schemas/BetaMessageIterationUsage'
          - $ref: '#/components/schemas/BetaCompactionIterationUsage'
          - $ref: '#/components/schemas/BetaAdvisorMessageIterationUsage'
            x-anthropic-beta-required:
            - advisor-tool-2026-03-01
          - $ref: '#/components/schemas/BetaFallbackMessageIterationUsage'
            x-anthropic-beta-required:
            - server-side-fallback-2026-06-01
            - server-side-fallback-2026-07-01
          x-stainless-naming:
            java:
              type_name: BetaIterationsUsageItems
            csharp:
              type_name: BetaIterationsUsageItems
        type: array
      - type: 'null'
      default: null
      description: 'Per-iteration token usage breakdown.


        Each entry represents one sampling iteration, with its own input/output token counts and cache statistics, discriminated by `type`. For `message` entries (model sampling iterations, such as the turns of a server-side tool use loop), this allows you to:

        - Determine which iterations exceeded long context thresholds (>=200k tokens)

        - Calculate the context window size from the last `message` entry

        - Understand token accumulation across server-side tool use loops


        A `compaction` entry reports the token usage of the compaction operation itself — the server-side request that summarizes the context being closed — NOT the size of the context that was compacted away, and its token counts can be much smaller than that closed context (for example, a compaction that closes a ~200k-token context can report only a few thousand tokens). Do not derive the context window size from a `compaction` entry, even when it is the last entry. A `compaction` entry''s tokens are not included in the top-level `usage` fields. When an input-token trigger is in effect (the default — 150,000 tokens unless configured otherwise), each `compaction` entry closes a context that had reached at least that threshold, though the context can exceed it by the final iteration''s output and tool results.'
      title: Iterations
      x-anthropic-beta-required:
      - compact-2026-01-12
      - advisor-tool-2026-03-01
      - task-budgets-2026-03-13
      - server-side-fallback-2026-06-01
      - server-side-fallback-2026-07-01
    BetaResponseCitationsConfig:
      properties:
        enabled:
          default: false
          title: Enabled
          type: boolean
      required:
      - enabled
      title: ResponseCitationsConfig
      type: object
    BetaComputerCursorPositionConfig:
      additionalProperties: false
      description: '``cursor_position``''s config overrides.'
      properties:
        defer_loading:
          anyOf:
          - type: boolean
          - type: 'null'
          description: Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
          title: Defer Loading
        enabled:
          anyOf:
          - type: boolean
          - type: 'null'
          description: Whether this member is offered to the model. Default is per member, per the toolset's documentation. A member whose enabled resolves false is withheld from the served schema.
          title: Enabled
      title: ComputerCursorPositionConfig
      type: object
    BetaTokenTaskBudget:
      additionalProperties: false
      description: User-configurable total token budget across contexts.
      properties:
        remaining:
          anyOf:
          - minimum: 0
            type: integer
          - type: 'null'
          description: Remaining tokens in the budget. Use this to track usage across contexts when implementing compaction client-side. Defaults to total if not provided.
          minimum: 0
          title: Remaining
        total:
          description: Total token budget across all contexts in the session.
          minimum: 1024
          title: Total
          type: integer
        type:
          const: tokens
          description: The budget type. Currently only 'tokens' is supported.
          title: Type
          type: string
      required:
      - total
      - type
      title: TokenTaskBudget
      type: object
    BetaRequestTextEditorCodeExecutionViewResultBlock:
      additionalProperties: false
      properties:
        content:
          title: Content
          type: string
        file_type:
          enum:
          - text
          - image
          - pdf
          title: File Type
          type: string
        num_lines:
          anyOf:
          - type: integer
          - type: 'null'
          title: Num Lines
        start_line:
          anyOf:
          - type: integer
          - type: 'null'
          title: Start Line
        total_lines:
          anyOf:
          - type: integer
          - type: 'null'
          title: Total Lines
        type:
          const: text_editor_code_execution_view_result
          title: Type
          type: string
      required:
      - content
      - file_type
      - type
      title: RequestTextEditorCodeExecutionViewResultBlock
      type: object
    BetaResponseCodeExecutionToolResultBlock:
      properties:
        content:
          anyOf:
          - $ref: '#/components/schemas/BetaResponseCodeExecutionToolResultError'
          - $ref: '#/components/schemas/BetaResponseCodeExecutionResultBlock'
          - $ref: '#/components/schemas/BetaResponseEncryptedCodeExecutionResultBlock'
          title: Content
        tool_use_id:
          pattern: ^srvtoolu_[a-zA-Z0-9_]+$
          title: Tool Use Id
          type: string
        type:
          const: code_execution_tool_result
          default: code_execution_tool_result
          title: Type
          type: string
      required:
      - content
      - tool_use_id
      - type
      title: ResponseCodeExecutionToolResultBlock
      type: object
    BetaResponseCodeExecutionToolResultError:
      properties:
        error_code:
          $ref: '#/components/schemas/BetaCodeExecutionToolResultErrorCode'
        type:
          const: code_execution_tool_result_error
          default: code_execution_tool_result_error
          title: Type
          type: string
      required:
      - error_code
      - type
      title: ResponseCodeExecutionToolResultError
      type: object
    BetaCodeExecutionTool_20250825:
      additionalProperties: false
      properties:
        allowed_callers:
          items:
            $ref: '#/components/schemas/BetaAllowedCaller'
          title: Allowed Callers
          type: array
        cache_control:
          anyOf:
          - discriminator:
              mapping:
                ephemeral: '#/components/schemas/BetaCacheControlEphemeral'
              propertyName: type
            oneOf:
            - $ref: '#/components/schemas/BetaCacheControlEphemeral'
          - type: 'null'
          description: Create a cache control breakpoint at this content block.
          title: Cache Control
        defer_loading:
          description: If true, tool will not be included in initial system prompt. Only loaded when returned via tool_reference from tool search.
          title: Defer Loading
          type: boolean
        name:
          const: code_execution
          description: 'Name of the tool.


            This is how the tool will be called by the model and in `tool_use` blocks.'
          title: Name
          type: string
        strict:
          description: When true, guarantees schema validation on tool names and inputs
          title: Strict
          type: boolean
        type:
          const: code_execution_20250825
          title: Type
          type: string
      required:
      - name
      - type
      title: CodeExecutionTool_20250825
      type: object
    BetaRequestToolUseBlock:
      additionalProperties: false
      properties:
        cache_control:
          anyOf:
          - discriminator:
              mapping:
                ephemeral: '#/components/schemas/BetaCacheControlEphemeral'
              propertyName: type
            oneOf:
            - $ref: '#/components/schemas/BetaCacheControlEphemeral'
          - type: 'null'
          description: Create a cache control breakpoint at this content block.
          title: Cache Control
        caller:
          discriminator:
            mapping:
              code_execution_20250825: '#/components/schemas/BetaServerToolCaller'
              code_execution_20260120: '#/components/schemas/BetaServerToolCaller_20260120'
              direct: '#/components/schemas/BetaDirectCaller'
            propertyName: type
          oneOf:
          - $ref: '#/components/schemas/BetaDirectCaller'
          - $ref: '#/components/schemas/BetaServerToolCaller'
          - $ref: '#/components/schemas/BetaServerToolCaller_20260120'
          title: Caller
        id:
          pattern: ^[a-zA-Z0-9_-]+$
          title: Id
          type: string
        input:
          additionalProperties: true
          title: Input
          type: object
        name:
          maxLength: 200
          minLength: 1
          title: Name
          type: string
        toolset_name:
          anyOf:
          - maxLength: 64
            minLength: 1
            pattern: ^[a-zA-Z0-9_-]+$
            type: string
          - type: 'null'
          description: For a toolset member tool_use, the toolset family this member belongs to.
          title: Toolset Name
        type:
          const: tool_use
          title: Type
          type: string
      required:
      - id
      - input
      - name
      - type
      title: RequestToolUseBlock
      type: object
    BetaInputSchema:
      additionalProperties: true
      properties:
        properties:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Properties
        required:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Required
        type:
          const: object
          title: Type
          type: string
      required:
      - type
      title: InputSchema
      type: object
    BetaSkillParams:
      additionalProperties: false
      description: Specification for a skill to be loaded in a container (request model).
      properties:
        skill_id:
          description: Skill ID
          examples:
          - pdf
          maxLength: 64
          minLength: 1
          title: Skill Id
          type: string
        type:
          description: Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined)
          enum:
          - anthropic
          - custom
          examples:
          - anthropic
          title: Type
          type: string
        version:
          description: Skill version or 'latest' for most recent version
          examples:
          - latest
          maxLength: 64
          minLength: 1
          title: Version
          type: string
      required:
      - skill_id
      - type
      title: SkillParams
      type: object
    BetaResponseBashCodeExecutionToolResultBlock:
      properties:
        content:
          anyOf:
          - $ref: '#/components/schemas/BetaResponseBashCodeExecutionToolResultError'
          - $ref: '#/components/schemas/BetaResponseBashCodeExecutionResultBlock'
          title: Content
        tool_use_id:
          pattern: ^srvtoolu_[a-zA-Z0-9_]+$
          title: Tool Use Id
          type: string
        type:
          const: bash_code_execution_tool_result
          default: bash_code_execution_tool_result
          title: Type
          type: string
      required:
      - content
      - tool_use_id
      - type
      title: ResponseBashCodeExecutionToolResultBlock
      type: object
    BetaComputerWaitConfig:
      additionalProperties: false
      description: '``wait``''s config overrides.'
      properties:
        defer_loading:
          anyOf:
          - type: boolean
          - type: 'null'
          description: Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
          title: Defer Loading
        enabled:
          anyOf:
          - type: boolean
          - type: 'null'
          description: Whether this member is offered to the model. Default is per member, per the toolset's documentation. A member whose enabled resolves false is withheld from the served schema.
          title: Enabled
      title: ComputerWaitConfig
      type: object
    BetaTextEditorCodeExecutionToolResultErrorCode:
      enum:
      - invalid_tool_input
      - unavailable
      - too_many_requests
      - execution_time_exceeded
      - file_not_found
      title: TextEditorCodeExecutionToolResultErrorCode
      type: string
    BetaWebFetchToolResultErrorCode:
      enum:
      - invalid_tool_input
      - url_too_long
      - url_not_allowed
      - url_not_in_prior_context
      - url_not_accessible
      - unsupported_content_type
      - too_many_requests
      - max_uses_exceeded
      - unavailable
      title: WebFetchToolResultErrorCode
      type: string
    BetaBashTool_20241022:
      additionalProperties: false
      properties:
        allowed_callers:
          items:
            $ref: '#/components/schemas/BetaAllowedCaller'
          title: Allowed Callers
          type: array
        cache_control:
          anyOf:
          - discriminator:
              mapping:
                ephemeral: '#/components/schemas/BetaCacheControlEphemeral'
              propertyName: type
            oneOf:
            - $ref: '#/components/schemas/BetaCacheControlEphemeral'
          - type: 'null'
          description: Create a cache control breakpoint at this content block.
          title: Cache Control
        defer_loading:
          description: If true, tool will not be included in initial system prompt. Only loaded when returned via tool_reference from tool search.
          title: Defer Loading
          type: boolean
        input_examples:
          items:
            additionalProperties:
              $ref: '#/components/schemas/BetaJsonValue'
            type: object
          title: Input Examples
          type: array
        name:
          const: bash
          description: 'Name of the tool.


            This is how the tool will be called by the model and in `tool_use` blocks.'
          title: Name
          type: string
        strict:
          description: When true, guarantees schema validation on tool names and inputs
          title: Strict
          type: boolean
        type:
          const: bash_20241022
          title: Type
          type: string
      required:
      - name
      - type
      title: BashTool_20241022
      type: object
    BetaCodeExecutionTool_20260521:
      additionalProperties: false
      description: Code execution tool with REPL state persistence.
      properties:
        allowed_callers:
          items:
            $ref: '#/components/schemas/BetaAllowedCaller'
          title: Allowed Callers
          type: array
        cache_control:
          anyOf:
          - discriminator:
              mapping:
                ephemeral: '#/components/schemas/BetaCacheControlEphemeral'
              propertyName: type
            oneOf:
            - $ref: '#/components/schemas/BetaCacheControlEphemeral'
          - type: 'null'
          description: Create a cache control breakpoint at this content block.
          title: Cache Control
        defer_loading:
          description: If true, tool will not be included in initial system prompt. Only loaded when returned via tool_reference from tool search.
          title: Defer Loading
          type: boolean
        name:
          const: code_execution
          description: 'Name of the tool.


            This is how the tool will be called by the model and in `tool_use` blocks.'
          title: Name
          type: string
        strict:
          description: When true, guarantees schema validation on tool names and inputs
          title: Strict
          type: boolean
        type:
          const: code_execution_20260521
          title: Type
          type: string
      required:
      - name
      - type
      title: CodeExecutionTool_20260521
      type: object
    BetaRequestDocumentBlock:
      additionalProperties: false
      properties:
        cache_control:
          anyOf:
          - discriminator:
              mapping:
                ephemeral: '#/components/schemas/BetaCacheControlEphemeral'
              propertyName: type
            oneOf:
            - $ref: '#/components/schemas/BetaCacheControlEphemeral'
          - type: 'null'
          description: Create a cache control breakpoint at this content block.
          title: Cache Control
        citations:
          anyOf:
          - $ref: '#/components/schemas/BetaRequestCitationsConfig'
          - type: 'null'
        context:
          anyOf:
          - minLength: 1
            type: string
          - type: 'null'
          title: Context
        source:
          discriminator:
            mapping:
              base64: '#/components/schemas/BetaBase64PDFSource'
              content: '#/components/schemas/BetaContentBlockSource'
              file: '#/components/schemas/BetaFileDocumentSource'
              text: '#/components/schemas/BetaPlainTextSource'
              url: '#/components/schemas/BetaURLPDFSource'
            propertyName: type
          oneOf:
          - $ref: '#/components/schemas/BetaBase64PDFSource'
          - $ref: '#/components/schemas/BetaPlainTextSource'
          - $ref: '#/components/schemas/BetaContentBlockSource'
          - $ref: '#/components/schemas/BetaURLPDFSource'
          - $ref: '#/components/schemas/BetaFileDocumentSource'
          title: Source
        title:
          anyOf:
          - maxLength: 500
            minLength: 1
            type: string
          - type: 'null'
          title: Title
        type:
          const: document
          title: Type
          type: string
      required:
      - source
      - type
      title: RequestDocumentBlock
      type: object
    BetaRefusalCategory:
      description: The policy category that triggered a refusal.
      enum:
      - cyber
      - bio
      - frontier_llm
      - reasoning_extraction
      - general_harms
      title: RefusalCategory
      type: string
      x-enum-descriptions:
      - The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category.
      - The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category.
      - The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category.
      - The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking).
      - The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category.
    BetaUserLocation:
      additionalProperties: false
      properties:
        city:
          anyOf:
          - maxLength: 255
            minLength: 1
            type: string
          - type: 'null'
          description: The city of the user.
          examples:
          - New York
          - Tokyo
          - Los Angeles
          title: City
        country:
          anyOf:
          - maxLength: 2
            minLength: 2
            type: string
          - type: 'null'
          description: The two letter [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the user.
          examples:
          - US
          - JP
          - GB
          title: Country
        region:
          anyOf:
          - maxLength: 255
            minLength: 1
            type: string
          - type: 'null'
          description: The region of the user.
          examples:
          - California
          - Ontario
          - Wales
          title: Region
        timezone:
          anyOf:
          - maxLength: 255
            minLength: 1
            type: string
          - type: 'null'
          description: The [IANA timezone](https://nodatime.org/TimeZones) of the user.
          examples:
          - America/New_York
          - Asia/Tokyo
          - Europe/London
          title: Timezone
        type:
          const: approximate
          title: Type
          type: string
      required:
      - type
      title: UserLocation
      type: object
    BetaTextEditor_20250429:
      additionalProperties: false
      properties:
        allowed_callers:
          items:
            $ref: '#/components/schemas/BetaAllowedCaller'
          title: Allowed Callers
          type: array
        cache_control:
          anyOf:
          - discriminator:
              mapping:
                ephemeral: '#/components/schemas/BetaCacheControlEphemeral'
              propertyName: type
            oneOf:
            - $ref: '#/components/schemas/BetaCacheControlEphemeral'
          - type: 'null'
          description: Create a cache control breakpoint at this content block.
          title: Cache Control
        defer_loading:
          description: If true, tool will not be included in initial system prompt. Only loaded when returned via tool_reference from tool search.
          title: Defer Loading
          type: boolean
        input_examples:
          items:
            additionalProperties:
              $ref: '#/components/schemas/BetaJsonValue'
            type: object
          title: Input Examples
          type: array
        name:
          const: str_replace_based_edit_tool
          description: 'Name of the tool.


            This is how the tool will be called by the model and in `tool_use` blocks.'
          title: Name
          type: string
        strict:
          description: When true, guarantees schema validation on tool names and inputs
          title: Strict
          type: boolean
        type:
          const: text_editor_20250429
          title: Type
          type: string
      required:
      - name
      - type
      title: TextEditor_20250429
      type: object
    BetaResponseFallbackHopInfo:
      description: Identifies one hop of a fallback transition.
      properties:
        model:
          $ref: '#/components/schemas/Model'
      required:
      - model
      title: ResponseFallbackHopInfo
      type: object
    BetaCacheMissSystemChanged:
      properties:
        cache_missed_input_tokens:
          description: Approximate number of input tokens that would have been read from cache had the prefix matched the previous request.
          title: Cache Missed Input Tokens
          type: integer
        type:
          const: system_changed
          default: system_changed
          title: Type
          type: string
      required:
      - cache_missed_input_tokens
      - type
      title: CacheMissSystemChanged
      type: object
    BetaDirectCaller:
      additionalProperties: false
      description: Tool invocation directly from the model.
      properties:
        type:
          const: direct
          title: Type
          type: string
      required:
      - type
      title: DirectCaller
      type: object
    BetaComputerUseTool_20251124:
      additionalProperties: false
      properties:
        allowed_callers:
          items:
            $ref: '#/components/schemas/BetaAllowedCaller'
          title: Allowed Callers
          type: array
        cache_control:
          anyOf:
          - discriminator:
              mapping:
                ephemeral: '#/components/schemas/BetaCacheControlEphemeral'
              propertyName: type
            oneOf:
            - $ref: '#/components/schemas/BetaCacheControlEphemeral'
          - type: 'null'
          description: Create a cache control breakpoint at this content block.
          title: Cache Control
        defer_loading:
          description: If true, tool will not be included in initial system prompt. Only loaded when returned via tool_reference from tool search.
          title: Defer Loading
          type: boolean
        display_height_px:
          description: The height of the display in pixels.
          minimum: 1
          title: Display Height Px
          type: integer
        display_number:
          anyOf:
          - minimum: 0
            type: integer
          - type: 'null'
          description: The X11 display number (e.g. 0, 1) for the display.
          title: Display Number
        display_width_px:
          description: The width of the display in pixels.
          minimum: 1
          title: Display Width Px
          type: integer
        enable_zoom:
          description: Whether to enable an action to take a zoomed-in screenshot of the screen.
          title: Enable Zoom
          type: boolean
        input_examples:
          items:
            additionalProperties:
              $ref: '#/components/schemas/BetaJsonValue'
            type: object
          title: Input Examples
          type: array
        name:
          const: computer
          description: 'Name of the tool.


            This is how the tool will be called by the model and in `tool_use` blocks.'
          title: Name
          type: string
        strict:
          description: When true, guarantees schema validation on tool names and inputs
          title: Strict
          type: boolean
        type:
          const: computer_20251124
          title: Type
          type: string
      required:
      - display_height_px
      - display_width_px
      - name
      - type
      title: ComputerUseTool_20251124
      type: object
    BetaBrowserReadConsoleConfig:
      additionalProperties: false
      description: '``read_console``''s config overrides.'
      properties:
        defer_loading:
          anyOf:
          - type: boolean
          - type: 'null'
          description: Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
          title: Defer Loading
        enabled:
          anyOf:
          - type: boolean
          - type: 'null'
          description: Whether this member is offered to the model. Default is per member, per the toolset's documentation. A member whose enabled resolves false is withheld from the served schema.
          title: Enabled
      title: BrowserReadConsoleConfig
      type: object
    BetaRequestCitationsConfig:
      additionalProperties: false
      properties:
        enabled:
          title: Enabled
          type: boolean
      title: RequestCitationsConfig
      type: object
    BetaBrowserWaitConfig:
      additionalProperties: false
      description: '``wait``''s config overrides.'
      properties:
        defer_loading:
          anyOf:
          - type: boolean
          - type: 'null'
          description: Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
          title: Defer Loading
        enabled:
          anyOf:
          - type: boolean
          - type: 'null'
          description: Whether this member is offered to the model. Default is per member, per the toolset's documentation. A member whose enabled resolves false is withheld from the served schema.
          title: Enabled
      title: BrowserWaitConfig
      type: object
    BetaOutputTokensDetails:
      properties:
        thinking_tokens:
          default: 0
          description: 'Number of output tokens the model generated as internal reasoning, including

            the thinking-block delimiter tokens.


            Reflects the raw reasoning the

# --- truncated at 32 KB (315 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/anthropic/refs/heads/main/openapi/anthropic-messages-beta-true-api-openapi.yml