{
"title": "functions.expression.InputValueExpression",
"description": "An input value that may contain expressions (pre-compilation).\n\nSimilar to [`InputValue`] but object values and array elements can be\nexpressions (JMESPath or Starlark) that are evaluated during compilation.",
"anyOf": [
{
"title": "RichContentPart",
"description": "Rich content (image, audio, video, file).",
"$ref": "agent.completions.message.RichContentPart"
},
{
"title": "Object",
"description": "An object with values that may be expressions.",
"type": "object",
"additionalProperties": {
"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.",
"$ref": "functions.expression.InputValueExpression"
}
]
}
},
{
"title": "Array",
"description": "An array with elements that may be expressions.",
"type": "array",
"items": {
"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.",
"$ref": "functions.expression.InputValueExpression"
}
]
}
},
{
"title": "String",
"description": "A string value.",
"type": "string"
},
{
"title": "Integer",
"description": "An integer value.",
"type": "integer",
"minimum": -9223372036854775808,
"maximum": 9223372036854775807
},
{
"title": "Number",
"description": "A floating-point number.",
"type": "number",
"minimum": -3.4028234663852886e+38,
"maximum": 3.4028234663852886e+38
},
{
"title": "Boolean",
"description": "A boolean value.",
"type": "boolean"
}
]
}