Skip to main content
Glama

Run a StewAI Recipe

run_recipe
DestructiveIdempotent

Estimate or run a previewed public or account-authorized published recipe. dry_run returns history (credits charged by past runs of this recipe), fees, your balance, and estimated_credits, a theoretical worst case. If credits run out during a run, it pauses and can be resumed after adding credits. On recipe_ref_expired, search or preview again and retry.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputsYes
dry_runNo
recipe_refYes
idempotency_keyYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "available_credits": {
      -        "maxLength": 64,
      -        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -        "type": "string"
      -      },
      -      "balance_as_of": {
      -        "format": "date-time",
      -        "maxLength": 64,
      -        "type": "string"
      -      },
      -      "ceiling_explanation": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "basis": {
      -            "const": "current_effective_rates_and_runtime_bounds"
      -          },
      -          "details_limited": {
      -            "type": "boolean"
      -          },
      -          "meaning": {
      -            "maxLength": 500,
      -            "type": "string"
      -          },
      -          "provider_floors": {
      -            "items": {
      -              "type": "object"
      -            },
      -            "maxItems": 20,
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "meaning",
      -          "basis",
      -          "provider_floors",
      -          "details_limited"
      -        ],
      -        "type": "object"
      -      },
      -      "estimate_basis": {
      -        "const": "conservative_input_aware"
      -      },
      -      "estimated_credits": {
      -        "maxLength": 64,
      -        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -        "type": "string"
      -      },
      -      "execution_credits": {
      -        "maxLength": 64,
      -        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -        "type": "string"
      -      },
      -      "fee_credits": {
      -        "maxLength": 64,
      -        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -        "type": "string"
      -      },
      -      "historical_comparison": {
      -        "enum": [
      -          "lower",
      -          "same",
      -          "higher",
      -          "unknown"
      -        ]
      -      },
      -      "historical_credit_band": {
      -        "enum": [
      -          "unknown",
      -          "free",
      -          "0_to_10",
      -          "10_to_100",
      -          "over_100"
      -        ]
      -      },
      -      "history": {
      -        "additionalProperties": false,
      -        "description": "Credits charged by past successful runs of this recipe's current version. With fewer than three runs, statistics are null and recent_charges lists the actual charges.",
      -        "properties": {
      -          "average_credits": {
      -            "maxLength": 32,
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "failed_runs": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "last_run_at": {
      -            "maxLength": 40,
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "median_credits": {
      -            "maxLength": 32,
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "p90_credits": {
      -            "maxLength": 32,
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "recent_charges": {
      -            "description": "Actual charges of the one or two runs when there are too few for statistics.",
      -            "items": {
      -              "maxLength": 32,
      -              "type": "string"
      -            },
      -            "maxItems": 2,
      -            "type": "array"
      -          },
      -          "successful_runs": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "window_days": {
      -            "minimum": 1,
      -            "type": [
      -              "integer",
      -              "null"
      -            ]
      -          }
      -        },
      -        "required": [
      -          "successful_runs",
      -          "failed_runs",
      -          "average_credits",
      -          "median_credits",
      -          "p90_credits",
      -          "last_run_at",
      -          "window_days",
      -          "recent_charges"
      -        ],
      -        "type": "object"
      -      },
      -      "input_token_floor": {
      -        "minimum": 1,
      -        "type": "integer"
      -      },
      -      "marketplace_fee_credits": {
      -        "maxLength": 64,
      -        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -        "type": "string"
      -      },
      -      "outcome": {
      -        "const": "estimated"
      -      },
      -      "pricing_warning": {
      -        "maxLength": 240,
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "sufficient": {
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "outcome",
      -      "execution_credits",
      -      "marketplace_fee_credits",
      -      "estimated_credits",
      -      "available_credits",
      -      "sufficient",
      -      "estimate_basis",
      -      "input_token_floor",
      -      "historical_credit_band",
      -      "historical_comparison",
      -      "pricing_warning"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "estimated_credits": {
      -        "maxLength": 64,
      -        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -        "type": "string"
      -      },
      -      "history": {
      -        "additionalProperties": false,
      -        "description": "Credits charged by past successful runs of this recipe's current version. With fewer than three runs, statistics are null and recent_charges lists the actual charges.",
      -        "properties": {
      -          "average_credits": {
      -            "maxLength": 32,
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "failed_runs": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "last_run_at": {
      -            "maxLength": 40,
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "median_credits": {
      -            "maxLength": 32,
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "p90_credits": {
      -            "maxLength": 32,
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "recent_charges": {
      -            "description": "Actual charges of the one or two runs when there are too few for statistics.",
      -            "items": {
      -              "maxLength": 32,
      -              "type": "string"
      -            },
      -            "maxItems": 2,
      -            "type": "array"
      -          },
      -          "successful_runs": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "window_days": {
      -            "minimum": 1,
      -            "type": [
      -              "integer",
      -              "null"
      -            ]
      -          }
      -        },
      -        "required": [
      -          "successful_runs",
      -          "failed_runs",
      -          "average_credits",
      -          "median_credits",
      -          "p90_credits",
      -          "last_run_at",
      -          "window_days",
      -          "recent_charges"
      -        ],
      -        "type": "object"
      -      },
      -      "outcome": {
      -        "const": "started"
      -      },
      -      "run_id": {
      -        "maxLength": 26,
      -        "minLength": 26,
      -        "pattern": "^[0-9A-Za-z]{26}$",
      -        "type": "string"
      -      },
      -      "status": {
      -        "const": "queued"
      -      }
      -    },
      -    "required": [
      -      "outcome",
      -      "run_id",
      -      "status",
      -      "estimated_credits"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "outcome": {
      -        "const": "replayed"
      -      },
      -      "run_id": {
      -        "maxLength": 26,
      -        "minLength": 26,
      -        "pattern": "^[0-9A-Za-z]{26}$",
      -        "type": "string"
      -      },
      -      "status": {
      -        "enum": [
      -          "queued",
      -          "running",
      -          "done",
      -          "failed",
      -          "cancelled",
      -          "blocked"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "outcome",
      -      "run_id",
      -      "status"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "const": "recipe_unavailable"
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "const": "run_unavailable"
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "const": "account_unavailable"
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "const": "invalid_inputs"
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "const": "idempotency_conflict"
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "const": "idempotency_unavailable"
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "const": "run_limit"
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "const": "rate_limited"
      -      },
      -      "retry_after_seconds": {
      -        "maximum": 86400,
      -        "minimum": 1,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "error",
      -      "retry_after_seconds"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "available_credits": {
      -        "maxLength": 64,
      -        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -        "type": "string"
      -      },
      -      "error": {
      -        "const": "insufficient_credits"
      -      },
      -      "required_credits": {
      -        "maxLength": 64,
      -        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "error",
      -      "required_credits",
      -      "available_credits"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "const": "invalid_inputs"
      -      },
      -      "issues": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "code": {
      -              "enum": [
      -                "required",
      -                "blank",
      -                "invalid_type",
      -                "unknown_handle",
      -                "too_many_inputs",
      -                "max_characters",
      -                "max_value_utf8_bytes",
      -                "max_total_utf8_bytes"
      -              ]
      -            },
      -            "hint": {
      -              "maxLength": 200,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "limit": {
      -              "minimum": 1,
      -              "type": "integer"
      -            },
      -            "message": {
      -              "maxLength": 160,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "path": {
      -              "maxLength": 32,
      -              "pattern": "^inputs(?:\\.input_[1-9][0-9]*)?$",
      -              "type": "string"
      -            },
      -            "received": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "characters": {
      -                  "minimum": 0,
      -                  "type": "integer"
      -                },
      -                "item_count": {
      -                  "minimum": 0,
      -                  "type": "integer"
      -                },
      -                "type": {
      -                  "enum": [
      -                    "missing",
      -                    "null",
      -                    "boolean",
      -                    "integer",
      -                    "number",
      -                    "string",
      -                    "array",
      -                    "object",
      -                    "other"
      -                  ]
      -                },
      -                "utf8_bytes": {
      -                  "minimum": 0,
      -                  "type": "integer"
      -                }
      -              },
      -              "required": [
      -                "type"
      -              ],
      -              "type": "object"
      -            }
      -          },
      -          "required": [
      -            "path",
      -            "code",
      -            "message",
      -            "hint"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 50,
      -        "minItems": 1,
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "error",
      -      "issues"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "const": "run_unavailable"
      -      },
      -      "message": {
      -        "maxLength": 240,
      -        "type": "string"
      -      },
      -      "next_action": {
      -        "maxLength": 240,
      -        "type": "string"
      -      },
      -      "reason": {
      -        "enum": [
      -          "recipe_validation_failed",
      -          "recipe_step_policy_restricted",
      -          "recipe_fee_configuration_invalid",
      -          "invalid_credit_evidence",
      -          "admission_inconsistent",
      -          "configuration_unavailable"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "error",
      -      "reason",
      -      "message",
      -      "next_action"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "const": "pricing_unavailable"
      -      },
      -      "message": {
      -        "maxLength": 240,
      -        "type": "string"
      -      },
      -      "next_action": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "action": {
      -            "const": "choose_another_recipe"
      -          },
      -          "reason": {
      -            "maxLength": 240,
      -            "type": "string"
      -          },
      -          "tool": {
      -            "const": "search_recipes"
      -          }
      -        },
      -        "required": [
      -          "tool",
      -          "action",
      -          "reason"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "error",
      -      "message",
      -      "next_action"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "available_credits": {
      +        "maxLength": 64,
      +        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +        "type": "string"
      +      },
      +      "balance_as_of": {
      +        "format": "date-time",
      +        "maxLength": 64,
      +        "type": "string"
      +      },
      +      "ceiling_explanation": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "basis": {
      +            "const": "current_effective_rates_and_runtime_bounds"
      +          },
      +          "details_limited": {
      +            "type": "boolean"
      +          },
      +          "meaning": {
      +            "maxLength": 500,
      +            "type": "string"
      +          },
      +          "provider_floors": {
      +            "items": {
      +              "type": "object"
      +            },
      +            "maxItems": 20,
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "meaning",
      +          "basis",
      +          "provider_floors",
      +          "details_limited"
      +        ],
      +        "type": "object"
      +      },
      +      "estimate_basis": {
      +        "const": "conservative_input_aware"
      +      },
      +      "estimated_credits": {
      +        "maxLength": 64,
      +        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +        "type": "string"
      +      },
      +      "execution_credits": {
      +        "maxLength": 64,
      +        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +        "type": "string"
      +      },
      +      "fee_credits": {
      +        "maxLength": 64,
      +        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +        "type": "string"
      +      },
      +      "historical_comparison": {
      +        "enum": [
      +          "lower",
      +          "same",
      +          "higher",
      +          "unknown"
      +        ]
      +      },
      +      "historical_credit_band": {
      +        "enum": [
      +          "unknown",
      +          "free",
      +          "0_to_10",
      +          "10_to_100",
      +          "over_100"
      +        ]
      +      },
      +      "history": {
      +        "additionalProperties": false,
      +        "description": "Credits charged by past successful runs of this recipe's current version. With fewer than three runs, statistics are null and recent_charges lists the actual charges.",
      +        "properties": {
      +          "average_credits": {
      +            "maxLength": 32,
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "failed_runs": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "last_run_at": {
      +            "maxLength": 40,
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "median_credits": {
      +            "maxLength": 32,
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "p90_credits": {
      +            "maxLength": 32,
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "recent_charges": {
      +            "description": "Actual charges of the one or two runs when there are too few for statistics.",
      +            "items": {
      +              "maxLength": 32,
      +              "type": "string"
      +            },
      +            "maxItems": 2,
      +            "type": "array"
      +          },
      +          "successful_runs": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "window_days": {
      +            "minimum": 1,
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "successful_runs",
      +          "failed_runs",
      +          "average_credits",
      +          "median_credits",
      +          "p90_credits",
      +          "last_run_at",
      +          "window_days",
      +          "recent_charges"
      +        ],
      +        "type": "object"
      +      },
      +      "input_token_floor": {
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "marketplace_fee_credits": {
      +        "maxLength": 64,
      +        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +        "type": "string"
      +      },
      +      "outcome": {
      +        "const": "estimated"
      +      },
      +      "pricing_warning": {
      +        "maxLength": 240,
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "sufficient": {
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "outcome",
      +      "execution_credits",
      +      "marketplace_fee_credits",
      +      "estimated_credits",
      +      "available_credits",
      +      "sufficient",
      +      "estimate_basis",
      +      "input_token_floor",
      +      "historical_credit_band",
      +      "historical_comparison",
      +      "pricing_warning"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "estimated_credits": {
      +        "maxLength": 64,
      +        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +        "type": "string"
      +      },
      +      "history": {
      +        "additionalProperties": false,
      +        "description": "Credits charged by past successful runs of this recipe's current version. With fewer than three runs, statistics are null and recent_charges lists the actual charges.",
      +        "properties": {
      +          "average_credits": {
      +            "maxLength": 32,
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "failed_runs": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "last_run_at": {
      +            "maxLength": 40,
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "median_credits": {
      +            "maxLength": 32,
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "p90_credits": {
      +            "maxLength": 32,
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "recent_charges": {
      +            "description": "Actual charges of the one or two runs when there are too few for statistics.",
      +            "items": {
      +              "maxLength": 32,
      +              "type": "string"
      +            },
      +            "maxItems": 2,
      +            "type": "array"
      +          },
      +          "successful_runs": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "window_days": {
      +            "minimum": 1,
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "successful_runs",
      +          "failed_runs",
      +          "average_credits",
      +          "median_credits",
      +          "p90_credits",
      +          "last_run_at",
      +          "window_days",
      +          "recent_charges"
      +        ],
      +        "type": "object"
      +      },
      +      "outcome": {
      +        "const": "started"
      +      },
      +      "run_id": {
      +        "maxLength": 26,
      +        "minLength": 26,
      +        "pattern": "^[0-9A-Za-z]{26}$",
      +        "type": "string"
      +      },
      +      "status": {
      +        "const": "queued"
      +      }
      +    },
      +    "required": [
      +      "outcome",
      +      "run_id",
      +      "status",
      +      "estimated_credits"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "outcome": {
      +        "const": "replayed"
      +      },
      +      "run_id": {
      +        "maxLength": 26,
      +        "minLength": 26,
      +        "pattern": "^[0-9A-Za-z]{26}$",
      +        "type": "string"
      +      },
      +      "status": {
      +        "enum": [
      +          "queued",
      +          "running",
      +          "done",
      +          "failed",
      +          "cancelled",
      +          "blocked"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "outcome",
      +      "run_id",
      +      "status"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "const": "recipe_unavailable"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "const": "run_unavailable"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "const": "account_unavailable"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "const": "invalid_inputs"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "const": "idempotency_conflict"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "const": "idempotency_unavailable"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "const": "run_limit"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "const": "rate_limited"
      +      },
      +      "retry_after_seconds": {
      +        "maximum": 86400,
      +        "minimum": 1,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "error",
      +      "retry_after_seconds"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "available_credits": {
      +        "maxLength": 64,
      +        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +        "type": "string"
      +      },
      +      "error": {
      +        "const": "insufficient_credits"
      +      },
      +      "required_credits": {
      +        "maxLength": 64,
      +        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "error",
      +      "required_credits",
      +      "available_credits"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "const": "recipe_ref_expired"
      +      },
      +      "hint": {
      +        "maxLength": 240,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "error",
      +      "hint"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "const": "invalid_inputs"
      +      },
      +      "issues": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "code": {
      +              "enum": [
      +                "required",
      +                "blank",
      +                "invalid_type",
      +                "unknown_handle",
      +                "too_many_inputs",
      +                "max_characters",
      +                "max_value_utf8_bytes",
      +                "max_total_utf8_bytes"
      +              ]
      +            },
      +            "hint": {
      +              "maxLength": 200,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "limit": {
      +              "minimum": 1,
      +              "type": "integer"
      +            },
      +            "message": {
      +              "maxLength": 160,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "path": {
      +              "maxLength": 32,
      +              "pattern": "^inputs(?:\\.input_[1-9][0-9]*)?$",
      +              "type": "string"
      +            },
      +            "received": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "characters": {
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                "item_count": {
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                "type": {
      +                  "enum": [
      +                    "missing",
      +                    "null",
      +                    "boolean",
      +                    "integer",
      +                    "number",
      +                    "string",
      +                    "array",
      +                    "object",
      +                    "other"
      +                  ]
      +                },
      +                "utf8_bytes": {
      +                  "minimum": 0,
      +                  "type": "integer"
      +                }
      +              },
      +              "required": [
      +                "type"
      +              ],
      +              "type": "object"
      +            }
      +          },
      +          "required": [
      +            "path",
      +            "code",
      +            "message",
      +            "hint"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "minItems": 1,
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "error",
      +      "issues"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "const": "run_unavailable"
      +      },
      +      "message": {
      +        "maxLength": 240,
      +        "type": "string"
      +      },
      +      "next_action": {
      +        "maxLength": 240,
      +        "type": "string"
      +      },
      +      "reason": {
      +        "enum": [
      +          "recipe_validation_failed",
      +          "recipe_step_policy_restricted",
      +          "recipe_fee_configuration_invalid",
      +          "invalid_credit_evidence",
      +          "admission_inconsistent",
      +          "configuration_unavailable"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "error",
      +      "reason",
      +      "message",
      +      "next_action"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "const": "pricing_unavailable"
      +      },
      +      "message": {
      +        "maxLength": 240,
      +        "type": "string"
      +      },
      +      "next_action": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "action": {
      +            "const": "choose_another_recipe"
      +          },
      +          "reason": {
      +            "maxLength": 240,
      +            "type": "string"
      +          },
      +          "tool": {
      +            "const": "search_recipes"
      +          }
      +        },
      +        "required": [
      +          "tool",
      +          "action",
      +          "reason"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "error",
      +      "message",
      +      "next_action"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed1 schema field changed
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "available_credits": {
      -        "maxLength": 64,
      -        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -        "type": "string"
      -      },
      -      "balance_as_of": {
      -        "format": "date-time",
      -        "maxLength": 64,
      -        "type": "string"
      -      },
      -      "ceiling_explanation": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "basis": {
      -            "const": "current_effective_rates_and_runtime_bounds"
      -          },
      -          "details_limited": {
      -            "type": "boolean"
      -          },
      -          "meaning": {
      -            "maxLength": 500,
      -            "type": "string"
      -          },
      -          "provider_floors": {
      -            "items": {
      -              "type": "object"
      -            },
      -            "maxItems": 20,
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "meaning",
      -          "basis",
      -          "provider_floors",
      -          "details_limited"
      -        ],
      -        "type": "object"
      -      },
      -      "estimate_basis": {
      -        "const": "conservative_input_aware"
      -      },
      -      "estimated_credits": {
      -        "maxLength": 64,
      -        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -        "type": "string"
      -      },
      -      "execution_credits": {
      -        "maxLength": 64,
      -        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -        "type": "string"
      -      },
      -      "fee_credits": {
      -        "maxLength": 64,
      -        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -        "type": "string"
      -      },
      -      "historical_comparison": {
      -        "enum": [
      -          "lower",
      -          "same",
      -          "higher",
      -          "unknown"
      -        ]
      -      },
      -      "historical_credit_band": {
      -        "enum": [
      -          "unknown",
      -          "free",
      -          "0_to_10",
      -          "10_to_100",
      -          "over_100"
      -        ]
      -      },
      -      "history": {
      -        "additionalProperties": false,
      -        "description": "Credits charged by past successful top-level runs of this recipe. Numbers are null with fewer than three successful runs in the window.",
      -        "properties": {
      -          "average_credits": {
      -            "maxLength": 32,
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "failed_runs": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "last_run_at": {
      -            "maxLength": 40,
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "median_credits": {
      -            "maxLength": 32,
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "p90_credits": {
      -            "maxLength": 32,
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "successful_runs": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "window_days": {
      -            "minimum": 1,
      -            "type": [
      -              "integer",
      -              "null"
      -            ]
      -          }
      -        },
      -        "required": [
      -          "successful_runs",
      -          "failed_runs",
      -          "average_credits",
      -          "median_credits",
      -          "p90_credits",
      -          "last_run_at",
      -          "window_days"
      -        ],
      -        "type": "object"
      -      },
      -      "input_token_floor": {
      -        "minimum": 1,
      -        "type": "integer"
      -      },
      -      "marketplace_fee_credits": {
      -        "maxLength": 64,
      -        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -        "type": "string"
      -      },
      -      "outcome": {
      -        "const": "estimated"
      -      },
      -      "pricing_warning": {
      -        "maxLength": 240,
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "sufficient": {
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "outcome",
      -      "execution_credits",
      -      "marketplace_fee_credits",
      -      "estimated_credits",
      -      "available_credits",
      -      "sufficient",
      -      "estimate_basis",
      -      "input_token_floor",
      -      "historical_credit_band",
      -      "historical_comparison",
      -      "pricing_warning"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "estimated_credits": {
      -        "maxLength": 64,
      -        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -        "type": "string"
      -      },
      -      "history": {
      -        "additionalProperties": false,
      -        "description": "Credits charged by past successful top-level runs of this recipe. Numbers are null with fewer than three successful runs in the window.",
      -        "properties": {
      -          "average_credits": {
      -            "maxLength": 32,
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "failed_runs": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "last_run_at": {
      -            "maxLength": 40,
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "median_credits": {
      -            "maxLength": 32,
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "p90_credits": {
      -            "maxLength": 32,
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "successful_runs": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "window_days": {
      -            "minimum": 1,
      -            "type": [
      -              "integer",
      -              "null"
      -            ]
      -          }
      -        },
      -        "required": [
      -          "successful_runs",
      -          "failed_runs",
      -          "average_credits",
      -          "median_credits",
      -          "p90_credits",
      -          "last_run_at",
      -          "window_days"
      -        ],
      -        "type": "object"
      -      },
      -      "outcome": {
      -        "const": "started"
      -      },
      -      "run_id": {
      -        "maxLength": 26,
      -        "minLength": 26,
      -        "pattern": "^[0-9A-Za-z]{26}$",
      -        "type": "string"
      -      },
      -      "status": {
      -        "const": "queued"
      -      }
      -    },
      -    "required": [
      -      "outcome",
      -      "run_id",
      -      "status",
      -      "estimated_credits"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "outcome": {
      -        "const": "replayed"
      -      },
      -      "run_id": {
      -        "maxLength": 26,
      -        "minLength": 26,
      -        "pattern": "^[0-9A-Za-z]{26}$",
      -        "type": "string"
      -      },
      -      "status": {
      -        "enum": [
      -          "queued",
      -          "running",
      -          "done",
      -          "failed",
      -          "cancelled",
      -          "blocked"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "outcome",
      -      "run_id",
      -      "status"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "const": "recipe_unavailable"
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "const": "run_unavailable"
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "const": "account_unavailable"
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "const": "invalid_inputs"
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "const": "idempotency_conflict"
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "const": "idempotency_unavailable"
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "const": "run_limit"
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "const": "rate_limited"
      -      },
      -      "retry_after_seconds": {
      -        "maximum": 86400,
      -        "minimum": 1,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "error",
      -      "retry_after_seconds"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "available_credits": {
      -        "maxLength": 64,
      -        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -        "type": "string"
      -      },
      -      "error": {
      -        "const": "insufficient_credits"
      -      },
      -      "required_credits": {
      -        "maxLength": 64,
      -        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "error",
      -      "required_credits",
      -      "available_credits"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "const": "invalid_inputs"
      -      },
      -      "issues": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "code": {
      -              "enum": [
      -                "required",
      -                "blank",
      -                "invalid_type",
      -                "unknown_handle",
      -                "too_many_inputs",
      -                "max_characters",
      -                "max_value_utf8_bytes",
      -                "max_total_utf8_bytes"
      -              ]
      -            },
      -            "hint": {
      -              "maxLength": 200,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "limit": {
      -              "minimum": 1,
      -              "type": "integer"
      -            },
      -            "message": {
      -              "maxLength": 160,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "path": {
      -              "maxLength": 32,
      -              "pattern": "^inputs(?:\\.input_[1-9][0-9]*)?$",
      -              "type": "string"
      -            },
      -            "received": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "characters": {
      -                  "minimum": 0,
      -                  "type": "integer"
      -                },
      -                "item_count": {
      -                  "minimum": 0,
      -                  "type": "integer"
      -                },
      -                "type": {
      -                  "enum": [
      -                    "missing",
      -                    "null",
      -                    "boolean",
      -                    "integer",
      -                    "number",
      -                    "string",
      -                    "array",
      -                    "object",
      -                    "other"
      -                  ]
      -                },
      -                "utf8_bytes": {
      -                  "minimum": 0,
      -                  "type": "integer"
      -                }
      -              },
      -              "required": [
      -                "type"
      -              ],
      -              "type": "object"
      -            }
      -          },
      -          "required": [
      -            "path",
      -            "code",
      -            "message",
      -            "hint"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 50,
      -        "minItems": 1,
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "error",
      -      "issues"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "const": "run_unavailable"
      -      },
      -      "message": {
      -        "maxLength": 240,
      -        "type": "string"
      -      },
      -      "next_action": {
      -        "maxLength": 240,
      -        "type": "string"
      -      },
      -      "reason": {
      -        "enum": [
      -          "recipe_validation_failed",
      -          "recipe_step_policy_restricted",
      -          "recipe_fee_configuration_invalid",
      -          "invalid_credit_evidence",
      -          "admission_inconsistent",
      -          "configuration_unavailable"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "error",
      -      "reason",
      -      "message",
      -      "next_action"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "const": "pricing_unavailable"
      -      },
      -      "message": {
      -        "maxLength": 240,
      -        "type": "string"
      -      },
      -      "next_action": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "action": {
      -            "const": "choose_another_recipe"
      -          },
      -          "reason": {
      -            "maxLength": 240,
      -            "type": "string"
      -          },
      -          "tool": {
      -            "const": "search_recipes"
      -          }
      -        },
      -        "required": [
      -          "tool",
      -          "action",
      -          "reason"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "error",
      -      "message",
      -      "next_action"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "available_credits": {
      +        "maxLength": 64,
      +        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +        "type": "string"
      +      },
      +      "balance_as_of": {
      +        "format": "date-time",
      +        "maxLength": 64,
      +        "type": "string"
      +      },
      +      "ceiling_explanation": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "basis": {
      +            "const": "current_effective_rates_and_runtime_bounds"
      +          },
      +          "details_limited": {
      +            "type": "boolean"
      +          },
      +          "meaning": {
      +            "maxLength": 500,
      +            "type": "string"
      +          },
      +          "provider_floors": {
      +            "items": {
      +              "type": "object"
      +            },
      +            "maxItems": 20,
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "meaning",
      +          "basis",
      +          "provider_floors",
      +          "details_limited"
      +        ],
      +        "type": "object"
      +      },
      +      "estimate_basis": {
      +        "const": "conservative_input_aware"
      +      },
      +      "estimated_credits": {
      +        "maxLength": 64,
      +        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +        "type": "string"
      +      },
      +      "execution_credits": {
      +        "maxLength": 64,
      +        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +        "type": "string"
      +      },
      +      "fee_credits": {
      +        "maxLength": 64,
      +        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +        "type": "string"
      +      },
      +      "historical_comparison": {
      +        "enum": [
      +          "lower",
      +          "same",
      +          "higher",
      +          "unknown"
      +        ]
      +      },
      +      "historical_credit_band": {
      +        "enum": [
      +          "unknown",
      +          "free",
      +          "0_to_10",
      +          "10_to_100",
      +          "over_100"
      +        ]
      +      },
      +      "history": {
      +        "additionalProperties": false,
      +        "description": "Credits charged by past successful runs of this recipe's current version. With fewer than three runs, statistics are null and recent_charges lists the actual charges.",
      +        "properties": {
      +          "average_credits": {
      +            "maxLength": 32,
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "failed_runs": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "last_run_at": {
      +            "maxLength": 40,
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "median_credits": {
      +            "maxLength": 32,
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "p90_credits": {
      +            "maxLength": 32,
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "recent_charges": {
      +            "description": "Actual charges of the one or two runs when there are too few for statistics.",
      +            "items": {
      +              "maxLength": 32,
      +              "type": "string"
      +            },
      +            "maxItems": 2,
      +            "type": "array"
      +          },
      +          "successful_runs": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "window_days": {
      +            "minimum": 1,
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "successful_runs",
      +          "failed_runs",
      +          "average_credits",
      +          "median_credits",
      +          "p90_credits",
      +          "last_run_at",
      +          "window_days",
      +          "recent_charges"
      +        ],
      +        "type": "object"
      +      },
      +      "input_token_floor": {
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "marketplace_fee_credits": {
      +        "maxLength": 64,
      +        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +        "type": "string"
      +      },
      +      "outcome": {
      +        "const": "estimated"
      +      },
      +      "pricing_warning": {
      +        "maxLength": 240,
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "sufficient": {
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "outcome",
      +      "execution_credits",
      +      "marketplace_fee_credits",
      +      "estimated_credits",
      +      "available_credits",
      +      "sufficient",
      +      "estimate_basis",
      +      "input_token_floor",
      +      "historical_credit_band",
      +      "historical_comparison",
      +      "pricing_warning"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "estimated_credits": {
      +        "maxLength": 64,
      +        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +        "type": "string"
      +      },
      +      "history": {
      +        "additionalProperties": false,
      +        "description": "Credits charged by past successful runs of this recipe's current version. With fewer than three runs, statistics are null and recent_charges lists the actual charges.",
      +        "properties": {
      +          "average_credits": {
      +            "maxLength": 32,
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "failed_runs": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "last_run_at": {
      +            "maxLength": 40,
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "median_credits": {
      +            "maxLength": 32,
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "p90_credits": {
      +            "maxLength": 32,
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "recent_charges": {
      +            "description": "Actual charges of the one or two runs when there are too few for statistics.",
      +            "items": {
      +              "maxLength": 32,
      +              "type": "string"
      +            },
      +            "maxItems": 2,
      +            "type": "array"
      +          },
      +          "successful_runs": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "window_days": {
      +            "minimum": 1,
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "successful_runs",
      +          "failed_runs",
      +          "average_credits",
      +          "median_credits",
      +          "p90_credits",
      +          "last_run_at",
      +          "window_days",
      +          "recent_charges"
      +        ],
      +        "type": "object"
      +      },
      +      "outcome": {
      +        "const": "started"
      +      },
      +      "run_id": {
      +        "maxLength": 26,
      +        "minLength": 26,
      +        "pattern": "^[0-9A-Za-z]{26}$",
      +        "type": "string"
      +      },
      +      "status": {
      +        "const": "queued"
      +      }
      +    },
      +    "required": [
      +      "outcome",
      +      "run_id",
      +      "status",
      +      "estimated_credits"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "outcome": {
      +        "const": "replayed"
      +      },
      +      "run_id": {
      +        "maxLength": 26,
      +        "minLength": 26,
      +        "pattern": "^[0-9A-Za-z]{26}$",
      +        "type": "string"
      +      },
      +      "status": {
      +        "enum": [
      +          "queued",
      +          "running",
      +          "done",
      +          "failed",
      +          "cancelled",
      +          "blocked"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "outcome",
      +      "run_id",
      +      "status"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "const": "recipe_unavailable"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "const": "run_unavailable"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "const": "account_unavailable"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "const": "invalid_inputs"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "const": "idempotency_conflict"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "const": "idempotency_unavailable"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "const": "run_limit"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "const": "rate_limited"
      +      },
      +      "retry_after_seconds": {
      +        "maximum": 86400,
      +        "minimum": 1,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "error",
      +      "retry_after_seconds"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "available_credits": {
      +        "maxLength": 64,
      +        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +        "type": "string"
      +      },
      +      "error": {
      +        "const": "insufficient_credits"
      +      },
      +      "required_credits": {
      +        "maxLength": 64,
      +        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "error",
      +      "required_credits",
      +      "available_credits"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "const": "invalid_inputs"
      +      },
      +      "issues": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "code": {
      +              "enum": [
      +                "required",
      +                "blank",
      +                "invalid_type",
      +                "unknown_handle",
      +                "too_many_inputs",
      +                "max_characters",
      +                "max_value_utf8_bytes",
      +                "max_total_utf8_bytes"
      +              ]
      +            },
      +            "hint": {
      +              "maxLength": 200,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "limit": {
      +              "minimum": 1,
      +              "type": "integer"
      +            },
      +            "message": {
      +              "maxLength": 160,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "path": {
      +              "maxLength": 32,
      +              "pattern": "^inputs(?:\\.input_[1-9][0-9]*)?$",
      +              "type": "string"
      +            },
      +            "received": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "characters": {
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                "item_count": {
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                "type": {
      +                  "enum": [
      +                    "missing",
      +                    "null",
      +                    "boolean",
      +                    "integer",
      +                    "number",
      +                    "string",
      +                    "array",
      +                    "object",
      +                    "other"
      +                  ]
      +                },
      +                "utf8_bytes": {
      +                  "minimum": 0,
      +                  "type": "integer"
      +                }
      +              },
      +              "required": [
      +                "type"
      +              ],
      +              "type": "object"
      +            }
      +          },
      +          "required": [
      +            "path",
      +            "code",
      +            "message",
      +            "hint"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "minItems": 1,
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "error",
      +      "issues"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "const": "run_unavailable"
      +      },
      +      "message": {
      +        "maxLength": 240,
      +        "type": "string"
      +      },
      +      "next_action": {
      +        "maxLength": 240,
      +        "type": "string"
      +      },
      +      "reason": {
      +        "enum": [
      +          "recipe_validation_failed",
      +          "recipe_step_policy_restricted",
      +          "recipe_fee_configuration_invalid",
      +          "invalid_credit_evidence",
      +          "admission_inconsistent",
      +          "configuration_unavailable"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "error",
      +      "reason",
      +      "message",
      +      "next_action"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "const": "pricing_unavailable"
      +      },
      +      "message": {
      +        "maxLength": 240,
      +        "type": "string"
      +      },
      +      "next_action": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "action": {
      +            "const": "choose_another_recipe"
      +          },
      +          "reason": {
      +            "maxLength": 240,
      +            "type": "string"
      +          },
      +          "tool": {
      +            "const": "search_recipes"
      +          }
      +        },
      +        "required": [
      +          "tool",
      +          "action",
      +          "reason"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "error",
      +      "message",
      +      "next_action"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. Changed1 schema field changed
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "available_credits": {
      -        "maxLength": 64,
      -        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -        "type": "string"
      -      },
      -      "ceiling_explanation": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "basis": {
      -            "const": "current_effective_rates_and_runtime_bounds"
      -          },
      -          "details_limited": {
      -            "type": "boolean"
      -          },
      -          "meaning": {
      -            "maxLength": 500,
      -            "type": "string"
      -          },
      -          "provider_floors": {
      -            "items": {
      -              "type": "object"
      -            },
      -            "maxItems": 20,
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "meaning",
      -          "basis",
      -          "provider_floors",
      -          "details_limited"
      -        ],
      -        "type": "object"
      -      },
      -      "estimate_basis": {
      -        "const": "conservative_input_aware"
      -      },
      -      "estimated_credits": {
      -        "maxLength": 64,
      -        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -        "type": "string"
      -      },
      -      "execution_credits": {
      -        "maxLength": 64,
      -        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -        "type": "string"
      -      },
      -      "historical_comparison": {
      -        "enum": [
      -          "lower",
      -          "same",
      -          "higher",
      -          "unknown"
      -        ]
      -      },
      -      "historical_credit_band": {
      -        "enum": [
      -          "unknown",
      -          "free",
      -          "0_to_10",
      -          "10_to_100",
      -          "over_100"
      -        ]
      -      },
      -      "input_token_floor": {
      -        "minimum": 1,
      -        "type": "integer"
      -      },
      -      "marketplace_fee_credits": {
      -        "maxLength": 64,
      -        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -        "type": "string"
      -      },
      -      "outcome": {
      -        "const": "estimated"
      -      },
      -      "pricing_warning": {
      -        "maxLength": 240,
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "sufficient": {
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "outcome",
      -      "execution_credits",
      -      "marketplace_fee_credits",
      -      "estimated_credits",
      -      "available_credits",
      -      "sufficient",
      -      "estimate_basis",
      -      "input_token_floor",
      -      "historical_credit_band",
      -      "historical_comparison",
      -      "pricing_warning"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "estimated_credits": {
      -        "maxLength": 64,
      -        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -        "type": "string"
      -      },
      -      "outcome": {
      -        "const": "started"
      -      },
      -      "run_id": {
      -        "maxLength": 26,
      -        "minLength": 26,
      -        "pattern": "^[0-9A-Za-z]{26}$",
      -        "type": "string"
      -      },
      -      "status": {
      -        "const": "queued"
      -      }
      -    },
      -    "required": [
      -      "outcome",
      -      "run_id",
      -      "status",
      -      "estimated_credits"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "outcome": {
      -        "const": "replayed"
      -      },
      -      "run_id": {
      -        "maxLength": 26,
      -        "minLength": 26,
      -        "pattern": "^[0-9A-Za-z]{26}$",
      -        "type": "string"
      -      },
      -      "status": {
      -        "enum": [
      -          "queued",
      -          "running",
      -          "done",
      -          "failed",
      -          "cancelled",
      -          "blocked"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "outcome",
      -      "run_id",
      -      "status"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "const": "recipe_unavailable"
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "const": "run_unavailable"
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "const": "account_unavailable"
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "const": "invalid_inputs"
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "const": "idempotency_conflict"
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "const": "idempotency_unavailable"
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "const": "run_limit"
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "const": "rate_limited"
      -      },
      -      "retry_after_seconds": {
      -        "maximum": 86400,
      -        "minimum": 1,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "error",
      -      "retry_after_seconds"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "available_credits": {
      -        "maxLength": 64,
      -        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -        "type": "string"
      -      },
      -      "error": {
      -        "const": "insufficient_credits"
      -      },
      -      "required_credits": {
      -        "maxLength": 64,
      -        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "error",
      -      "required_credits",
      -      "available_credits"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "const": "invalid_inputs"
      -      },
      -      "issues": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "code": {
      -              "enum": [
      -                "required",
      -                "blank",
      -                "invalid_type",
      -                "unknown_handle",
      -                "too_many_inputs",
      -                "max_characters",
      -                "max_value_utf8_bytes",
      -                "max_total_utf8_bytes"
      -              ]
      -            },
      -            "hint": {
      -              "maxLength": 200,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "limit": {
      -              "minimum": 1,
      -              "type": "integer"
      -            },
      -            "message": {
      -              "maxLength": 160,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "path": {
      -              "maxLength": 32,
      -              "pattern": "^inputs(?:\\.input_[1-9][0-9]*)?$",
      -              "type": "string"
      -            },
      -            "received": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "characters": {
      -                  "minimum": 0,
      -                  "type": "integer"
      -                },
      -                "item_count": {
      -                  "minimum": 0,
      -                  "type": "integer"
      -                },
      -                "type": {
      -                  "enum": [
      -                    "missing",
      -                    "null",
      -                    "boolean",
      -                    "integer",
      -                    "number",
      -                    "string",
      -                    "array",
      -                    "object",
      -                    "other"
      -                  ]
      -                },
      -                "utf8_bytes": {
      -                  "minimum": 0,
      -                  "type": "integer"
      -                }
      -              },
      -              "required": [
      -                "type"
      -              ],
      -              "type": "object"
      -            }
      -          },
      -          "required": [
      -            "path",
      -            "code",
      -            "message",
      -            "hint"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 50,
      -        "minItems": 1,
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "error",
      -      "issues"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "const": "run_unavailable"
      -      },
      -      "message": {
      -        "maxLength": 240,
      -        "type": "string"
      -      },
      -      "next_action": {
      -        "maxLength": 240,
      -        "type": "string"
      -      },
      -      "reason": {
      -        "enum": [
      -          "recipe_validation_failed",
      -          "recipe_step_policy_restricted",
      -          "recipe_fee_configuration_invalid",
      -          "invalid_credit_evidence",
      -          "admission_inconsistent",
      -          "configuration_unavailable"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "error",
      -      "reason",
      -      "message",
      -      "next_action"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "const": "pricing_unavailable"
      -      },
      -      "message": {
      -        "maxLength": 240,
      -        "type": "string"
      -      },
      -      "next_action": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "action": {
      -            "const": "choose_another_recipe"
      -          },
      -          "reason": {
      -            "maxLength": 240,
      -            "type": "string"
      -          },
      -          "tool": {
      -            "const": "search_recipes"
      -          }
      -        },
      -        "required": [
      -          "tool",
      -          "action",
      -          "reason"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "error",
      -      "message",
      -      "next_action"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "available_credits": {
      +        "maxLength": 64,
      +        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +        "type": "string"
      +      },
      +      "balance_as_of": {
      +        "format": "date-time",
      +        "maxLength": 64,
      +        "type": "string"
      +      },
      +      "ceiling_explanation": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "basis": {
      +            "const": "current_effective_rates_and_runtime_bounds"
      +          },
      +          "details_limited": {
      +            "type": "boolean"
      +          },
      +          "meaning": {
      +            "maxLength": 500,
      +            "type": "string"
      +          },
      +          "provider_floors": {
      +            "items": {
      +              "type": "object"
      +            },
      +            "maxItems": 20,
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "meaning",
      +          "basis",
      +          "provider_floors",
      +          "details_limited"
      +        ],
      +        "type": "object"
      +      },
      +      "estimate_basis": {
      +        "const": "conservative_input_aware"
      +      },
      +      "estimated_credits": {
      +        "maxLength": 64,
      +        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +        "type": "string"
      +      },
      +      "execution_credits": {
      +        "maxLength": 64,
      +        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +        "type": "string"
      +      },
      +      "fee_credits": {
      +        "maxLength": 64,
      +        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +        "type": "string"
      +      },
      +      "historical_comparison": {
      +        "enum": [
      +          "lower",
      +          "same",
      +          "higher",
      +          "unknown"
      +        ]
      +      },
      +      "historical_credit_band": {
      +        "enum": [
      +          "unknown",
      +          "free",
      +          "0_to_10",
      +          "10_to_100",
      +          "over_100"
      +        ]
      +      },
      +      "history": {
      +        "additionalProperties": false,
      +        "description": "Credits charged by past successful top-level runs of this recipe. Numbers are null with fewer than three successful runs in the window.",
      +        "properties": {
      +          "average_credits": {
      +            "maxLength": 32,
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "failed_runs": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "last_run_at": {
      +            "maxLength": 40,
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "median_credits": {
      +            "maxLength": 32,
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "p90_credits": {
      +            "maxLength": 32,
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "successful_runs": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "window_days": {
      +            "minimum": 1,
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "successful_runs",
      +          "failed_runs",
      +          "average_credits",
      +          "median_credits",
      +          "p90_credits",
      +          "last_run_at",
      +          "window_days"
      +        ],
      +        "type": "object"
      +      },
      +      "input_token_floor": {
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "marketplace_fee_credits": {
      +        "maxLength": 64,
      +        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +        "type": "string"
      +      },
      +      "outcome": {
      +        "const": "estimated"
      +      },
      +      "pricing_warning": {
      +        "maxLength": 240,
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "sufficient": {
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "outcome",
      +      "execution_credits",
      +      "marketplace_fee_credits",
      +      "estimated_credits",
      +      "available_credits",
      +      "sufficient",
      +      "estimate_basis",
      +      "input_token_floor",
      +      "historical_credit_band",
      +      "historical_comparison",
      +      "pricing_warning"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "estimated_credits": {
      +        "maxLength": 64,
      +        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +        "type": "string"
      +      },
      +      "history": {
      +        "additionalProperties": false,
      +        "description": "Credits charged by past successful top-level runs of this recipe. Numbers are null with fewer than three successful runs in the window.",
      +        "properties": {
      +          "average_credits": {
      +            "maxLength": 32,
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "failed_runs": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "last_run_at": {
      +            "maxLength": 40,
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "median_credits": {
      +            "maxLength": 32,
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "p90_credits": {
      +            "maxLength": 32,
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "successful_runs": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "window_days": {
      +            "minimum": 1,
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "successful_runs",
      +          "failed_runs",
      +          "average_credits",
      +          "median_credits",
      +          "p90_credits",
      +          "last_run_at",
      +          "window_days"
      +        ],
      +        "type": "object"
      +      },
      +      "outcome": {
      +        "const": "started"
      +      },
      +      "run_id": {
      +        "maxLength": 26,
      +        "minLength": 26,
      +        "pattern": "^[0-9A-Za-z]{26}$",
      +        "type": "string"
      +      },
      +      "status": {
      +        "const": "queued"
      +      }
      +    },
      +    "required": [
      +      "outcome",
      +      "run_id",
      +      "status",
      +      "estimated_credits"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "outcome": {
      +        "const": "replayed"
      +      },
      +      "run_id": {
      +        "maxLength": 26,
      +        "minLength": 26,
      +        "pattern": "^[0-9A-Za-z]{26}$",
      +        "type": "string"
      +      },
      +      "status": {
      +        "enum": [
      +          "queued",
      +          "running",
      +          "done",
      +          "failed",
      +          "cancelled",
      +          "blocked"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "outcome",
      +      "run_id",
      +      "status"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "const": "recipe_unavailable"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "const": "run_unavailable"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "const": "account_unavailable"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "const": "invalid_inputs"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "const": "idempotency_conflict"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "const": "idempotency_unavailable"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "const": "run_limit"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "const": "rate_limited"
      +      },
      +      "retry_after_seconds": {
      +        "maximum": 86400,
      +        "minimum": 1,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "error",
      +      "retry_after_seconds"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "available_credits": {
      +        "maxLength": 64,
      +        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +        "type": "string"
      +      },
      +      "error": {
      +        "const": "insufficient_credits"
      +      },
      +      "required_credits": {
      +        "maxLength": 64,
      +        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "error",
      +      "required_credits",
      +      "available_credits"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "const": "invalid_inputs"
      +      },
      +      "issues": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "code": {
      +              "enum": [
      +                "required",
      +                "blank",
      +                "invalid_type",
      +                "unknown_handle",
      +                "too_many_inputs",
      +                "max_characters",
      +                "max_value_utf8_bytes",
      +                "max_total_utf8_bytes"
      +              ]
      +            },
      +            "hint": {
      +              "maxLength": 200,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "limit": {
      +              "minimum": 1,
      +              "type": "integer"
      +            },
      +            "message": {
      +              "maxLength": 160,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "path": {
      +              "maxLength": 32,
      +              "pattern": "^inputs(?:\\.input_[1-9][0-9]*)?$",
      +              "type": "string"
      +            },
      +            "received": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "characters": {
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                "item_count": {
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                "type": {
      +                  "enum": [
      +                    "missing",
      +                    "null",
      +                    "boolean",
      +                    "integer",
      +                    "number",
      +                    "string",
      +                    "array",
      +                    "object",
      +                    "other"
      +                  ]
      +                },
      +                "utf8_bytes": {
      +                  "minimum": 0,
      +                  "type": "integer"
      +                }
      +              },
      +              "required": [
      +                "type"
      +              ],
      +              "type": "object"
      +            }
      +          },
      +          "required": [
      +            "path",
      +            "code",
      +            "message",
      +            "hint"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "minItems": 1,
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "error",
      +      "issues"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "const": "run_unavailable"
      +      },
      +      "message": {
      +        "maxLength": 240,
      +        "type": "string"
      +      },
      +      "next_action": {
      +        "maxLength": 240,
      +        "type": "string"
      +      },
      +      "reason": {
      +        "enum": [
      +          "recipe_validation_failed",
      +          "recipe_step_policy_restricted",
      +          "recipe_fee_configuration_invalid",
      +          "invalid_credit_evidence",
      +          "admission_inconsistent",
      +          "configuration_unavailable"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "error",
      +      "reason",
      +      "message",
      +      "next_action"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "const": "pricing_unavailable"
      +      },
      +      "message": {
      +        "maxLength": 240,
      +        "type": "string"
      +      },
      +      "next_action": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "action": {
      +            "const": "choose_another_recipe"
      +          },
      +          "reason": {
      +            "maxLength": 240,
      +            "type": "string"
      +          },
      +          "tool": {
      +            "const": "search_recipes"
      +          }
      +        },
      +        "required": [
      +          "tool",
      +          "action",
      +          "reason"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "error",
      +      "message",
      +      "next_action"
      +    ],
      +    "type": "object"
      +  }
      +]
  4. First observed

TDQS

A4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations indicate destructiveHint=true and readOnlyHint=false, so the description's mention of charging credits and pausing/resuming aligns. It adds critical behavioral context: dry_run is non-destructive, runs can pause on credit exhaustion, and retry on recipe_ref_expired. This goes beyond annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is reasonably concise, front-loading the primary purpose (estimate or run) and dry_run specifics. It covers key behaviors in a few sentences without excessive detail, though it could be slightly more organized.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the output schema exists, the description doesn't need to detail return values. It explains the high-level behavior, error handling, and credit implications, which is sufficient for an agent to select and invoke correctly. Missing details like exact format of inputs are covered by schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must compensate. It explains dry_run and recipe_ref (expired handling), but doesn't detail inputs or idempotency_key beyond schema. However, for a complex tool with 4 params, it gives enough meaning to understand the core parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it estimates or runs a published recipe, distinguishing two modes: dry_run for estimation and actual execution. It references 'previewed public or account-authorized published recipe', which differentiates from siblings like get_recipe_preview (preview) and start_recipe_build (building), but doesn't explicitly name alternatives.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context for when to use dry_run (to estimate credits, fees, balance) and when to run (after preview), and mentions handling of paused runs and recipe_ref_expired with retry guidance. It doesn't explicitly say when not to use this tool vs siblings, but the context is sufficient for an agent to infer.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources