Inline
An inline value for aPotentialStringReference can be specified as a string literal:
File
File references may be used to define the value of aPotentialStringReference. File references will be resolved by
the Coral server, relative to the coral-agent.toml file. For example, given the following structure:
my-agent
coral-agent.toml
README.MD
README.MD could be used as a value with this syntax:
encoding field to the reference:
encoding
optionalThis field is ignored if
base64 = truebase64
optional A file reference can also be a Base64 encoded string, which can be useful if the referenced file contains binary data.base64 is false. Certain usages of the PotentialStringReference type may have a default
base64 value of true however, such as with options that have a type = "blob" or type = "list[blob]"
URL
URL references may be used to define the value of aPotentialStringReference. URL references are equivalent to
file references in all ways except that a url is given instead of a path.
encoding
optional Operates identically to file references. See herebase64
optional Operates identically to file references. See hereConstant references
Constant references are a special type of string reference that provides a mechanism for using a Coral server-provided string constant as a value. These are especially useful in prototype runtimes. Constant references can be accessed via name:PROTOTYPE_DEFAULT_SYSTEM_PROMPT
The default value for runtimes.prototype.prompts.system.base
PROTOTYPE_DEFAULT_LOOP_INITIAL_BASE_PROMPT
The default value for runtimes.prototype.prompts.loop.initial.base
PROTOTYPE_DEFAULT_LOOP_FOLLOWUP_PROMPT
The default value for runtimes.prototype.prompts.loop.followup
CORAL_STATE_RESOURCE_URI
The MCP URI for the Coral state resource
CORAL_INSTRUCTION_RESOURCE_URI
The MCP URI for the Coral instruction resource