changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "additionalProperties": true,
+ "description": "Task outcome envelope: a completion (success/type/data), a pending marker (poll get_task_status), or an awaiting_input guardrail. `data` is the task output; its shape is task-defined (freeform text or the caller-supplied structured schema).",
+ "properties": {
+ "data": {
+ "additionalProperties": true,
+ "description": "Task output payload (instance-authored shape)",
+ "type": "object"
+ },
+ "environment": {
+ "properties": {
+ "environmentId": {
+ "type": "string"
+ },
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "error": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "pending": {
+ "description": "True when the task is still running — poll get_task_status",
+ "type": "boolean"
+ },
+ "sessionId": {
+ "type": "string"
+ },
+ "status": {
+ "description": "Present on guardrail results: 'awaiting_input'",
+ "type": "string"
+ },
+ "success": {
+ "type": "boolean"
+ },
+ "taskId": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "type": {
+ "description": "Result type, e.g. 'task_completed', 'task_failed', 'guardrail_trigger'",
+ "type": "string"
+ }
+ },
+ "type": "object"
+}