cliDeterministic

Delegate agent chat turn

pipeline delegate-agent-chat-turn

Delegate a claimed external chat task to another public Pipeline agent with originating conversation context and scope. Returns a childTurnId to claim and execute with your current coding-agent model. No hosted inference. Complete the child, then claim and execute its returned parent continuation. Intent ask/delegate returns to the parent; handoff transfers remaining ownership.

Parameters

workspaceId
string
No description.
actionrequired
string
No description.
turnIdrequired
string
No description.
claimTokenrequired
string
No description.
recipientrequired
string
No description.
strategist | gtm_engineer | reply_agent | sdr_agent | gtm_lead | content_agent | engagement
taskrequired
string
No description.
intentrequired
string
No description.
ask | delegate | handoff

Example

CLI commandbash
pipeline delegate-agent-chat-turn \
--action "external_delegate" \
--turn-id "00000000-0000-4000-8000-000000000000" \
--claim-token "00000000-0000-4000-8000-000000000000" \
--recipient "strategist" \
--task "example" \
--intent "delegate"

Response

Success response schemajson schema
{
"type": "object",
"properties": {
"childTurnId": {
"type": "string"
},
"conversationId": {
"type": "string"
},
"executionMode": {
"type": "string",
"enum": [
"external_agent"
]
},
"intent": {
"type": "string"
}
},
"required": [
"childTurnId",
"conversationId",
"executionMode",
"intent"
]
}

Exit codes

1
Invalid input or local configuration.
2
The API or tool returned an error.
3
Authentication failed.
4
A network request failed.
Pipeline CLI documentation | Pipeline