Create a new tool
Examples
tool <- new_tool(
name = "My Tool",
description = "This is a description",
input_schema = schema(
properties = list(
input1 = property_string("Input 1", "Description of input 1"),
input2 = property_number("Input 2", "Description of input 2")
)
),
handler = function(input) {
# Process the input here
return(input)
}
)