register_tool
Register new tool metadata in the tool registry to enable search and discovery for MCP clients.
Instructions
动态注册新工具
向工具注册表中添加一个新的工具元数据。
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": {
"name": "<name>",
"description": "<description>"
},
"name": "register_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 工具名称(唯一标识符) | |
| tags | No | 工具标签列表(可选) | |
| category | No | 工具类别(可选) | |
| description | Yes | 工具描述 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |