neuron_create_tool
Create a custom API tool that the bot can invoke during conversations to fetch external data or trigger actions.
This record as markdown: /tools/io-github-conquext-neuron/neuron-create-tool.md
What neuron_create_tool does on Neuron
AI agents use neuron_create_tool to create or update resources in Neuron, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Neuron environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Human-readable name for the tool |
type | string | Yes | Type of the tool integration (e.g., 'http', 'webhook') |
botId | string | Yes | Unique identifier (UUID) of the bot to create the tool for |
config | object | Yes | Tool configuration specifying the HTTP endpoint and request details |
authType | string | — | Authentication type for the endpoint (e.g., 'bearer', 'basic', 'apiKey', 'none') |
rateLimit | number | — | Maximum number of requests per minute allowed for this tool |
timeoutMs | number | — | Request timeout in milliseconds (default: 30000) |
description | string | — | Description of what the tool does and when the bot should use it |
Parameters from the server's own tool schema.
Why neuron_create_tool is rated Medium
This tool creates a new resource (a custom API tool) within the platform, which is a reversible write operation. While it mentions triggering actions, the tool itself is about creating configuration, not executing those actions directly. The severity is medium because a misconfigured or malicious tool definition could cause the bot to invoke harmful external APIs during conversations.
From the tool's definition Create a custom API tool that the bot can invoke during conversations to fetch external data or trigger actions.
Risk signalsAccepts URL/endpoint input (config.url) · High parameter count (13 properties)
Attacks that exploit this kind of access
The rule that runs neuron_create_tool safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Neuron, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For neuron_create_tool, this is the rule to start with:
neuron_create_tool stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Neuron, apply this rule, and every neuron_create_tool call is checked against it from then on.
Questions about neuron_create_tool
Create a custom API tool that the bot can invoke during conversations to fetch external data or trigger actions. It is categorised as a Write tool in the Neuron MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
neuron_create_tool accepts 8 parameters: name, type, botId, config, authType, rateLimit, timeoutMs, description. Required: name, type, botId, config. The full parameter table on this page comes from the server's own tool schema.
Register the Neuron MCP server in PolicyLayer and add a rule for neuron_create_tool: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Neuron. Nothing to install.
neuron_create_tool is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the neuron_create_tool rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for neuron_create_tool. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
neuron_create_tool is provided by the Neuron MCP server (neuron-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Neuron, and thousands of servers like it.
This server
Across the catalogue