---
title: "OutputBashServerToolItem"
---

An openrouter:bash server tool output item


## Fields

| Field                                                                                    | Type                                                                                     | Required                                                                                 | Description                                                                              | Example                                                                                  |
| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
| `command`                                                                                | *Optional[str]*                                                                          | :heavy_minus_sign:                                                                       | N/A                                                                                      |                                                                                          |
| `exit_code`                                                                              | *Optional[int]*                                                                          | :heavy_minus_sign:                                                                       | N/A                                                                                      |                                                                                          |
| `id`                                                                                     | *Optional[str]*                                                                          | :heavy_minus_sign:                                                                       | N/A                                                                                      |                                                                                          |
| `status`                                                                                 | [components.ToolCallStatus](../components/toolcallstatus.mdx)                             | :heavy_check_mark:                                                                       | N/A                                                                                      | completed                                                                                |
| `stderr`                                                                                 | *Optional[str]*                                                                          | :heavy_minus_sign:                                                                       | N/A                                                                                      |                                                                                          |
| `stdout`                                                                                 | *Optional[str]*                                                                          | :heavy_minus_sign:                                                                       | N/A                                                                                      |                                                                                          |
| `type`                                                                                   | [components.OutputBashServerToolItemType](../components/outputbashservertoolitemtype.mdx) | :heavy_check_mark:                                                                       | N/A                                                                                      |                                                                                          |