Sign in

Update a tool

View as Markdown
PUT/platform-config/tools/{tool_id}

Change a custom tool's definition.

Auth

Authentication required.

Parameters

NameInRequiredTypeDescription
tool_idpathYesstring—

Request body

RequiredContent-TypeShape
Yesapplication/jsonUpdateToolRequest
NameTypeRequiredDescription
namestringYes—
descriptionstring | nullNoDefault "".
tool_typeenum(http | mcp | function | handoff | client-relay)Yes—
statusenum(active | inactive)Yes—
rolestring | nullNo—
parametersToolParametersSchemaNo—
parameters.typestringNoDefault "object".
parameters.propertiesobjectNo—
parameters.requiredarray<string>No—
executionToolExecution | nullNo—
execution.methodenum(GET | POST | PUT | PATCH | DELETE)Yes, if execution is sent—
execution.endpointstringYes, if execution is sent—
execution.authToolAuth | nullNo—
execution.auth.typeenum(bearer | jwt | api_key)NoDefault "bearer".
execution.auth.sourcestring | nullNo—
execution.auth.header_namestring | nullNo—
execution.auth.schemestring | nullNo—
execution.auth.api_keystring | nullwrite-onlyNo—
execution.param_mapobjectNo—
execution.headersobjectNo—
execution.timeoutintegerNoDefault 30.

Responses

StatusDescriptionContent-TypeShape
200Successful Responseapplication/jsonunknown
422Validation Errorapplication/jsonHTTPValidationError