Skip to documentation
Open dashboard
On this page

MCP tools reference

Discover permitted tools, inspect their schemas and call them with a stable intent.

Tool discovery#

JSON
{  "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.

JSON
{  "jsonrpc": "2.0",  "id": 2,  "method": "tools/list",  "params": {    "cursor": "NEXT_CURSOR_FROM_PREVIOUS_RESPONSE"  }}

MCP call#

REST requests wrap the tool arguments in input. MCP calls send the same arguments directly.

JSON
{  "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.