MCP tools reference
Discover permitted tools, inspect their schemas and call them with a stable intent.
Tool discovery#
{ "jsonrpc": "2.0", "id": 1, "method": "tools/list", "params": {}}The OpenAPI and tool schemas define every input and required permission. Account availability and model options are returned by live discovery.
{ "jsonrpc": "2.0", "id": 2, "method": "tools/list", "params": { "cursor": "NEXT_CURSOR_FROM_PREVIOUS_RESPONSE" }}Tool referenceBrowse every creative tool and its request schema.tong_operation_statusAn accepted request is not a finished generation. Track the saved job until its output is ready.tong_run_statusGuided runs pause for human review in Tong. Automatic runs continue. Both charge as work proceeds and pause when credits run out.tong_run_eventsGuided runs pause for human review in Tong. Automatic runs continue. Both charge as work proceeds and pause when credits run out.tong_run_pauseGuided runs pause for human review in Tong. Automatic runs continue. Both charge as work proceeds and pause when credits run out.tong_run_resumeGuided runs pause for human review in Tong. Automatic runs continue. Both charge as work proceeds and pause when credits run out.tong_review_statusGuided runs pause for human review in Tong. Automatic runs continue. Both charge as work proceeds and pause when credits run out.
MCP call#
REST requests wrap the tool arguments in input. MCP calls send the same arguments directly.
{ "jsonrpc": "2.0", "id": 2, "method": "tools/call", "params": { "name": "tong_generation_quote", "arguments": { "body": { "operation": "TEXT_TO_IMAGE", "model": "tong_ea55aff4f3b5c8aba3a35569", "routingParameters": { "ratio": "16:9" } } }, "_meta": { "io.tongai/idempotency-key": "45be69f1-c266-4a09-a82c-bf3c6303eb03" } }}An accepted request is not a finished generation. Track the saved job until its output is ready.