Get Replicate Model Input Schema
replicate_get_model_schemaRetrieve metadata and OpenAPI input/output schemas for a Replicate model to understand required fields before running inference.
Instructions
Retrieve metadata and the OpenAPI input/output schema for a specific Replicate model. Use this before replicate_run_model to know which fields the model accepts and what they mean.
Args:
model (string): "owner/name" or "owner/name:version".
Returns structuredContent: { "model": string, "description": string | undefined, "visibility": string | undefined, "latest_version_id": string | undefined, "input_schema": object | undefined, // OpenAPI schema for inputs "output_schema": object | undefined, // OpenAPI schema for outputs "example_url": string | undefined // Replicate page with examples }
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": "<model>"
},
"name": "replicate_get_model_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model identifier in "owner/name" or "owner/name:version" form. |