Duplicate a tool

View as Markdown

Clone a tool into a new library tool with a new toolId.

Authentication

AuthorizationBearer

API key from the console ApiKey collection, sent as Bearer token. Also accepts session cookies for browser-based auth.

Path parameters

toolIdstringRequiredformat: "^tool_[a-z0-9]{24}$"

Response

Tool duplicated.
statusbooleanOptional
dataobjectOptional

A tool in the org-level Tools library. Referenced from agents by toolId (see toolRefs on the agent config). Editing a library tool propagates to every agent that references it.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error