pub type ToolSearchOutputFunctionToolParam = FunctionToolParam;Available on crate feature
response-types only.Expand description
Loaded function tool parameters have the same shape as function tool parameters.
Aliased Type§
pub struct ToolSearchOutputFunctionToolParam {
pub name: String,
pub description: Option<String>,
pub parameters: Option<Value>,
pub strict: Option<bool>,
pub defer_loading: Option<bool>,
pub async: Option<bool>,
pub output_schema: Option<Value>,
pub allowed_callers: Option<Vec<CallableToolAllowedCaller>>,
}Fields§
§name: StringThe name of the function.
description: Option<String>A description of the function.
parameters: Option<Value>A JSON schema object describing the parameters of the function.
strict: Option<bool>Whether to enforce strict parameter validation.
defer_loading: Option<bool>Whether this function should be deferred and discovered via tool search.
async: Option<bool>Whether the tool response can be returned asynchronously versus immediately returned on next response creation.
output_schema: Option<Value>§allowed_callers: Option<Vec<CallableToolAllowedCaller>>