> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter-d02e98a0-mintlify-7021d5f4.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# OutputBashServerToolItem - Python SDK

> OutputBashServerToolItem method reference

<Warning>
  The Python SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/python-sdk/issues).
</Warning>

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](/client-sdks/python/api-reference/components/toolcallstatus)                             | :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](/client-sdks/python/api-reference/components/outputbashservertoolitemtype) | :heavy\_check\_mark: | N/A         |           |
