agents

Create Agent Tool

post/agents/{agent_id}/tools

Path parameters

agent_idstring uuid required

Request body

namestring required
type'function' | 'integration' | 'system' | 'api_call' | 'computer_20241022' | 'text_editor_20241022' | 'bash_20241022' required
descriptionstring nullable

Response

Successful Response

namestring required
type'function' | 'integration' | 'system' | 'api_call' | 'computer_20241022' | 'text_editor_20241022' | 'bash_20241022' required
descriptionstring nullable
created_atstring date-time required
updated_atstring date-time required
idstring uuid required

Changes

Changed in 11 of the 44 revisions of this API.11234

    • removed ApiCallDef from the api_call request property anyOf list

      request-property-any-of-removed

    • added ApiCallDef-Input to the api_call request property anyOf list

      request-property-any-of-added

    • added ApiCallDef-Output to the api_call response property anyOf list for the response status 201

      response-property-any-of-added

    • removed ApiCallDef from the api_call response property anyOf list for the response status 201

      response-property-any-of-removed

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

    • added the new optional request property api_call/anyOf[subschema #1: ApiCallDef]/secrets

      new-optional-request-property

    • added the optional property api_call/anyOf[subschema #1: ApiCallDef]/secrets to the response with the 201 status

      response-optional-property-added

    • added the new optional request property api_call/anyOf[subschema #1: ApiCallDef]/include_response_content

      new-optional-request-property

    • added MailgunIntegrationDef to the integration request property anyOf list

      request-property-any-of-added

    • added the optional property api_call/anyOf[subschema #1: ApiCallDef]/include_response_content to the response with the 201 status

      response-optional-property-added

    • added MailgunIntegrationDef to the integration response property anyOf list for the response status 201

      response-property-any-of-added

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

    • request property integration/anyOf[subschema #21: AlgoliaIntegrationDef]/arguments/anyOf[subschema #1: AlgoliaSearchArguments]/attributes_to_retrieve list-of-types was narrowed by removing types object from media type application/json

      request-property-list-of-types-narrowed

    • the integration/anyOf[subschema #21: AlgoliaIntegrationDef]/arguments/anyOf[subschema #1: AlgoliaSearchArguments]/attributes_to_retrieve/anyOf[subschema #1]/ request property type/format changed from object/ to array/

      request-property-type-changed

    • response property integration/anyOf[subschema #21: AlgoliaIntegrationDef]/arguments/anyOf[subschema #1: AlgoliaSearchArguments]/attributes_to_retrieve list-of-types was widened by adding types array to media type application/json of response 201

      response-property-list-of-types-widened

    • the integration/anyOf[subschema #21: AlgoliaIntegrationDef]/arguments/anyOf[subschema #1: AlgoliaSearchArguments]/attributes_to_retrieve/anyOf[subschema #1]/ response's property type/format changed from object/ to array/ for status 201

      response-property-type-changed

    • added AlgoliaIntegrationDef to the integration request property anyOf list

      request-property-any-of-added

    • added AlgoliaIntegrationDef to the integration response property anyOf list for the response status 201

      response-property-any-of-added

  • 88911baf2b4b213See the full diff
    • added the new required request property integration/anyOf[subschema #2: BraveIntegrationDef]/setup/anyOf[subschema #1: BraveSearchSetup]/brave_api_key

      new-required-request-property

    • removed the required property integration/anyOf[subschema #2: BraveIntegrationDef]/setup/anyOf[subschema #1: BraveSearchSetup]/api_key from the response with the 201 status

      response-required-property-removed

    • removed the request property integration/anyOf[subschema #2: BraveIntegrationDef]/setup/anyOf[subschema #1: BraveSearchSetup]/api_key

      request-property-removed

    • added UnstructuredIntegrationDef to the integration request property anyOf list

      request-property-any-of-added

    • added UnstructuredIntegrationDef to the integration response property anyOf list for the response status 201

      response-property-any-of-added

    • added the required property integration/anyOf[subschema #2: BraveIntegrationDef]/setup/anyOf[subschema #1: BraveSearchSetup]/brave_api_key to the response with the 201 status

      response-required-property-added

    • removed ApiCallDef-Input from the api_call request property anyOf list

      request-property-any-of-removed

    • removed SpiderIntegrationDef-Input from the integration request property anyOf list

      request-property-any-of-removed

    • added ApiCallDef to the api_call request property anyOf list

      request-property-any-of-added

    • added SpiderIntegrationDef to the integration request property anyOf list

      request-property-any-of-added

    • added ApiCallDef to the api_call response property anyOf list for the response status 201

      response-property-any-of-added

    • added SpiderIntegrationDef to the integration response property anyOf list for the response status 201

      response-property-any-of-added

    • removed ApiCallDef-Output from the api_call response property anyOf list for the response status 201

      response-property-any-of-removed

    • removed SpiderIntegrationDef-Output from the integration response property anyOf list for the response status 201

      response-property-any-of-removed

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

  • d71538f9a51a11See the full diff
    • response property integration/anyOf[subschema #16: FfmpegIntegrationDef]/arguments/anyOf[subschema #1: FfmpegSearchArguments]/file list-of-types was widened by adding types array to media type application/json of response 201

      response-property-list-of-types-widened

    • request property integration/anyOf[subschema #16: FfmpegIntegrationDef]/arguments/anyOf[subschema #1: FfmpegSearchArguments]/file list-of-types was widened by adding types array to media type application/json

      request-property-list-of-types-widened

  • f87931a479bd112See the full diff
    • removed the optional property jobs from the response with the 201 status

      response-optional-property-removed

    • added the optional property api_call to the response with the 201 status

      response-optional-property-added

    • added the optional property bash_20241022 to the response with the 201 status

      response-optional-property-added

    • added the optional property computer_20241022 to the response with the 201 status

      response-optional-property-added

    • added the optional property description to the response with the 201 status

      response-optional-property-added

    • added the optional property function to the response with the 201 status

      response-optional-property-added

    • added the optional property integration to the response with the 201 status

      response-optional-property-added

    • added the optional property system to the response with the 201 status

      response-optional-property-added

    • added the optional property text_editor_20241022 to the response with the 201 status

      response-optional-property-added

    • added the required property name to the response with the 201 status

      response-required-property-added

    • added the required property type to the response with the 201 status

      response-required-property-added

    • added the required property updated_at to the response with the 201 status

      response-required-property-added

    • the response required property id became read-only for the status 201

      response-required-property-became-read-only

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

    • removed BrowserbaseGetSessionConnectUrlIntegrationDef from the integration request property anyOf list

      request-property-any-of-removed

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