changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "done": {
- "type": "boolean"
- },
- "error": {
- "additionalProperties": false,
- "properties": {
- "message": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "message"
- ],
- "type": "object"
- },
- "jobId": {
- "type": "string"
- },
- "output": {
- "additionalProperties": false,
- "properties": {
- "metadata": {
- "additionalProperties": false,
- "properties": {
- "author": {
- "type": [
- "string",
- "null"
- ]
- },
- "creationDate": {
- "type": [
- "string",
- "null"
- ]
- },
- "producer": {
- "type": [
- "string",
- "null"
- ]
- },
- "subject": {
- "type": [
- "string",
- "null"
- ]
- },
- "title": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "title",
- "author",
- "subject",
- "producer",
- "creationDate"
- ],
- "type": "object"
- },
- "pageCount": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "pages": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "chars": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "page": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- },
- "required": [
- "page",
- "text",
- "chars"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "pagesWithoutText": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "processedPages": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "truncated": {
- "type": "boolean"
- },
- "url": {
- "type": "string"
- }
- },
- "required": [
- "url",
- "pageCount",
- "processedPages",
- "pages",
- "pagesWithoutText",
- "metadata",
- "truncated"
- ],
- "type": "object"
- },
- "pollUrl": {
- "type": "string"
- },
- "status": {
- "enum": [
- "queued",
- "running",
- "paused",
- "errored",
- "terminated",
- "complete",
- "waiting",
- "waitingForPause",
- "rollingBack",
- "unknown"
- ],
- "type": "string"
- }
- },
- "required": [
- "jobId",
- "status",
- "done",
- "pollUrl"
- ],
- "type": "object"
- },
- {
- "description": "x402 PaymentRequired (returned with isError when payment is needed)",
- "properties": {
- "accepts": {
- "items": {
- "type": "object"
- },
- "type": "array"
- },
- "error": {
- "type": "string"
- },
- "extensions": {
- "type": "object"
- },
- "resource": {
- "type": "object"
- },
- "x402Version": {
- "type": "integer"
- }
- },
- "required": [
- "x402Version",
- "accepts"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "done": {
+ "type": "boolean"
+ },
+ "error": {
+ "additionalProperties": false,
+ "properties": {
+ "message": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "message"
+ ],
+ "type": "object"
+ },
+ "jobId": {
+ "type": "string"
+ },
+ "next": {
+ "additionalProperties": false,
+ "description": "Suggested next paid call in the same family (call it in a loop when the task continues)",
+ "properties": {
+ "method": {
+ "enum": [
+ "GET",
+ "POST"
+ ],
+ "type": "string"
+ },
+ "sample": {
+ "description": "Free fixed sample of the whole family",
+ "type": "string"
+ },
+ "service": {
+ "description": "Service id of the suggested next paid call",
+ "type": "string"
+ },
+ "tool": {
+ "description": "MCP tool name of the same call",
+ "type": "string"
+ },
+ "url": {
+ "description": "Paid route of the next call",
+ "type": "string"
+ },
+ "useWhen": {
+ "description": "When the next call is the right one",
+ "type": "string"
+ }
+ },
+ "required": [
+ "service",
+ "tool",
+ "method",
+ "url",
+ "useWhen",
+ "sample"
+ ],
+ "type": "object"
+ },
+ "output": {
+ "additionalProperties": false,
+ "properties": {
+ "metadata": {
+ "additionalProperties": false,
+ "properties": {
+ "author": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "creationDate": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "producer": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "subject": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "title": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "title",
+ "author",
+ "subject",
+ "producer",
+ "creationDate"
+ ],
+ "type": "object"
+ },
+ "pageCount": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "pages": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "chars": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "page": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "page",
+ "text",
+ "chars"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "pagesWithoutText": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "processedPages": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "truncated": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "url",
+ "pageCount",
+ "processedPages",
+ "pages",
+ "pagesWithoutText",
+ "metadata",
+ "truncated"
+ ],
+ "type": "object"
+ },
+ "pollUrl": {
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "queued",
+ "running",
+ "paused",
+ "errored",
+ "terminated",
+ "complete",
+ "waiting",
+ "waitingForPause",
+ "rollingBack",
+ "unknown"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "jobId",
+ "status",
+ "done",
+ "pollUrl"
+ ],
+ "type": "object"
+ },
+ {
+ "description": "x402 PaymentRequired (returned with isError when payment is needed)",
+ "properties": {
+ "accepts": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "error": {
+ "type": "string"
+ },
+ "extensions": {
+ "type": "object"
+ },
+ "resource": {
+ "type": "object"
+ },
+ "x402Version": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "x402Version",
+ "accepts"
+ ],
+ "type": "object"
+ }
+]