runIntegrationTool

Run one integration tool synchronously by its qualified name, with provider arguments and an optional exact connection; returns the native tool result, where a provider failure or a refusal of the tool layer is a result with isError true, not an error.

Arguments

  • inputExecuteIntegrationToolInput!required

  • input.projectReferenceString

    Project ID or slug. Required unless the credential is bound to a project, which may omit it or name its own project. Every run needs the capability of the tool on the project: project.integrations.read, or project.integrations.connect for a tool that writes. A caller without it gets an isError result.

  • input.toolNameString!required

    Catalog-selected tool. Read-only tools require the read capability even when executed through a mutation; other tools require the capability selected by the shared integration authorization policy.

  • input.runIdString

    Agent run ID for validating run-declared integration tools.

  • input.agentIdString

    Agent ID for validating run-declared integration tools.

  • input.connectionIdID

  • input.expectedConnectionGenerationIdID

  • input.argsJSON

    Tool arguments. Omit or send null to call the tool with {}.

Responses

mutation RunIntegrationTool($input: ExecuteIntegrationToolInput!) {  runIntegrationTool(input: $input) {    content    structuredContent    isError    _meta  }}
{  "data": {    "runIntegrationTool": {      "content": {},      "structuredContent": {},      "isError": false,      "_meta": {}    }  }}

The IntegrationToolResult! in data.runIntegrationTool.