OutputWebSearchServerToolItem - Python SDK

OutputWebSearchServerToolItem method reference

The Python SDK and docs are currently in beta. Report issues on GitHub.

An openrouter:web_search server tool output item

Fields

FieldTypeRequiredDescriptionExample
actionOptional[components.OutputWebSearchServerToolItemAction]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.
idOptional[str]N/A
statuscomponents.ToolCallStatus✔️N/Acompleted
typecomponents.OutputWebSearchServerToolItemTypeOpenrouterWebSearch✔️N/A