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

python
def definition(&self) -> ToolDefinition

Returns

ResponseField ToolDefinition

The result of the operation.