API reference
Custom Tools
5 endpoints. Add your API key in the authentication panel to send test requests from this page.
List custom tools
GET
/api/external/v1/toolsReturns a list of all custom tool definitions created by the user, as well as any accessible system tools.
Responses
200List of tools401Missing or invalid API key403Key is valid but lacks access to this resource404Requested resource not found
Create custom tool
POST
/api/external/v1/toolsCreates a new custom tool definition. The created tool can be attached to flows to enable external API integrations, custom functions, or call forwarding.
Parameters
X-Kilevel-Ai-Originstringheader
Request body application/json
idstring (uuid)namestringdescriptionstringgroupNamestringiconKeystringiconColorstringparametersarray of ToolParameterreturnValueToolReturnValuetoolTypestringtoolSubtypestringisAsyncbooleaninternalOnlybooleanasyncReturnTypestringmessagesToolMessagesexecutionPlanarray of objectintegrationsarray of objectintegrationCredentialLinksarray of objectforwardCallConfigForwardCallConfigaimetaHintToolMetaHintapiMethodstringapiUrlstringapiTimeoutSecondsinteger (int32)toolCallTimeoutSecondsinteger (int32)requiresConfirmedTranscriptbooleanconfirmedTranscriptTimeoutMsinteger (int32)proactiveLookupEnabledbooleanpromptsarray of ToolPrompttoolResultCacheConfigToolResultCacheConfigtoolConcurrencyConfigConcurrencyControlConfigconcurrencyLimitFallbackMessagestringmockConfigobjectapiHeadersobjectapiBodyobjectsourceBuiltinToolKeystringapplicationTypestringapplicationIdstring (uuid)requiresFollowUpbooleanhideFromChatTimelinebooleandiscloseOutputSchemabooleanrequiresSandboxbooleananonymizeInChatTimelinebooleanhaltOnStepErrorbooleantagsarray of stringcatalogInclusionModesarray of stringisSystembooleanuserIdstring (uuid)versioninteger (int32)createdAtstring (date-time)updatedAtstring (date-time)createdByAibooleannetworkAllowListarray of stringcreatorAgentIdstring (uuid)creatorFlowIdstring (uuid)
Responses
201Tool created successfully401Missing or invalid API key403Key is valid but lacks access to this resource404Requested resource not found
Get custom tool
GET
/api/external/v1/tools/{toolId}Retrieves the details of a specific tool definition by its unique UUID.
Parameters
toolIdstring (uuid)pathRequired
Responses
200Tool details401Missing or invalid API key403Key is valid but lacks access to this resource404Requested resource not found
Update custom tool
PUT
/api/external/v1/tools/{toolId}Updates an existing custom tool definition by merging the incoming fields. System tools cannot be updated.
Parameters
X-Kilevel-Ai-OriginstringheadertoolIdstring (uuid)pathRequired
Request body application/json
idstring (uuid)namestringdescriptionstringgroupNamestringiconKeystringiconColorstringparametersarray of ToolParameterreturnValueToolReturnValuetoolTypestringtoolSubtypestringisAsyncbooleaninternalOnlybooleanasyncReturnTypestringmessagesToolMessagesexecutionPlanarray of objectintegrationsarray of objectintegrationCredentialLinksarray of objectforwardCallConfigForwardCallConfigaimetaHintToolMetaHintapiMethodstringapiUrlstringapiTimeoutSecondsinteger (int32)toolCallTimeoutSecondsinteger (int32)requiresConfirmedTranscriptbooleanconfirmedTranscriptTimeoutMsinteger (int32)proactiveLookupEnabledbooleanpromptsarray of ToolPrompttoolResultCacheConfigToolResultCacheConfigtoolConcurrencyConfigConcurrencyControlConfigconcurrencyLimitFallbackMessagestringmockConfigobjectapiHeadersobjectapiBodyobjectsourceBuiltinToolKeystringapplicationTypestringapplicationIdstring (uuid)requiresFollowUpbooleanhideFromChatTimelinebooleandiscloseOutputSchemabooleanrequiresSandboxbooleananonymizeInChatTimelinebooleanhaltOnStepErrorbooleantagsarray of stringcatalogInclusionModesarray of stringisSystembooleanuserIdstring (uuid)versioninteger (int32)createdAtstring (date-time)updatedAtstring (date-time)createdByAibooleannetworkAllowListarray of stringcreatorAgentIdstring (uuid)creatorFlowIdstring (uuid)
Responses
200Tool updated successfully401Missing or invalid API key403Key is valid but lacks access to this resource404Requested resource not found
Delete custom tool
DELETE
/api/external/v1/tools/{toolId}Permanently deletes a custom tool definition. This action cannot be undone.
Parameters
toolIdstring (uuid)pathRequired
Responses
204Tool deleted successfully401Missing or invalid API key403Key is valid but lacks access to this resource404Requested resource not found