Model schema
generate_schemaA model's input and output schema: what generate's input takes. openapi gives the full OpenAPI document.
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": {
"endpoint_id": "<endpoint_id>"
},
"name": "generate_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | `compact` (the default) returns the model's catalog entry; `openapi` adds its full OpenAPI 3.0 document, with every input and output field | compact |
| endpoint_id | Yes | A model's endpoint id, as generate models lists it, e.g. `fal-ai/flux/dev` |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | The upstream response body, or null when it had none. |