tool_def_to_mistral

tool_def_to_mistral(tool_definitions: list[dict[str, Any]]) -> list[dict[str, Any]]
Converts AG2 tool definition to a mistral tool format Parameters:
NameDescription
tool_definitionsType: list[dict[str, typing.Any]]