Skip to main content
POST
Create Tool

Authorizations

X-API-Key
string
header
required

Body

application/json

Schema for creating a tool via the v1 API.

name
string
required
tool_type_id
string
required
display_name
string | null
description
string | null
secret_key
string | null
additional_info
Additional Info · object | null
prompt
string | null
input_schema
Input Schema · object | null
sources_restrictions
string[] | null
strict_mode
boolean | null
default:false
forward_user_auth
boolean | null
default:false
admin_tags
string[] | null
required_permissions
string[] | null

Response

201 - application/json

Created

Response schema for tools.

id
string
required
name
string
required
object
string
default:tool
display_name
string | null
description
string | null
tool_type
ToolTypeOut · object | null

Response schema for tool types.

additional_info
Additional Info · object | null
prompt
string | null
input_schema
Input Schema · object | null
strict_mode
boolean
default:false
forward_user_auth
boolean
default:false
sources_restrictions
Sources Restrictions · object[]
admin_tags
Admin Tags · object[]
required_permissions
Required Permissions · object[]