---
title: "OutputWebSearchServerToolItem"
---

An openrouter:web_search server tool output item


## Fields

| Field                                                                                                                                                                    | Type                                                                                                                                                                     | Required                                                                                                                                                                 | Description                                                                                                                                                              | Example                                                                                                                                                                  |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `action`                                                                                                                                                                 | [Optional[components.OutputWebSearchServerToolItemAction]](../components/outputwebsearchservertoolitemaction.mdx)                                                         | :heavy_minus_sign:                                                                                                                                                       | The search action performed, matching OpenAI web_search_call.action shape. Includes the query the model issued and optional source URLs returned by the search provider. |                                                                                                                                                                          |
| `id`                                                                                                                                                                     | *Optional[str]*                                                                                                                                                          | :heavy_minus_sign:                                                                                                                                                       | N/A                                                                                                                                                                      |                                                                                                                                                                          |
| `status`                                                                                                                                                                 | [components.ToolCallStatus](../components/toolcallstatus.mdx)                                                                                                             | :heavy_check_mark:                                                                                                                                                       | N/A                                                                                                                                                                      | completed                                                                                                                                                                |
| `type`                                                                                                                                                                   | [components.OutputWebSearchServerToolItemTypeOpenrouterWebSearch](../components/outputwebsearchservertoolitemtypeopenrouterwebsearch.mdx)                                 | :heavy_check_mark:                                                                                                                                                       | N/A                                                                                                                                                                      |                                                                                                                                                                          |