definition • Rust AI Agent SDK
definition: Get the tool definition for LLM function calling
definition
Method
</div>
This is a method of the Tool class in the tools module.
Get the tool definition for LLM function calling
Signature
pythondef definition(&self) -> ToolDefinition
Returns
ResponseField ToolDefinitionThe result of the operation.