OutputWebSearchServerToolItem - Go SDK

OutputWebSearchServerToolItem type definition

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

An openrouter:web_search server tool output item

Fields

FieldTypeRequiredDescriptionExample
Action*components.OutputWebSearchServerToolItemActionThe 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*stringN/A
Statuscomponents.ToolCallStatus✔️N/Acompleted
Typecomponents.OutputWebSearchServerToolItemTypeOpenrouterWebSearch✔️N/A