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-Related Functionality

Symbols

  • ChatEvaluate
  • ChatObject
  • GenerateLLMToolResponse
  • ImageSynthesize
  • LLMConfiguration
  • LLMEvaluator
  • LLMExampleFunction
  • LLMFunction
  • LLMPrompt
  • LLMResourceFunction
  • LLMSynthesize
  • LLMTool
  • LLMToolRequest
  • LLMToolResponse
  • $LLMEvaluator
[
EXPERIMENTAL
]
LLMToolRequest
​
LLMToolRequest[…]
represents a tool request made by an LLM.
​
​
LLMToolRequest["tool",{"
name
1
""
val
1
","
name
2
""
val
2
",…}]
represents a request to
"tool"
with the specified parameter values.
​
​
LLMToolRequest["tool",params,str]
annotates a request with the request string.
​
Details

Examples  
(2)
Basic Examples  
(2)
Create a representation of a tool request:
In[1]:=
req=
LLMToolRequest
["cityPopulationFinder",{"city""Chicago"}]
Out[1]=
LLMToolRequest
name: cityPopulationFinder
parameter values: {cityChicago}

Resolve the tool request to a call to a particular tool and generate a response:
In[2]:=
GenerateLLMToolResponse

LLMTool[
]
,req
Out[2]=
LLMToolResponse
tool: LLMTool
name: cityPopulationFinder
description:

parameter values: city
Chicago

output:
2746388
people

​
Call an LLM with access to a tool and return the requests it made:
In[1]:=
LLMSynthesize
"Use the tool to write a few sentences about Chicago.",{"CompletionText","ToolRequests"},
LLMEvaluator
"Tools"
LLMTool[
]

Out[1]=
CompletionTextChicago is the third-largest city in the United States, with a population of 2,746,388 people according to the latest census data.,ToolRequests{886,952}LLMToolRequest
name: cityPopulationFinder
parameter values: {cityChicago}

""

© 2025 Wolfram. All rights reserved.

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