comos-gateway-com · Schema

ToolCallResult

MCP tool-call envelope. The tool payload is a JSON string at result.content[0].text — parse it to read the result.

CompanyFederationOnPremiseCommerceAPI

Properties

Name Type Description
result object The MCP result. Its `content` array carries the tool payload.
isMetaTool boolean True for federation meta-tools (e.g. federation_search).
toolName string Echo of the invoked tool name.
contextToken string Federation context token (carries no credential). Pass it back in the X-Context-Token header, with the same Authorization header, on follow-up calls.
error string Present instead of `result` when the call failed.
View JSON Schema on GitHub

JSON Schema

comos-gateway-com-tool-call-result-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/comos-gateway-com/json-schema/comos-gateway-com-tool-call-result-schema.json",
  "title": "ToolCallResult",
  "description": "MCP tool-call envelope. The tool payload is a JSON string at result.content[0].text — parse it to read the result.",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/comos-gateway-com-openapi.yml#/components/schemas/ToolCallResult",
  "type": "object",
  "properties": {
    "result": {
      "type": "object",
      "description": "The MCP result. Its `content` array carries the tool payload.",
      "properties": {
        "content": {
          "type": "array",
          "description": "MCP content parts. Text parts carry a JSON-encoded payload.",
          "items": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "description": "Content part type, e.g. \"text\"."
              },
              "text": {
                "type": "string",
                "description": "JSON-encoded tool payload."
              }
            }
          }
        }
      }
    },
    "isMetaTool": {
      "type": "boolean",
      "description": "True for federation meta-tools (e.g. federation_search)."
    },
    "toolName": {
      "type": "string",
      "description": "Echo of the invoked tool name."
    },
    "contextToken": {
      "type": "string",
      "description": "Federation context token (carries no credential). Pass it back in the X-Context-Token header, with the same Authorization header, on follow-up calls."
    },
    "error": {
      "type": "string",
      "description": "Present instead of `result` when the call failed."
    }
  },
  "additionalProperties": true
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/comos-gateway-com-tool-call-result"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.