Optional
agentThe name of the agent for which the completion is requested. This is used to identify the agent context in which the completion will be generated.
Optional
clientThe unique identifier for the client making the request. This is used to track the request and associate it with the correct client context. For outline completions, this being skipped
Optional
formatOptional format for the outline, specifying how the completion should be structured. This is used to define the expected output format for JSON completions. If not provided, the default outline format will be used.
An array of model messages providing the conversation history or context for the completion.
The source of the last message, indicating whether it originated from a tool or user.
Optional
outlineThe outline used for json completions, if applicable. This is the name of the outline schema that defines the structure of the expected JSON response. Used to ensure that the completion adheres to the specified outline format.
Optional
toolsOptional array of tools available for the completion process (e.g., for tool calls).
Interface representing the arguments required to request a completion. Encapsulates context and inputs for generating a model response.