schema
Retrieve OpenAPI schemas for specific AI models to understand their capabilities and integration requirements.
Instructions
Get the OpenAPI schema for a specific model.
Args:
model_id: The ID of the model (e.g., "fal-ai/flux/dev")
Returns:
The OpenAPI schema for the model
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": {
"model_id": "<model_id>"
},
"name": "schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes |