Skip to Content
API ReferenceToolPOST /duplicate

POST /tool/duplicate

Duplicate Tool

Duplicate a tool — composable infra architecture.

Request Body (DuplicateToolApiRequest)

FieldTypeRequiredDescription
tool_idstringYesTool identifier to duplicate
idempotency_keystringNoOperation key for ack — promotes or rejects a dormant duplicate
softbooleanNoStage the duplicate dormant (active=False) — propose; the ack ({idempotency_key, accept}) promotes/rejects it
acceptbooleanNoAccept (promote) or reject dormant state. Only meaningful with idempotency_key

Response (DuplicateToolApiResponse)

FieldTypeRequiredDescription
successbooleanYesWhether the duplication succeeded
tool_idstringYesNew duplicated tool identifier
messagestringYesResult message
idempotency_keystringNoIdempotency key echoed back for client correlation
toolsListToolApiTool[]NoHydrated row for the duplicated tool (same shape as /tool/search returns)
Last updated on