Catalog

Turn every mutable tool on or off

Moves every tool the workspace can switch in one transaction. enabled: true writes tool rows only: provider-level rows never move, so a tool added to a provider later still starts off. enabled: false writes every provider with a tool on at provider scope, resetting its endpoint-level enablement overrides to inherit and clearing their MCP pins, exactly as a provider entry of the batch route does. Markup overrides are preserved; always-on tools and custom endpoints are untouched. Every mutable provider is locked first, in one statement. The write is journaled under a fresh request id of its own, never the caller's x-request-id, and the response returns it so POST /credits/catalog/changes/{requestId}/revert can put exactly this write back. Open to personal accounts. Registered ahead of the provider routes, so all is never read as a provider id.

put/credits/catalog/all

Request

  • Base URL
    https://api.paywithlocus.com/api
  • URL
    https://api.paywithlocus.com/api/credits/catalog/all
  • Auth
    • HTTP bearer
    • or HTTP bearer

Request body

enabledboolean required

Response

Every tool not already there has moved; updated counts tools whose effective enablement changed, providers counts the providers touched

successunknown required
scope'all' required
enabledboolean required
updatedinteger required
providersinteger required
unpinnedstring[] required

Tools whose MCP pins a turn-off cleared (empty for a turn-on). A revert restores enablement, not pins: the caller may pin these again.

requestIdstring required

The journal id of this write, naming its direction and its enablement revision, for the revert route.

Changes

No recorded changes to this operation across all 1 revision of this API.