Skip to content

This page is available as Markdown at https://developers.klaviyo.com/en/v2026-07-15/reference/get_agent_tools_beta.md. Its OpenAPI document is at https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15.pre/openapi/beta/apis/get_agent_tools_beta.json. An index of every page is at https://developers.klaviyo.com/llms.txt.

KlaviyoKlaviyoDevelopers
v2026-07-15

This endpoint is in beta. Call it with the revision header 2026-07-15.pre. Beta endpoints may change before they're generally available. See our versioning and deprecation policy for more information.

You're reading the reference for API revision 2026-07-15. The latest revision is 2026-10-15. See this page in the latest revision.

Get Agent Tools

GEThttps://a.klaviyo.com/api/agent-tools

Returns every external tool (HTTP API endpoint) Customer Agent skills can call.

Each tool has an id, display name, protocol details (method, URL template), authentication setup, and any referenced secrets. Use this before creating a new tool to avoid duplicates, or before binding a tool to a skill to confirm the tool exists. Results are sorted by id.

Revision header
revision: 2026-07-15.prerequired
Scopes
agents:read
Rate limits
Burst: 10/sSteady: 150/m

Query parameters

  • fields[agent-tool]#string[]

    For more information please visit API overview

    Show 14 allowed values
    • details
    • details.config_params
    • details.created_at
    • details.max_retries
    • details.protocol
    • details.request_template
    • details.timeout_seconds
    • details.type
    • details.updated_at
    • details.variables
    • id
    • name
    • public_description
    • public_name
  • filter#string

    For more information please visit API overview
    Allowed field(s)/operator(s):
    name: contains (string)
    tool_type: equals (allowed values: 'internal', 'custom')
    created_at: equals, greater-or-equal, less-or-equal (date-time)
    updated_at: equals, greater-or-equal, less-or-equal (date-time)

    Example: contains(name,'example')

  • page[size]#integer

    Default: 50. Min: 1. Max: 100.

  • page[cursor]#string

    Page cursor

Headers

  • revision#stringrequired

    API endpoint revision (format: YYYY-MM-DD[.suffix])

    2026-07-15.pre

Responses

200Success

Content type: application/vnd.api+json

  • data#objectrequired
    Show 5 fields
    • type#stringrequired
      Allowed values:
      • agent-tool
    • id#stringrequired

      Agent Tool identifier.

    • attributes#objectrequired
      Show 4 fields
      • name#stringrequired

        Human-facing display name for the tool.

      • public_description#stringrequired

        Public description of the tool and when Customer Agent should use it.

      • details#oneOfrequired

        Protocol-specific configuration and read details for the tool.

        One of:

        1. Option 1: AgentToolCustomReadDetails
          • protocol#stringrequired

            Message protocol for this custom tool.

            Allowed values:
            • https
          • request_template#objectrequired

            Templated outbound HTTPS request configuration.

            Show 6 fields
            • url_template#stringrequired

              Outbound URL template. Use Jinja-style variable interpolation, for example https://example.com/orders/{{order_id}}.

            • http_method#stringrequired

              HTTP method for the outbound request.

              Allowed values:
              • GET
              • POST
              • PUT
              • PATCH
              • DELETE
            • request_timeout_seconds#integer

              Outbound request timeout in seconds. Must be greater than 0 and at most 10.

              Default: 5

              Example: 5

            • query_parameters#object[]nullable

              Outbound query parameters. Values may use Jinja-style variables such as {{email}}.

              Show 2 fields
              • name#stringrequired

                Parameter name.

              • value#stringrequired

                Parameter value, optionally using Jinja-style variables.

            • headers#AgentToolKeyValueParameter[]nullable

              Outbound HTTP headers. Values may use Jinja-style variables such as {{api_key}}; for secrets, declare a variable with source: secret and reference it by name in the template.

              Same fields as the first AgentToolKeyValueParameter above.

            • body_template#objectnullable

              JSON request body template. String values may use Jinja-style variables such as {{order_id}}.

          • variables#object[]required

            Template variables available to the request template.

            Show 6 fields
            • name#stringrequired

              Template variable name.

            • type#stringrequired

              Variable value type.

              Allowed values:
              • string
              • number
              • boolean
            • required#boolean

              Whether the variable is required when the tool is called.

              Default: false

            • description#stringnullable

              Optional description of the variable for agent/tool-call context.

            • source#string

              Where the variable value is resolved from. dynamic values are supplied at tool-call time. klaviyo values reference a Klaviyo-provided value with value set to that reference id. secret values reference an agent-secret with value set to the secret id.

              Allowed values:
              • dynamic
              • klaviyo
              • secret

              Default: dynamic

              Example: dynamic

            • value#stringnullable

              Reference value for non-dynamic variables. For source: secret, this is the agent-secret id. For source: klaviyo, this is the Klaviyo reference id. For source: dynamic, omit this field or set it to null.

          • timeout_seconds#integerrequired

            Overall tool execution timeout in seconds.

          • max_retries#integerrequired

            Maximum retry attempts for the tool call.

          • created_at#string<date-time>nullable

            Date and time when the tool was created, if available.

            Example: 2022-11-08T00:00:00+00:00

          • updated_at#string<date-time>nullable

            Date and time when the tool was last updated, if available.

            Example: 2022-11-08T00:00:00+00:00

          • type#string

            Read detail variant for custom HTTPS tools.

            Allowed values:
            • custom
            • internal

            Default: custom

            Example: custom

        2. Option 2: AgentToolInternalReadDetails
          • config_params#object[]

            Author-time configuration parameters supported by this tool.

            Default: []

            Show 5 fields
            • name#stringrequired

              Machine key used in instruction tokens and merged into raw input.

            • label#stringrequired

              End-user facing label shown in the configuration UI.

            • description#stringnullable

              Optional help text rendered alongside the UI control.

            • input_type#string

              UI control type. Values are persisted as list[str].

              Allowed values:
              • single_select
              • multi_select

              Default: single_select

              Example: single_select

            • required#boolean

              Whether the configuration parameter is required.

              Default: true

              Example: true

          • type#string

            Read detail variant for first-party Klaviyo tools.

            Allowed values:
            • custom
            • internal

            Default: internal

            Example: internal

      • public_name#stringnullable

        Optional customer-facing name for the tool.

    • relationships#objectrequired
      Show 2 fields
      • agent-secrets#objectrequired
        Show 2 fields
        • data#object[]
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • agent-secret
          • id#stringrequired

            Agent Secret IDs referenced by this tool.

      • agent-skills#object
        Show 2 fields
        • data#object[]
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • agent-skill
          • id#stringrequired

            Agent skill IDs that can call this tool.

4XXClient Error

Content type: application/vnd.api+json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string

5XXServer Error

Content type: application/vnd.api+json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string