Struct Response Tool Call
Generated from cargo doc --no-deps -p nemo-relay-builtins -p nemo-relay-diagnostics -p nemo-relay-logging -p nemo-relay-plugin-host -p nemo-relay-codecs -p nemo-relay -p nemo-relay-runtime -p nemo-relay-model-pricing -p nemo-relay-resource-metrics -p nemo-relay-observability -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.
Referenced types: String, Value
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 and Gemini generateContent args are already parsed JSON objects. OpenAI Responses custom tool input remains a JSON string without parsing.
Fields
id: String
Unique identifier for this tool call.
name: String
The function/tool name.
arguments: Value
Tool input as JSON. Function arguments are parsed; custom free-form input remains a JSON string.
Trait Implementations
impl Clone for ResponseToolCall
Referenced types: Clone, ResponseToolCall
clone
Referenced types: clone, ResponseToolCall
clone_from
Referenced types: clone_from
impl Debug for ResponseToolCall
Referenced types: Debug, ResponseToolCall
fmt
Referenced types: fmt, Formatter, Result, (), Error
impl<'de> Deserialize<'de> for ResponseToolCall
Referenced types: Deserialize, ResponseToolCall
deserialize
Referenced types: deserialize, Result, ResponseToolCall, Deserializer, Error
impl PartialEq for ResponseToolCall
Referenced types: PartialEq, ResponseToolCall
eq
Referenced types: eq, ResponseToolCall, bool
ne
Referenced types: ne, &Rhs, bool
impl Serialize for ResponseToolCall
Referenced types: Serialize, ResponseToolCall
serialize
Referenced types: serialize, Result, Serializer, Ok, Error
impl WireValue<Box<ResponseToolCall>> for ResponseToolCall
Referenced types: WireValue, Box, ResponseToolCall, ResponseToolCall
to_wire
Referenced types: to_wire, Result, Box, ResponseToolCall, ConversionError
from_wire
Referenced types: from_wire, Box, ResponseToolCall, Result, ResponseToolCall, ConversionError
impl WireValue<ResponseToolCall> for ResponseToolCall
Referenced types: WireValue, ResponseToolCall, ResponseToolCall
to_wire
Referenced types: to_wire, Result, ResponseToolCall, ConversionError
from_wire
Referenced types: from_wire, ResponseToolCall, Result, ResponseToolCall, ConversionError
impl StructuralPartialEq for ResponseToolCall
Referenced types: StructuralPartialEq, ResponseToolCall