openai_struct/models/
web_search_tool_call.rs

1/*
2 * OpenAI API
3 *
4 * The OpenAI REST API. Please see pub https://platform.openai.com/docs/api-reference for more details.
5 *
6 * OpenAPI spec pub version: 2.3.0
7 *
8 * Generated pub by: https://github.com/swagger-api/swagger-codegen.git
9 */
10
11/// pub WebSearchToolCall : The results of a web search tool call. See the  [web search guide](/docs/guides/tools-web-search) for more information.
12
13#[allow(unused_imports)]
14use serde_json::Value;
15
16#[derive(Debug, Serialize, Deserialize)]
17pub struct WebSearchToolCall {
18    /// The unique ID of the web search tool call.
19    #[serde(rename = "id")]
20    pub id: String,
21    /// The status of the web search tool call.
22    #[serde(rename = "status")]
23    pub status: String,
24    /// The type of the web search tool call. Always `web_search_call`.
25    #[serde(rename = "type")]
26    pub _type: String,
27}