Generate a hosted OpenAPI spec
generate_openapi_specGenerate a hosted OpenAPI 3.1 spec for a route's API listing and return its public URL. Provide the route ID and an Apiosk provider token to get all endpoints documented.
Instructions
Generate a hosted OpenAPI 3.1 spec for a route's API listing (all its endpoints) and return its public URL. Requires an Apiosk provider token.
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": {
"route_id": "<route_id>"
},
"name": "generate_openapi_spec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| version | No | ||
| route_id | Yes | ||
| endpoints | No | Optional extra path items merged into the generated spec. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||