Set the tool permissions of an integration
set_integration_permissionsSet the tool permissions of an integration
Stores which tools the agents of the account may use through this integration, exactly as the dashboard does. Choose a preset (read, read_write, full) or custom with the exact tool keys from tools[].key of the GET of this path. Only the permissions change; the rest of the stored configuration stays as it is. Every agent and chatbot the integration is assigned to then gets its tool list rebuilt, so the change takes effect in their next conversation: agentsResynced counts the agents that were updated, agentsFailed the ones that could not be updated now (the saved permissions still apply to them). A tool selection of an agent (enabledTools) that names a tool outside the new permissions is not changed, but the tool stays unavailable to the agent. An unusable choice is refused with 422 and error code validation_error. Integration types without tool permissions answer 404.
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": {
"id": "<id>",
"body": "<body>"
},
"name": "set_integration_permissions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Identifier of the integration. A non-numeric value is rejected with 400. | |
| body | Yes | The new choice: a preset, or `custom` with the exact tool keys agents may use. |