Attach a subagent
Let the agent delegate to another agent. Idempotent: attaching an agent that is already allowed returns changed: false.
The subagent must be in the same workspace as the agent, or shared with that workspace. Whether the agent may also clone itself is metadata.subagent.allow_self_clone on PATCH /agents/{agent_id}.
PUT
cURL
Authorizations
Path Parameters
ID of a custom agent.
ID of the agent to allow as a subagent.