API Reference

Dynamic Tool Tools API

Complete reference for managing custom MCP tools.


create_dynamic_tool

Create a new custom MCP tool.

ParameterTypeRequiredDescription
namestringYesUnique tool name
descriptionstringYesTool description
input_schemaobjectYesJSON Schema for inputs
tool_typestringYeshttp_proxy, transform, chain, skill_backed
http_configobjectNoConfig for http_proxy type
transform_configobjectNoConfig for transform type
chain_configobjectNoConfig for chain type
skill_configobjectNoConfig for skill_backed type
activatebooleanNoActivate immediately

update_dynamic_tool

Update an existing custom tool.

ParameterTypeRequiredDescription
tool_idstringYesTool ID
namestringNoNew name
descriptionstringNoNew description
input_schemaobjectNoNew schema
http_configobjectNoUpdated HTTP config
transform_configobjectNoUpdated transform config
chain_configobjectNoUpdated chain config
skill_configobjectNoUpdated skill config
statusstringNodraft, active, disabled

delete_dynamic_tool

Delete a custom tool.

ParameterTypeRequiredDescription
tool_idstringYesTool ID

list_dynamic_tools

List all custom tools.

ParameterTypeDescription
statusstringdraft, active, disabled, all
tool_typestringFilter by type

get_dynamic_tool

Get details of a custom tool.

ParameterTypeDescription
tool_idstringTool ID
namestringTool name

test_dynamic_tool

Test a custom tool with sample input.

ParameterTypeRequiredDescription
tool_idstringYesTool ID
test_inputobjectYesSample input

create_connection

Create an external connection for API authentication.

ParameterTypeRequiredDescription
namestringYesConnection name
providerstringYesService provider
auth_typestringYesoauth2, api_key, bearer, basic
oauth_configobjectNoOAuth2 configuration
api_key_configobjectNoAPI key configuration
basic_auth_configobjectNoBasic auth configuration
base_urlstringNoBase URL for requests
default_headersobjectNoHeaders to include

list_connections

List all external connections.

ParameterTypeDescription
providerstringFilter by provider

delete_connection

Delete an external connection.

ParameterTypeRequiredDescription
connection_idstringYesConnection ID

Code Tool APIs

create_code_tool

Create a JavaScript code tool.

ParameterTypeRequiredDescription
namestringYesTool name
descriptionstringYesDescription
input_schemaobjectYesJSON Schema
codestringYesJavaScript code
runtimestringYesjavascript or typescript
timeout_msnumberNoTimeout (default 10000)
memory_limit_mbnumberNoMemory limit (default 64)
allowed_domainsstring[]NoAllowed fetch domains
env_varsobjectNoEnvironment variables

approve_code_tool

Approve a code tool for activation.

ParameterTypeRequiredDescription
tool_idstringYesTool ID
review_notesstringNoApproval notes

reject_code_tool

Reject a code tool.

ParameterTypeRequiredDescription
tool_idstringYesTool ID
reasonstringYesRejection reason

list_pending_code_tools

List code tools awaiting approval. No parameters.

Previous
Learning Tools