invalid_tool_call#
- langchain_core.messages.tool.invalid_tool_call(
- *,
- name: str | None = None,
- args: str | None = None,
- id: str | None = None,
- error: str | None = None,
Create an invalid tool call.
- Parameters:
name (str | None) – The name of the tool to be called.
args (str | None) – The arguments to the tool call.
id (str | None) – An identifier associated with the tool call.
error (str | None) – An error message associated with the tool call.
- Return type: