https://api.trycarhub.com/mcp with an organization API key. For Claude Code:
Call an inference tool
Each inference endpoint has its own MCP tool, named in its API reference page. Calling it creates a job with the same inputs, results, permissions, and credit pricing as REST.- For media, supply an ordered
inputsarray. Each object contains either an uploadedrefor a reachableurl. Remote URLs require upload permission. - Put endpoint options or structured input data in
params. - Read the returned job. If it is still pending, call
carhub_get_jobuntil it reaches a terminal status.
client_id values must be unique within the request. Include role for required views or document sides. Reuse idempotency_key and the same arguments for a transport retry.
Use test mode while building your integration. The client discovers only tools available to its key and connection.
Supporting tools
For local files, use
carhub_create_upload, transfer the file using the returned upload instructions, then submit its reference. See uploads.
Why is an inference tool missing?
Why is an inference tool missing?
Check the key’s endpoint permissions, the endpoint’s availability in that environment, and any required beta access. OAuth connections must also permit inference execution.Inspect availability with
carhub_list_endpoints and refresh tool discovery after changing access. Job retrieval and upload tools also require their own permissions.