Update Tool

PATCH
/v1/tools/:tool_id

Update an existing tool

Path parameters

tool_idstringRequired

Request

This endpoint expects an object.
descriptionstringOptional

The description of the tool.

namestringOptional

The name of the function.

tagslist of stringsOptional

Metadata tags.

modulestringOptional

The source code of the function.

source_codestringOptional

The source code of the function.

source_typestringOptional

The type of the source code.

json_schemamap from strings to anyOptional

The JSON schema of the function (auto-generated from source_code if not provided)

Response

Successful Response

source_codestring

The source code of the function.

idstringOptionalformat: "^tool-[a-fA-F0-9]{8}"

The human-friendly ID of the Tool

descriptionstringOptional

The description of the tool.

source_typestringOptional

The type of the source code.

modulestringOptional

The module of the function.

organization_idstringOptional

The unique identifier of the organization associated with the tool.

namestringOptional

The name of the function.

tagslist of stringsOptional

Metadata tags.

json_schemamap from strings to anyOptional

The JSON schema of the function.

return_char_limitintegerOptionalDefaults to 6000

The maximum number of characters in the response.

created_by_idstringOptional

The id of the user that made this Tool.

last_updated_by_idstringOptional

The id of the user that made this Tool.

Errors