# tinker_cookbook.tool_use.ToolResult ## *class* [**tinker_cookbook.tool_use.ToolResult**](https://github.com/thinking-machines-lab/tinker-cookbook/blob/main/tinker_cookbook/tool_use/types.py#L20)() Result from a tool invocation. **Fields:** - [**messages**](https://github.com/thinking-machines-lab/tinker-cookbook/blob/main/tinker_cookbook/tool_use/types.py#L23) (*list\[[Message](https://tinker-docs.thinkingmachines.ai/cookbook/api-reference/renderers/message/index.md)\]*) - [**should_stop**](https://github.com/thinking-machines-lab/tinker-cookbook/blob/main/tinker_cookbook/tool_use/types.py#L24) (*bool*, default: `False`) - [**metrics**](https://github.com/thinking-machines-lab/tinker-cookbook/blob/main/tinker_cookbook/tool_use/types.py#L25) (*dict[str, float]*, default: `field(default_factory=dict)`) - [**metadata**](https://github.com/thinking-machines-lab/tinker-cookbook/blob/main/tinker_cookbook/tool_use/types.py#L26) (*dict[str, Any]*, default: `field(default_factory=dict)`) ## Referenced by - [tinker_cookbook.tool_use.FunctionTool.run](https://tinker-docs.thinkingmachines.ai/cookbook/api-reference/tool_use/functiontool/#functiontool-run) - [tinker_cookbook.tool_use.handle_tool_call](https://tinker-docs.thinkingmachines.ai/cookbook/api-reference/tool_use/handle_tool_call/index.md) - [tinker_cookbook.tool_use.types.Tool.run](https://tinker-docs.thinkingmachines.ai/cookbook/api-reference/tool_use/types_tool/#tool-run)