Agents Platform

Get Tool

Get tool that is available in the workspace.

get/v1/convai/tools/{tool_id}

Path parameters

tool_idstring required

ID of the requested tool.

ID of the requested tool.

Query parameters

environmentstring

Environment whose values are used when the MCP server URL, headers, or auth connection reference environment variables. Mirrors the environment a conversation would run in; defaults to production.

Environment whose values are used when the MCP server URL, headers, or auth connection reference environment variables. Mirrors the environment a conversation would run in; defaults to production.

Headers

xi-api-keystring nullable

Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

Response

Successful Response

idstring required

Example response

{
  "tool_config": {
    "response_timeout_secs": 20,
    "type": "webhook"
  },
  "access_info": {
    "access_source": "creator",
    "creator_email": "john.doe@example.com",
    "creator_name": "John Doe",
    "is_creator": true,
    "role": "admin"
  }
}

Changes

Changed in 9 of the 28 revisions of this API.1741

  • aa277505183c13See the full diff
    • added StartProcedureToolConfig EndProcedureToolConfig to the tool_config/oneOf[subschema #3: SystemToolConfig]/params response property oneOf list for the response status 200

      response-property-one-of-added

    • mapped value for discriminator key end_procedure changed from EndProcedureToolConfig-Output to EndProcedureToolConfig for tool_config/oneOf[subschema #3: SystemToolConfig]/params response property for the response status 200

      response-property-discriminator-mapping-changed

    • mapped value for discriminator key start_procedure changed from StartProcedureToolConfig-Output to StartProcedureToolConfig for tool_config/oneOf[subschema #3: SystemToolConfig]/params response property for the response status 200

      response-property-discriminator-mapping-changed

    • removed StartProcedureToolConfig-Output EndProcedureToolConfig-Output from the tool_config/oneOf[subschema #3: SystemToolConfig]/params response property oneOf list for the response status 200

      response-property-one-of-removed

    This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the optional property tool_config/oneOf[subschema #3: SystemToolConfig]/params/oneOf[subschema #4: TransferToNumberToolConfig]/transfers/items/sip_refer_play_dialtone to the response with the 200 status

      response-optional-property-added

    • response property tool_config/oneOf[subschema #1: WebhookToolConfig]/api_schema/path_params_schema/additionalProperties/constant_value list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property tool_config/oneOf[subschema #1: WebhookToolConfig]/api_schema/query_params_schema/anyOf[subschema #1: QueryParamsJsonSchema]/properties/additionalProperties/constant_value list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property tool_config/oneOf[subschema #1: WebhookToolConfig]/api_schema/request_body_schema/anyOf[subschema #1: ObjectJsonSchemaProperty]/properties/additionalProperties/oneOf[subschema #1: LiteralJsonSchemaProperty]/constant_value list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property tool_config/oneOf[subschema #1: WebhookToolConfig]/api_schema/request_body_schema/anyOf[subschema #1: ObjectJsonSchemaProperty]/properties/additionalProperties/oneOf[subschema #3: ArrayJsonSchemaProperty]/items/oneOf[subschema #1: LiteralJsonSchemaProperty]/constant_value list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property tool_config/oneOf[subschema #1: WebhookToolConfig]/api_schema/response_body_schema/anyOf[subschema #1: ObjectJsonSchemaProperty]/properties/additionalProperties/oneOf[subschema #1: LiteralJsonSchemaProperty]/constant_value list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property tool_config/oneOf[subschema #1: WebhookToolConfig]/api_schema/response_body_schema/anyOf[subschema #1: ObjectJsonSchemaProperty]/properties/additionalProperties/oneOf[subschema #3: ArrayJsonSchemaProperty]/items/oneOf[subschema #1: LiteralJsonSchemaProperty]/constant_value list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property tool_config/oneOf[subschema #2: ClientToolConfig]/parameters/anyOf[subschema #1: ObjectJsonSchemaProperty]/properties/additionalProperties/oneOf[subschema #1: LiteralJsonSchemaProperty]/constant_value list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property tool_config/oneOf[subschema #2: ClientToolConfig]/parameters/anyOf[subschema #1: ObjectJsonSchemaProperty]/properties/additionalProperties/oneOf[subschema #3: ArrayJsonSchemaProperty]/items/oneOf[subschema #1: LiteralJsonSchemaProperty]/constant_value list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property tool_config/oneOf[subschema #3: SystemToolConfig]/params/oneOf[subschema #12: RunSubagentToolConfig]/agents/items/parameters/anyOf[subschema #1: ObjectJsonSchemaProperty]/properties/additionalProperties/oneOf[subschema #1: LiteralJsonSchemaProperty]/constant_value list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property tool_config/oneOf[subschema #3: SystemToolConfig]/params/oneOf[subschema #12: RunSubagentToolConfig]/agents/items/parameters/anyOf[subschema #1: ObjectJsonSchemaProperty]/properties/additionalProperties/oneOf[subschema #3: ArrayJsonSchemaProperty]/items/oneOf[subschema #1: LiteralJsonSchemaProperty]/constant_value list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property tool_config/oneOf[subschema #4: MCPToolConfig]/input_overrides/anyOf[subschema #1]/additionalProperties/oneOf[subschema #1: ConstantSchemaOverride]/constant_value list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property tool_config/oneOf[subschema #4: MCPToolConfig]/parameters/anyOf[subschema #1: ObjectJsonSchemaProperty]/properties/additionalProperties/oneOf[subschema #1: LiteralJsonSchemaProperty]/constant_value list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property tool_config/oneOf[subschema #4: MCPToolConfig]/parameters/anyOf[subschema #1: ObjectJsonSchemaProperty]/properties/additionalProperties/oneOf[subschema #3: ArrayJsonSchemaProperty]/items/oneOf[subschema #1: LiteralJsonSchemaProperty]/constant_value list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • the model response's property default value changed from gemini-2.5-flash-lite to gemini-3.1-flash-lite for the status 200

      response-property-default-value-changed

    • the model response's property default value changed from gemini-2.5-flash-lite to gemini-3.1-flash-lite for the status 200

      response-property-default-value-changed

    • the tool_config/oneOf[subschema #1: WebhookToolConfig]/response_timeout_secs response property's max was increased from 120.00 to 300.00 for the response status 200

      response-property-max-increased

    • added the optional property tool_config/oneOf[subschema #3: SystemToolConfig]/params/oneOf[subschema #2: LanguageDetectionToolConfig]/only_at_conversation_start to the response with the 200 status

      response-optional-property-added

  • 72c54eba117e11See the full diff
    • added KnowledgeBaseToolConfig to the tool_config/oneOf[subschema #3: SystemToolConfig]/params response property oneOf list for the response status 200

      response-property-one-of-added

    • added knowledge_base discriminator mapping keys to the tool_config/oneOf[subschema #3: SystemToolConfig]/params response property for the response status 200

      response-property-discriminator-mapping-added

    This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the optional property response_mocks/anyOf[subschema #1]/items/is_error to the response with the 200 status

      response-optional-property-added

  • 494d96419d15132See the full diff
    • response property tool_config/oneOf[subschema #4: MCPToolConfig]/input_overrides/anyOf[subschema #1]/additionalProperties/oneOf[subschema #1: ConstantSchemaOverride]/constant_value list-of-types was widened by adding types object to media type application/json of response 200

      response-property-list-of-types-widened

    • added the optional property tool_config/oneOf[subschema #1: WebhookToolConfig]/api_schema/request_body_schema/anyOf[subschema #1: ObjectJsonSchemaProperty]/constant_value to the response with the 200 status

      response-optional-property-added

    • added the optional property tool_config/oneOf[subschema #1: WebhookToolConfig]/api_schema/request_body_schema/anyOf[subschema #1: ObjectJsonSchemaProperty]/dynamic_variable to the response with the 200 status

      response-optional-property-added

    • added the optional property tool_config/oneOf[subschema #1: WebhookToolConfig]/api_schema/request_body_schema/anyOf[subschema #1: ObjectJsonSchemaProperty]/is_omitted to the response with the 200 status

      response-optional-property-added

    • added the optional property tool_config/oneOf[subschema #1: WebhookToolConfig]/api_schema/response_body_schema/anyOf[subschema #1: ObjectJsonSchemaProperty]/constant_value to the response with the 200 status

      response-optional-property-added

    • added the optional property tool_config/oneOf[subschema #1: WebhookToolConfig]/api_schema/response_body_schema/anyOf[subschema #1: ObjectJsonSchemaProperty]/dynamic_variable to the response with the 200 status

      response-optional-property-added

    • added the optional property tool_config/oneOf[subschema #1: WebhookToolConfig]/api_schema/response_body_schema/anyOf[subschema #1: ObjectJsonSchemaProperty]/is_omitted to the response with the 200 status

      response-optional-property-added

    • added the optional property tool_config/oneOf[subschema #2: ClientToolConfig]/parameters/anyOf[subschema #1: ObjectJsonSchemaProperty]/constant_value to the response with the 200 status

      response-optional-property-added

    • added the optional property tool_config/oneOf[subschema #2: ClientToolConfig]/parameters/anyOf[subschema #1: ObjectJsonSchemaProperty]/dynamic_variable to the response with the 200 status

      response-optional-property-added

    • added the optional property tool_config/oneOf[subschema #2: ClientToolConfig]/parameters/anyOf[subschema #1: ObjectJsonSchemaProperty]/is_omitted to the response with the 200 status

      response-optional-property-added

    • added the optional property tool_config/oneOf[subschema #3: SystemToolConfig]/params/oneOf[subschema #10: EndProcedureToolConfig]/procedures/additionalProperties/guardrails/items/evaluate_full_response_only to the response with the 200 status

      response-optional-property-added

    • added the optional property tool_config/oneOf[subschema #3: SystemToolConfig]/params/oneOf[subschema #10: EndProcedureToolConfig]/procedures/additionalProperties/referenced_dynamic_variables to the response with the 200 status

      response-optional-property-added

    • added the optional property tool_config/oneOf[subschema #3: SystemToolConfig]/params/oneOf[subschema #10: EndProcedureToolConfig]/procedures/additionalProperties/referenced_kb_ids to the response with the 200 status

      response-optional-property-added

    • added the optional property tool_config/oneOf[subschema #3: SystemToolConfig]/params/oneOf[subschema #10: EndProcedureToolConfig]/procedures/additionalProperties/referenced_procedure_ids to the response with the 200 status

      response-optional-property-added

    • added the optional property tool_config/oneOf[subschema #3: SystemToolConfig]/params/oneOf[subschema #10: EndProcedureToolConfig]/procedures/additionalProperties/referenced_tool_ids to the response with the 200 status

      response-optional-property-added

    • added the optional property tool_config/oneOf[subschema #3: SystemToolConfig]/params/oneOf[subschema #10: EndProcedureToolConfig]/procedures/additionalProperties/trigger to the response with the 200 status

      response-optional-property-added

    • added the optional property tool_config/oneOf[subschema #3: SystemToolConfig]/params/oneOf[subschema #11: RunSubagentToolConfig]/agents/items/parameters/anyOf[subschema #1: ObjectJsonSchemaProperty]/constant_value to the response with the 200 status

      response-optional-property-added

    • added the optional property tool_config/oneOf[subschema #3: SystemToolConfig]/params/oneOf[subschema #11: RunSubagentToolConfig]/agents/items/parameters/anyOf[subschema #1: ObjectJsonSchemaProperty]/dynamic_variable to the response with the 200 status

      response-optional-property-added

    • added the optional property tool_config/oneOf[subschema #3: SystemToolConfig]/params/oneOf[subschema #11: RunSubagentToolConfig]/agents/items/parameters/anyOf[subschema #1: ObjectJsonSchemaProperty]/is_omitted to the response with the 200 status

      response-optional-property-added

    • added the optional property tool_config/oneOf[subschema #3: SystemToolConfig]/params/oneOf[subschema #9: StartProcedureToolConfig]/procedures/additionalProperties/guardrails/items/evaluate_full_response_only to the response with the 200 status

      response-optional-property-added

    • added the optional property tool_config/oneOf[subschema #3: SystemToolConfig]/params/oneOf[subschema #9: StartProcedureToolConfig]/procedures/additionalProperties/referenced_dynamic_variables to the response with the 200 status

      response-optional-property-added

    • added the optional property tool_config/oneOf[subschema #3: SystemToolConfig]/params/oneOf[subschema #9: StartProcedureToolConfig]/procedures/additionalProperties/referenced_kb_ids to the response with the 200 status

      response-optional-property-added

    • added the optional property tool_config/oneOf[subschema #3: SystemToolConfig]/params/oneOf[subschema #9: StartProcedureToolConfig]/procedures/additionalProperties/referenced_procedure_ids to the response with the 200 status

      response-optional-property-added

    • added the optional property tool_config/oneOf[subschema #3: SystemToolConfig]/params/oneOf[subschema #9: StartProcedureToolConfig]/procedures/additionalProperties/referenced_tool_ids to the response with the 200 status

      response-optional-property-added

    • added the optional property tool_config/oneOf[subschema #3: SystemToolConfig]/params/oneOf[subschema #9: StartProcedureToolConfig]/procedures/additionalProperties/trigger to the response with the 200 status

      response-optional-property-added

    • added the optional property tool_config/oneOf[subschema #4: MCPToolConfig]/parameters/anyOf[subschema #1: ObjectJsonSchemaProperty]/constant_value to the response with the 200 status

      response-optional-property-added

    • added the optional property tool_config/oneOf[subschema #4: MCPToolConfig]/parameters/anyOf[subschema #1: ObjectJsonSchemaProperty]/dynamic_variable to the response with the 200 status

      response-optional-property-added

    • added the optional property tool_config/oneOf[subschema #4: MCPToolConfig]/parameters/anyOf[subschema #1: ObjectJsonSchemaProperty]/is_omitted to the response with the 200 status

      response-optional-property-added

    • removed subschema #1 subschema #2 subschema #3 subschema #4 from the tool_config/oneOf[subschema #1: WebhookToolConfig]/api_schema/request_body_schema/anyOf[subschema #1: ObjectJsonSchemaProperty]/properties/additionalProperties/oneOf[subschema #3: ArrayJsonSchemaProperty]/constant_value/anyOf[subschema #1]/items/ response property anyOf list for the response status 200

      response-property-any-of-removed

    • removed subschema #1 subschema #2 subschema #3 subschema #4 from the tool_config/oneOf[subschema #1: WebhookToolConfig]/api_schema/response_body_schema/anyOf[subschema #1: ObjectJsonSchemaProperty]/properties/additionalProperties/oneOf[subschema #3: ArrayJsonSchemaProperty]/constant_value/anyOf[subschema #1]/items/ response property anyOf list for the response status 200

      response-property-any-of-removed

    • removed subschema #1 subschema #2 subschema #3 subschema #4 from the tool_config/oneOf[subschema #2: ClientToolConfig]/parameters/anyOf[subschema #1: ObjectJsonSchemaProperty]/properties/additionalProperties/oneOf[subschema #3: ArrayJsonSchemaProperty]/constant_value/anyOf[subschema #1]/items/ response property anyOf list for the response status 200

      response-property-any-of-removed

    • removed subschema #1 subschema #2 subschema #3 subschema #4 from the tool_config/oneOf[subschema #3: SystemToolConfig]/params/oneOf[subschema #11: RunSubagentToolConfig]/agents/items/parameters/anyOf[subschema #1: ObjectJsonSchemaProperty]/properties/additionalProperties/oneOf[subschema #3: ArrayJsonSchemaProperty]/constant_value/anyOf[subschema #1]/items/ response property anyOf list for the response status 200

      response-property-any-of-removed

    • removed subschema #1 subschema #2 subschema #3 subschema #4 from the tool_config/oneOf[subschema #4: MCPToolConfig]/parameters/anyOf[subschema #1: ObjectJsonSchemaProperty]/properties/additionalProperties/oneOf[subschema #3: ArrayJsonSchemaProperty]/constant_value/anyOf[subschema #1]/items/ response property anyOf list for the response status 200

      response-property-any-of-removed

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog