//! Tool definition for function calling.
useserde::{Deserialize, Serialize};/// Describes a tool (function) available for the model to call.
#[derive(Debug, Clone, Serialize, Deserialize)]pubstructToolDefinition{/// The function name.
pubname: String,
/// A description of what the function does.
pubdescription: String,
/// JSON Schema object describing the function parameters.
pubparameters:serde_json::Value,
}