parseSchema
Recursively parses a named schema from a Swagger/OpenAPI document URL and returns the full JSON Schema structure with nested references resolved.
Instructions
递归解析 Swagger/OpenAPI 文档中的指定 Schema,生成完整的 JSON Schema 结构
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": {
"url": "<url>",
"schemaName": "<schemaName>"
},
"name": "parseSchema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Swagger/OpenAPI 文档的 URL 地址 | |
| headers | No | 可选的请求头(如需要认证时) | |
| timeout | No | 请求超时时间(毫秒,默认 30000) | |
| schemaName | Yes | 要解析的 Schema 名称 |