GenerateLLMToolResponse
GenerateLLMToolResponse[tool,req]
gives the LLMToolResponse generated by executing tool on the LLMToolRequest req.
GenerateLLMToolResponse[{tool1,tool2,…},req]
picks a tool based on req.
GenerateLLMToolResponse[config,req]
uses the tools from an LLMConfiguration.
Details

- tool must be an LLMTool.
- GenerateLLMToolResponse attempts to use the parameter specifications in tool to interpret the string parameters in req.
- If more than one tool is provided, the request is matched to whichever tooli has a name matching the one from the request. If no tooli matches, a Failure is returned.
Examples
Basic Examples (2)
Resolve the correct tool from a list:
If no matching tool is available, GenerateLLMToolResponse fails:
Text
Wolfram Research (2023), GenerateLLMToolResponse, Wolfram Language function, https://reference.wolfram.com/language/ref/GenerateLLMToolResponse.html.
CMS
Wolfram Language. 2023. "GenerateLLMToolResponse." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/GenerateLLMToolResponse.html.
APA
Wolfram Language. (2023). GenerateLLMToolResponse. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/GenerateLLMToolResponse.html