Sign in

Create a tool

View as Markdown
POST/platform-config/tools

Define a custom tool an agent can call mid-conversation.

Auth

Authentication required.

Parameters

No parameters.

Request body

RequiredContent-TypeShape
Yesapplication/jsonCreateToolRequest
NameTypeRequiredDescription
namestringYes—
descriptionstring | nullNoDefault "".
tool_typeenum(http | mcp | function | handoff | client-relay)Yes—
statusenum(active | inactive)NoDefault "active".
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