tool • Rust AI Agent SDK
tool: Create a tool response message
tool
Method
</div>
Create a tool response message
Signature
def tool(tool_call_id: impl Into<String>, content: impl Into<String>) -> SelfParameters
ParamField
impl Into<String>No description available.
ParamField
impl Into<String>No description available.
Returns
ResponseField
SelfThe result of the operation.