agents

Update Agent Tool

Changed on
put/agents/{agent_id}/tools/{tool_id}

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/agents/{agent_id}/tools/{tool_id}
  • Auth
    API key in header Authorization

Path parameters

agent_idstring uuid required
tool_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

    • breaking

      removed from the request property anyOf list

    • info

      added to the request property anyOf list

    • info

      added to the response property anyOf list for the response status

    • info

      removed from the response property anyOf list for the response status

    • info

      added the new optional request property //

    • info

      added the optional property // to the response with the status