Get YAPI Data by URL
yapi_get_by_urlParses a YAPI page URL and retrieves the corresponding API documentation data, supporting project, interface, and category URLs.
Instructions
Parse a YAPI page URL and fetch the corresponding data automatically. Supports project URLs (/project/{id}/interface/api), interface URLs (/project/{id}/interface/api/{interfaceId}), and category URLs (/project/{id}/interface/api/cat_{catId}).
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>"
},
"name": "yapi_get_by_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full YAPI page URL, e.g. http://yapi.example.com/project/1/interface/api/100 |