Approve or withdraw an MCP server's tools (AI manager only)
PUT/api/ai/mcp-servers/:mcpConnection/tools
Approval binds a tool as the server describes it now; a later change on the server's side withdraws it.
side_effect marks a tool that changes something outside the conversation: the assistant asks the customer
to confirm first and calls it at most once per reply. Tools not named are left as they are.
Request
Responses
- 200
- 401
- 403
- 404
- 422
The server with the updated decisions.
Not authenticated. code: account_disabled means the member's seat was deactivated in this workspace: the session is over even though the token was not revoked (clients sign out and clean up).
Authenticated but not allowed.
Resource not found (or not visible to the current tenant).
The request failed validation.