Skip to main content
POST /client-tools/:id/assign Assign a catalog tool to an agent. Inserts an inherited workflow tool that mirrors the catalog tool’s content fields and stays in sync with it on future Update Client Tool edits. Idempotent: re-assigning an already-assigned tool returns the existing assignment (still 200, no duplicate row). Both the client tool and the target agent must belong to your account.

Path Parameters

Request Body

Responses

200 — Assigned (created or already existed)

Response Fields — WorkflowTool (public shape)

This same field shape is returned by Create Workflow Tool.

400 — Validation error

Also returned as "tool id must be a valid UUID" or "workflow_id must be a valid UUID".

401 — Authentication error

See Authentication.

404 — Not found

Also returned as "Workflow not found" when the agent doesn’t belong to your account.

409 — Conflict

Returned when a different tool (not this catalog tool) already occupies that name in the target agent.

500 — Internal server error

Last modified on July 15, 2026