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

Register Tool Api V1 Workstreams Tools Post

post/api/v1/workstreams/tools

Register a versioned runtime tool

Register a tool at runtime that is callable from a workstream step WITHOUT a PR, merge, or deploy. The tool is scoped to the request's workspace β€” no other workspace can see or dispatch it.

Request bodyapplication/json

FieldTypeDescription
namerequiredstringUnique tool name within the workspace
display_namerequiredstringHuman-readable name
descriptionstringWhat the tool does
categorystringTool category
endpoint_pathstring | nullHTTP path (e.g. /api/v1/integrations/data/invoices)
http_methodstringHTTP method (GET, POST, PUT, PATCH, DELETE)
parametersobjectJSON Schema for tool input parameters
show nested
Empty object.
auth_configobject | nullOptional auth configuration. {"type": "bearer", "token": "..."} for bearer auth, {"type": "api_key", "api_key": "...", "header_name": "X-API-Key"} for API keys. NOTE: e2e_bypass is NOT available via the API β€” it is operator-only.
bodystring | nullPython source defining run(params) -> dict; executed in the sandbox.
body_languagestring | nullCurrently only 'python'.

Responses

201Successful 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 \
  -X POST \
  -H "Authorization: Bearer sk_..." \
  -H "Content-Type: application/json" \
  -d '{
       "name": "string",
       "display_name": "string",
       "description": "string",
       "category": "string",
       "endpoint_path": null,
       "http_method": "string",
       "parameters": {},
       "auth_config": null,
       "body": null,
       "body_language": null
     }'
API Reference Β· Archie for developers