custom_tools

Update custom tool

Edit a tool: name, description, the connection, status, and the definition blocks, where a supplied request, input_schema or output_mapping replaces that block WHOLE (templates never merge) and the merged definition is validated again as at create. Callers pick the new definition on their next call: the row is read per execute, never snapshotted. At least one field, else 422 nothing_to_update.

Contract:

  • MCP tool update_custom_tool, registry package mcp.integrations/custom_tools, mount integrations.providers.
  • Operation update, response envelope update.
  • Flags: none.
patch/api/custom-tools/{sid}

Request

  • Base URL
    https://beta.getsales.io/integrations/v1
  • Auth
    HTTP bearer and API key in header Team-SID

Path parameters

sidstring required

Custom tool sid (in_tl_...).

Request body

namestring

New name, 1..255 chars.

descriptionstring nullable

New description; null clears it.

provider_connection_sidstring nullable

A provider connection of provider custom this tool authenticates with (in_cn_...); null = a public API, no auth injected.

output_mappingobject

Replaces the whole mapping.

status'on' | 'off'

on | off.

Response

update success envelope.

successtrue required
operation'update' required
updated_fieldsstring[] required
previous_valuesobject required
kept_fieldsstring[]

The fields this write did not change because the person's own value stands on them (stamped person); read the item for what landed.

Changes

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