Create or recover the child run of a parent run tool call.
Arguments
inputEnsureChildAgentRunInput!requiredinput.parentRunIdID!requiredRun that delegates the work; the caller must hold its current execution credential.
input.toolCallIdString!requiredTool call in the parent run that starts the child; the pair identifies the child run.
input.requestJSON!requiredChild agent and the input to start it with.
Responses
mutation EnsureChildAgentRun($input: EnsureChildAgentRunInput!) { ensureChildAgentRun(input: $input) { childConversationId childRunId childMessageId agentId duplicate }}{ "data": { "ensureChildAgentRun": { "childConversationId": "string", "childRunId": "string", "childMessageId": "string", "agentId": "string", "duplicate": false } }}The EnsureChildAgentRunResult! in data.ensureChildAgentRun.