/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
"tool id must be a valid UUID" or "workflow_id must be a valid UUID".
401 — Authentication error
See Authentication.
404 — Not found
"Workflow not found" when the agent doesn’t belong to your account.