Read model docs
get_endpoint_docssearch the catalogue by name or id and fetch the usage docs of the best match. multi-word queries work (e.g. "luma ray 2"): every word must appear in the id, title, category or description. also returns other matches and flags unpriced endpoints, which are rejected at submit.
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": {
"query": "<query>"
},
"name": "get_endpoint_docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | endpoint id (e.g. "fal-ai/flux-2") or search words (e.g. "luma ray 2", "video") |