# veryfront__upsert_child_agent_run

Create or recover the child run of a parent run tool call.

Risk: mutating.

## Arguments

| Name            | Type   | Required | Description                                                                           |
| --------------- | ------ | -------- | ------------------------------------------------------------------------------------- |
| `parent_run_id` | string | Yes      | Run that delegates the work; the caller must hold its current execution credential.   |
| `tool_call_id`  | string | Yes      | Tool call in the parent run that starts the child; the pair identifies the child run. |
| `request`       | object | Yes      | Child agent and the input to start it with.                                           |

## Call it

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__upsert_child_agent_run",
    "arguments": {
      "parent_run_id": "<parent_run_id>",
      "tool_call_id": "<tool_call_id>",
      "request": "<request>"
    }
  }
}
```
