Generate completions using agent app configuration. The model, MCP servers, system prompt, and guardrails are automatically provided from the agent app configuration.
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.
The ID of the agent app to use for configuration
Chat parameters. The model, MCP servers, system prompt, guardrails, and model parameters (temperature, max_tokens, etc.) are autofilled from agent app configuration.
Maximum number of iterations to perform with tool calls. Must be a positive integer. Defaults to 5.
0 < x <= 20Response format specification for structured output
A list of messages comprising the conversation history
Whether to stream responses
Chat completions response with tool calls using agent app configuration
Object type.
chat.completion.chunk Unix timestamp when the chunk was created.
Model that produced the chunk.
Chunk ID.
Service tier used.
System fingerprint.