pub struct ToolCallExtraContent {
pub google: Option<ToolCallExtraContentGoogle>,
}Expand description
Provider-specific opaque data attached to a tool call. The contents are
not interpreted by the gateway, but must be echoed back verbatim on the
next request that references this tool call. Currently used by Google
Gemini extended-thinking models to carry the per-call thought_signature.
Other providers may ignore the field.
JSON schema
{
"description": "Provider-specific opaque data attached to a tool call. The contents are\nnot interpreted by the gateway, but must be echoed back verbatim on the\nnext request that references this tool call. Currently used by Google\nGemini extended-thinking models to carry the per-call `thought_signature`.\nOther providers may ignore the field.\n",
"type": "object",
"properties": {
"google": {
"description": "Google Gemini-specific extra content.",
"type": "object",
"properties": {
"thought_signature": {
"description": "Opaque signature returned with reasoning-enabled tool calls.\nMust be echoed back verbatim in the next request that includes\nthis tool call, or Google will reject the request.\n",
"type": "string"
}
},
"additionalProperties": true
}
}
}Fields§
§google: Option<ToolCallExtraContentGoogle>Trait Implementations§
Source§impl Clone for ToolCallExtraContent
impl Clone for ToolCallExtraContent
Source§fn clone(&self) -> ToolCallExtraContent
fn clone(&self) -> ToolCallExtraContent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ToolCallExtraContent
impl Debug for ToolCallExtraContent
Source§impl Default for ToolCallExtraContent
impl Default for ToolCallExtraContent
Source§impl<'de> Deserialize<'de> for ToolCallExtraContent
impl<'de> Deserialize<'de> for ToolCallExtraContent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ToolCallExtraContent
impl RefUnwindSafe for ToolCallExtraContent
impl Send for ToolCallExtraContent
impl Sync for ToolCallExtraContent
impl Unpin for ToolCallExtraContent
impl UnsafeUnpin for ToolCallExtraContent
impl UnwindSafe for ToolCallExtraContent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more