sn_mcp_add_tool
Attach an existing tool definition or register a new tool from a Now Assist skill or Scripted REST operation on an MCP Server Console server, so MCP clients can call it.
Instructions
Add a tool to an MCP Server Console server. Either attach an existing tool definition (tool), or register a new one from a Now Assist / Otto skill (skill → sn_mcp_ai_skill_tool_definition, inputs copied from the skill's input attributes) or a Scripted REST operation (rest_operation → sn_mcp_scripted_rest_tool_definition, inputs you list). These are the two tool sources MCP Server Console offers; to expose a subflow, action, Knowledge Graph or AI Search, wrap it in a Now Assist skill or a Scripted REST operation first. REQUIRES WRITE_ENABLED=true and sn_mcp_server.admin.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"server": "<server>"
},
"name": "sn_mcp_add_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Unique definition name (default: label as snake_case) | |
| tool | No | Existing tool definition name or sys_id to attach (no new definition is created) | |
| label | No | Tool label MCP clients see as the tool name (default: skill or operation name) | |
| skill | No | Now Assist skill config (sn_nowassist_skill_config) sys_id or name, or the name of an existing skill tool to copy the skill from | |
| inputs | No | Skill: which skill inputs to expose (by attribute name; default all active ones); a value makes it a fixed (static) input. Scripted REST: the request fields the tool takes. | |
| server | Yes | Server name, label or sys_id | |
| description | No | What the tool does; MCP clients use it to decide when to call the tool (default: the skill or operation description) | |
| rest_operation | No | Scripted REST resource (sys_ws_operation) sys_id, or "METHOD /api/..." / "/api/..." path |