agentIntegrationActions
Attach an integration to an agent or detach it by choosing the action, so the agent can use it on its next call while keeping detached integrations available.
Instructions
Attach an integration to an agent, or detach it.
Set action to pick what to do.
attach: Attach an integration to an agent.
The agent can use it on its next call. Integrations already attached stay as they are.
detach: Remove the integration from the agent. The integration itself is kept and stays available to attach again.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>",
"agent_id": "<agent_id>",
"integration_id": "<integration_id>"
},
"name": "agentIntegrationActions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | What to do: attach, detach. | |
| agent_id | Yes | The ID of the agent. | |
| integration_id | Yes | The integration's id, from `listIntegrations` or a create response. |