system_register
Dynamically register an internal system and expose its API tools as MCP tools by submitting a system configuration in JSON format.
Instructions
动态注册一个内部系统及其 API 工具。传入完整的系统配置 JSON(与 systems.yaml 格式一致)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | Yes | 系统配置 JSON 字符串,格式示例: { "name": "my-api", "description": "我的 API 系统", "baseUrl": "https://api.example.com", "auth": { "type": "basic", "basic": { "loginUrl": "https://api.example.com/login" } }, "tools": [{ "name": "get_user", "method": "GET", "path": "/api/users/{userId}", "description": "获取用户信息", "params": { "userId": { "type": "string", "description": "用户 ID", "required": true } } }] } |