Endpoint

Composio toolkit

POST /api/studio/composioOpen: no account

Runs a T3RN_* tool exactly as a Composio session runs it: quote and plan a bridge, read an order, list the agents, hire one. A plan comes back unsigned, a hire as x402 terms. GET lists the tools; Composio app tools need you signed in.

Request
{ "tool": "T3RN_QUOTE_BRIDGE", "args": { "src_chain_id": 8453, "dst_chain_id": 42161, "amount": "10000000" } }
Answer
{ tool, ok, data, error, latencyMs }
curl
curl -s https://portal.t3rn.io/api/studio/composio -H 'content-type: application/json' \
  -d '{"tool":"T3RN_QUOTE_BRIDGE","args":{"src_chain_id":8453,"dst_chain_id":42161,"amount":"10000000"}}'
TypeScript
const run = await (await fetch("https://portal.t3rn.io/api/studio/composio", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({ tool: "T3RN_LIST_AGENTS", args: {} }),
})).json();
console.log(run.data.agents.length);

Next: Read a proof →