changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "additionalProperties": true,
+ "description": "Read operation first for financial/mail state and recovery. Optional service fields are absent on failure. Unknown is not zero or permission to retry. Legacy service fields remain available.",
+ "properties": {
+ "error": {
+ "type": "string"
+ },
+ "issues": {
+ "items": {
+ "additionalProperties": true,
+ "properties": {},
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "normalized": {
+ "additionalProperties": true,
+ "properties": {},
+ "type": "object"
+ },
+ "note": {
+ "type": "string"
+ },
+ "operation": {
+ "additionalProperties": false,
+ "properties": {
+ "amountCents": {
+ "description": "USD cents. Null means not applicable or not known; never interpret null as zero.",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "code": {
+ "type": "string"
+ },
+ "currency": {
+ "const": "USD"
+ },
+ "expiresAt": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "fundsState": {
+ "enum": [
+ "none",
+ "reserved",
+ "debited",
+ "captured",
+ "credited",
+ "refunded",
+ "unknown",
+ "simulated"
+ ]
+ },
+ "mailingState": {
+ "enum": [
+ "none",
+ "submitted",
+ "pending",
+ "unknown",
+ "simulated"
+ ]
+ },
+ "receiptId": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "recovery": {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "enum": [
+ "none",
+ "retry_same_request",
+ "check_existing_job",
+ "fresh_approval",
+ "requires_user_action"
+ ]
+ },
+ "instructions": {
+ "type": "string"
+ },
+ "nextTool": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "safeToRetry": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "action",
+ "safeToRetry",
+ "nextTool",
+ "instructions"
+ ],
+ "type": "object"
+ },
+ "requestId": {
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "succeeded",
+ "failed",
+ "pending",
+ "needs_review"
+ ]
+ },
+ "tool": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "requestId",
+ "tool",
+ "status",
+ "code",
+ "amountCents",
+ "currency",
+ "expiresAt",
+ "receiptId",
+ "fundsState",
+ "mailingState",
+ "recovery"
+ ],
+ "type": "object"
+ },
+ "valid": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "operation"
+ ],
+ "type": "object"
+}