Operating system set to macOS
Documentation jurisdiction set to United States
Sign inConnect Claude

Update Tool Api V1 Workstreams Tools Tool Id Patch

patch/api/v1/workstreams/tools/{tool_id}

Update Tool

Change one or more fields of a custom tool in the caller's workspace. Every change raises the tool's version and records a new immutable version. Send `expected_version` to refuse the change if someone else updated the tool first.

Path parameters

tool_idrequired
path
Identifier of the custom tool in the caller's workspace.

Request bodyapplication/json

FieldTypeDescription
expected_versioninteger | nullOptional optimistic-lock guard; rejects an edit based on a stale version.
display_namestring | nullβ€”
descriptionstring | nullβ€”
categorystring | nullβ€”
endpoint_pathstring | nullβ€”
http_methodstring | nullβ€”
parametersobject | nullβ€”
auth_configobject | nullβ€”
bodystring | nullβ€”
body_languagestring | nullβ€”
is_enabledboolean | nullβ€”

Responses

200Successful Response
FieldTypeDescription
idrequiredstring (uuid)β€”
namerequiredstringβ€”
display_namerequiredstringβ€”
descriptionrequiredstringβ€”
categoryrequiredstringβ€”
endpoint_pathrequiredstring | nullβ€”
http_methodrequiredstringβ€”
parametersrequiredobjectβ€”
show nested
Empty object.
auth_configrequiredobject | nullβ€”
workspace_idrequiredstring (uuid)β€”
is_enabledrequiredbooleanβ€”
bodystring | nullβ€”
body_languagestring | nullβ€”
versionintegerβ€”
body_sha256string | nullβ€”
tool_versionrequiredstringβ€”
executorrequiredstringβ€”
provenancestringβ€”
deprecated_atstring (date-time) | nullβ€”
422Validation Error
FieldTypeDescription
detailValidationError[]β€”
item shape
curl https://api.dev.arch.ie/api/v1/workstreams/tools/<tool_id> \
  -X PATCH \
  -H "Authorization: Bearer sk_..." \
  -H "Content-Type: application/json" \
  -d '{
       "expected_version": null,
       "display_name": null,
       "description": null,
       "category": null,
       "endpoint_path": null,
       "http_method": null,
       "parameters": null,
       "auth_config": null,
       "body": null,
       "body_language": null,
       "is_enabled": null
     }'
API Reference Β· Archie for developers