Get the configuration of an existing prompt.
Example: "PROMPT_1"
The configured messages WITHOUT variables replaced.
Show child attributes
TEXT
assistant
system
tool
user
Example: "Check the weather"
Example: 0
Example: 100
The name of the model for the provider.
The LLM model provider.
ANTHROPIC
OPENAI
Example: PromptResponseFormat.TEXT
JSON
Example: 97946543
Example: 1
Example: 50
x > 1
A description of what the tool does, used by the model to choose when and how to call the tool.
The initial messages to be included with your call to the LLM API.
The name of the tool to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
The parameters the functions accepts, described as a JSON Schema object. This schema is designed to match the TypeScript Record<string, unknown>, allowing for any properties with values of any type.
Was this page helpful?