swagger_get_schema
Fetch a schema or model definition from Swagger/OpenAPI documentation by name. Inspect data structures, resolve nested $refs, and limit response length as needed.
Instructions
Get a schema/model definition from Swagger documentation
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": {
"schemaName": "<schemaName>"
},
"name": "swagger_get_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxChars | No | Max characters in the returned text (0 = unlimited; defaults to config.maxResponseChars). | |
| schemaName | Yes | Name of the schema/model (e.g., UserDto, CreateUserRequest) | |
| environment | No | Environment name (defaults to the active environment) | |
| resolveRefs | No | Inline nested $ref pointers (default: true) |