Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

LLMFunctions

Guides

  • LLM Functionality

Symbols

  • ChatEvaluate
  • ChatObject
  • GenerateLLMToolResponse
  • ImageSynthesize
  • LLMConfiguration
  • LLMEvaluator
  • LLMExampleFunction
  • LLMFunction
  • LLMPrompt
  • LLMResourceFunction
  • LLMSynthesize
  • LLMTool
  • LLMToolRequest
  • LLMToolResponse
  • $LLMEvaluator
[
EXPERIMENTAL
]
GenerateLLMToolResponse
​
GenerateLLMToolResponse[tool,req]
gives the
LLMToolResponse
generated by executing
tool
on the
LLMToolRequest
req
.
​
​
GenerateLLMToolResponse[{
tool
1
,
tool
2
,…},req]
picks a tool based on
req
.
​
​
GenerateLLMToolResponse[config,req]
uses the tools from an
LLMConfiguration
.
​
Details and Options

Examples  
(2)
Basic Examples  
(2)
Create a tool and a request:
In[1]:=
tool=
LLMTool[
]
;​​req=
LLMToolRequest
["cityPopulationFinder",{"city""Chicago"}];
Generate the tool response:
In[2]:=
GenerateLLMToolResponse
[tool,req]
Out[2]=
LLMToolResponse
tool: LLMTool
name: cityPopulationFinder
description: Get the population of cities.

parameter values: city
Chicago

output:
2746388
people

​
Resolve the correct tool from a list:
In[1]:=
tools=
LLMTool[
]
,
LLMTool[
]
;​​req=
LLMToolRequest
["cityPopulationFinder",{"city""Chicago"}];
In[2]:=
GenerateLLMToolResponse
[tools,req]
Out[2]=
LLMToolResponse
tool: LLMTool
name: cityPopulationFinder
description: Get the population of cities.

parameter values: city
Chicago

output:
2746388
people

If no matching tool is available,
GenerateLLMToolResponse
fails:
In[3]:=
GenerateLLMToolResponse
tools,
LLMToolRequest
["nonexistantTool",{"city""Chicago"}]
Out[3]=
Failure

Message:
No tool with name
nonexistantTool
found from tool list.
Tag:
InvalidLLMToolRequestName

SeeAlso
LLMToolResponse
 
▪
LLMToolRequest
 
▪
LLMConfiguration
RelatedGuides
▪
LLM Functionality
""

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com