Generate completions using the specified model with integrated external tools.
Documentation Index
Fetch the complete documentation index at: https://www.truefoundry.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Parameters for generating completions with external tools.
The name of the agent to use. When provided, model, mcp_servers, and other configuration are auto-filled from the agent configuration.
Model Name. Required when neither agent_name nor prompt_version_fqn is provided.
A list of messages comprising the conversation history
A list of MCP servers (identified by FQN, name, or URL) and their tools
A list of sub-agents to use
Maximum number of tokens to generate
Sampling temperature to control randomness
Nucleus sampling parameter
Whether to stream responses
Top-k sampling parameter
Maximum number of iterations to perform with tool calls. Must be a positive integer. Defaults to 5.
0 < x <= 50Response format specification for structured output
Fully qualified name (FQN) of the prompt template to use for automatic prompt hydration.
Key-value pairs of variables to substitute in the prompt template when using prompt_version_fqn.