{
"title": "agent.completions.message.SystemMessageExpression",
"description": "Expression variant of [`SystemMessage`] for dynamic content.",
"type": "object",
"properties": {
"content": {
"description": "The message content expression.\n\nA value that can be either a literal or an expression.\n\nThis allows Function definitions to mix static values with dynamic\nexpressions. During compilation, expressions are evaluated while\nliteral values pass through unchanged.\n\n# Example\n\nLiteral value:\n```json\n\"hello world\"\n```\n\nJMESPath expression:\n```json\n{\"$jmespath\": \"input.greeting\"}\n```\n\nStarlark expression:\n```json\n{\"$starlark\": \"input['greeting']\"}\n```",
"anyOf": [
{
"title": "Expression",
"description": "An expression (JMESPath or Starlark) to evaluate.",
"$ref": "functions.expression.Expression"
},
{
"title": "Value",
"description": "A literal value.",
"$ref": "agent.completions.message.SimpleContentExpression"
}
]
},
"name": {
"description": "Optional name expression.",
"anyOf": [
{
"description": "A value that can be either a literal or an expression.\n\nThis allows Function definitions to mix static values with dynamic\nexpressions. During compilation, expressions are evaluated while\nliteral values pass through unchanged.\n\n# Example\n\nLiteral value:\n```json\n\"hello world\"\n```\n\nJMESPath expression:\n```json\n{\"$jmespath\": \"input.greeting\"}\n```\n\nStarlark expression:\n```json\n{\"$starlark\": \"input['greeting']\"}\n```",
"anyOf": [
{
"title": "Expression",
"description": "An expression (JMESPath or Starlark) to evaluate.",
"$ref": "functions.expression.Expression"
},
{
"title": "Value",
"description": "A literal value.",
"type": "string"
}
]
},
{
"type": "null"
}
],
"omitempty": true
}
}
}