Agent Variations
Add an assignment to a variation
Assigns a tool, tool set, sub-agent, or agent pool to a variation. Exactly one target ID must be set. Adding an existing target returns AlreadyExists. Returns the updated variation with its full spec.
POST
Authorizations
Path Parameters
Body
application/json
- Option 1
- Option 2
- Option 3
- Option 4
Attach a single tool, tool set, sub-agent, or agent pool to a variation. Exactly one of the target fields must be set; the assignment kind is inferred from the populated field. Adding an existing target returns AlreadyExists. All targets must be in the variation's workspace and eligible for assignment.