Capability Sources
Update the tool policy for an External MCP Connection
Changed onReplaces the connection's tool policy with the full desired state: allDisabled plus the complete list of disabled tool names (duplicates are collapsed). The policy takes effect immediately for capability search, Code Mode, and tool execution and records the calling admin as its author.
put/v1/mcp-connections/{connectionId}/tool-policy
Request
- Base URL: https://api.openworklabs.com
- URL: https://api.openworklabs.com/v1/mcp-connections/{connectionId}/tool-policy
- Auth: one of:
- API key in header x-api-key
- HTTP bearer
Path parameters
connectionIdstring typeid required
Den TypeID with 'emc_' prefix and a 26-character base32 suffix.
Request body
Response
External MCP tool policy updated.
Changes
- info
the endpoint scheme security
bearerAuthwas added to the API - info
the endpoint scheme security
denApiKeywas added to the API
- info
- info
removed the pattern
^emc_.*from thepathrequest parameterconnectionId
- info