Task.file(path:) signed-download query.
Capabilities are reached through the me query as a
WorkspaceUser, so authenticate with a workspaceToken. All requests go to:
The run mutation is
runConnectionCapability, taking
RunConnectionCapabilityInput. It was previously misspelt
runConnectionCapabliltity; that field no longer exists.Capability model
Capabilities are advertised on each provider. A provider belongs to a workspace, and a connection points at one provider byproviderKey.
The workspace’s configured integration connections. Pass
providerKey to return
only connections for one provider.The provider catalog available to the workspace. Each provider includes its
capability definitions.
Fetches the current status and result for a previously started capability run.
Returns
null if the run cannot be found in the workspace.The provider key for the connection. Match this against
IntegrationProvider.id
to understand which capabilities can run on the connection.The current lifecycle status of the connection. Only run capabilities on a
connection that is ready for the provider action you need.
Looks up one capability by
value. Returns null if the provider does not
advertise that capability.The machine-readable capability identifier. Send this exact string as the
capability input when running the capability.The capability type reported by the provider workflow, commonly
query or
mutation. query capabilities read data. mutation capabilities can create,
update, move, delete, sync, or otherwise change state.The JSON schema for the
params object expected by
runConnectionCapability. Use this to construct valid parameters.List provider capabilities
Readworkspace.providers to discover available providers and their capability
definitions.
Look up one capability
UseIntegrationProvider.capability(value:) when you already know the provider
and capability value and only need that one definition.
Arguments
List connections for a provider
Capabilities run on a specific connection, not directly on a provider. Useworkspace.connections(providerKey:) to find the connection ID.
Arguments
Run a capability
UserunConnectionCapability to start a provider capability workflow. The
mutation validates params against the provider capability’s inputSchema,
refreshes the connection credentials when possible, starts a background run, and
returns a run ID.
Arguments
The capability parameters. Shape this object from the capability’s
inputSchema. Send {} when the schema accepts an empty object.Response
Error detail when the run fails.
null while the run is running or when it
completes successfully.Example request
Example response
Poll a capability run
After the mutation returns a run ID, pollworkspace.connectionCapabilityRun(id:) until the run completes or fails.
Arguments
Response
The run status and result. Returns
null if the run does not exist or does not
belong to the authenticated workspace.MCP usage pattern
For Filed MCP tools and AI agents, use this sequence:- Query
workspace.providersand readProviderCapability.inputSchema. - Query
workspace.connections(providerKey:)and choose the connection ID. - If the capability
kindismutation, confirm the action with the user. - Call
runConnectionCapabilitywith schema-validparams. - Poll
workspace.connectionCapabilityRun(id:)until the run is no longerRUNNING.