pub type FunctionDeclaration = ToolDefinition;Expand description
A tool definition describing a callable function.
This is a type alias for ToolDefinition from core types, maintaining
backward compatibility with existing code that uses FunctionDeclaration.
Aliased Type§
pub struct FunctionDeclaration {
pub name: String,
pub description: String,
pub parameters: Option<Value>,
}Fields§
§name: StringName of the function
description: StringDescription of what the function does
parameters: Option<Value>JSON Schema describing the function parameters