---
title: "OutputSubagentServerToolItem"
---

An openrouter:subagent server tool output item


## Fields

| Field                                                                                            | Type                                                                                             | Required                                                                                         | Description                                                                                      | Example                                                                                          |
| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ |
| `error`                                                                                          | *Optional[str]*                                                                                  | :heavy_minus_sign:                                                                               | Error message when the subagent task did not produce an outcome.                                 |                                                                                                  |
| `id`                                                                                             | *Optional[str]*                                                                                  | :heavy_minus_sign:                                                                               | N/A                                                                                              |                                                                                                  |
| `model`                                                                                          | *Optional[str]*                                                                                  | :heavy_minus_sign:                                                                               | Slug of the worker model that executed the task.                                                 |                                                                                                  |
| `outcome`                                                                                        | *Optional[str]*                                                                                  | :heavy_minus_sign:                                                                               | The worker model's result (the outcome text returned to the delegating model).                   |                                                                                                  |
| `status`                                                                                         | [components.ToolCallStatus](../components/toolcallstatus.mdx)                                     | :heavy_check_mark:                                                                               | N/A                                                                                              | completed                                                                                        |
| `task_description`                                                                               | *Optional[str]*                                                                                  | :heavy_minus_sign:                                                                               | The task description the delegating model sent to the worker.                                    |                                                                                                  |
| `task_name`                                                                                      | *Optional[str]*                                                                                  | :heavy_minus_sign:                                                                               | The short task identifier the delegating model supplied.                                         |                                                                                                  |
| `type`                                                                                           | [components.OutputSubagentServerToolItemType](../components/outputsubagentservertoolitemtype.mdx) | :heavy_check_mark:                                                                               | N/A                                                                                              |                                                                                                  |