Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.
pub struct ResponseToolCall {
pub id: String,
pub name: String,
pub arguments: Json,
}
A tool call requested by the model in its response.
Unlike the request-side ToolCall (which stores arguments as a JSON string per OpenAI convention), response tool calls store arguments as parsed Json. Codecs parse OpenAI’s string arguments during decode; Anthropic’s input is already parsed JSON.
id: StringUnique identifier for this tool call.
name: StringThe function/tool name.
arguments: JsonThe arguments as parsed JSON (not a string).
impl Clone for ResponseToolCallimpl Clone for ResponseToolCall
clonefn clone(&self) -> ResponseToolCall
clone_fromfn clone_from(&mut self, source: &Self)
impl Debug for ResponseToolCallimpl Debug for ResponseToolCall
fmtfn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'de> Deserialize<'de> for ResponseToolCallimpl<'de> Deserialize<'de> for ResponseToolCall
deserializefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl PartialEq for ResponseToolCallimpl PartialEq for ResponseToolCall
eqfn eq(&self, other: &ResponseToolCall) -> bool
nefn ne(&self, other: &Rhs) -> bool
impl Serialize for ResponseToolCallimpl Serialize for ResponseToolCall
serializefn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
impl StructuralPartialEq for ResponseToolCallimpl StructuralPartialEq for ResponseToolCall