changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "count": {
- "description": "Number of destinations returned (max 8).",
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "methodologyUrl": {
- "description": "How Tipping Rules reviews and sources guidance.",
- "format": "uri",
- "type": "string"
- },
- "ok": {
- "const": true,
- "description": "True when search completed successfully.",
- "type": "boolean"
- },
- "query": {
- "description": "Echo of the submitted search query.",
- "type": "string"
- },
- "results": {
- "description": "Matching destinations ordered by relevance.",
- "items": {
- "additionalProperties": false,
- "properties": {
- "canonicalUrl": {
- "description": "Canonical country page URL on tippingrules.com.",
- "format": "uri",
- "type": "string"
- },
- "name": {
- "description": "Display name of the destination.",
- "type": "string"
- },
- "region": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Region label from the catalog, when available."
- },
- "slug": {
- "description": "Country slug for follow-up tool calls.",
- "type": "string"
- },
- "status": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Tipping expectation label, when available."
- }
- },
- "required": [
- "slug",
- "name",
- "status",
- "region",
- "canonicalUrl"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "source": {
- "const": "Tipping Rules",
- "description": "Attribution for downstream citations.",
- "type": "string"
- }
- },
- "required": [
- "ok",
- "query",
- "count",
- "results",
- "methodologyUrl",
- "source"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "code": {
- "description": "Machine-readable error code (e.g. NOT_FOUND, VALIDATION, TIMEOUT).",
- "type": "string"
- },
- "message": {
- "description": "Short, agent-safe error message.",
- "type": "string"
- },
- "ok": {
- "const": false,
- "description": "False when the tool could not complete successfully.",
- "type": "boolean"
- }
- },
- "required": [
- "ok",
- "code",
- "message"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "count": {
+ "description": "Number of destinations returned (max 8).",
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "methodologyUrl": {
+ "description": "How Tipping Rules reviews and sources guidance.",
+ "format": "uri",
+ "type": "string"
+ },
+ "ok": {
+ "const": true,
+ "description": "True when search completed successfully.",
+ "type": "boolean"
+ },
+ "query": {
+ "description": "Echo of the submitted search query.",
+ "type": "string"
+ },
+ "results": {
+ "description": "Matching destinations ordered by relevance.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "canonicalUrl": {
+ "description": "Canonical country page URL on tippingrules.com.",
+ "format": "uri",
+ "type": "string"
+ },
+ "name": {
+ "description": "Display name of the destination.",
+ "type": "string"
+ },
+ "region": {
+ "description": "Region label from the catalog, when available.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "slug": {
+ "description": "Country slug for follow-up tool calls.",
+ "type": "string"
+ },
+ "status": {
+ "description": "Tipping expectation label, when available.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "slug",
+ "name",
+ "status",
+ "region",
+ "canonicalUrl"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "source": {
+ "const": "Tipping Rules",
+ "description": "Attribution for downstream citations.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "ok",
+ "query",
+ "count",
+ "results",
+ "methodologyUrl",
+ "source"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "description": "Machine-readable error code (e.g. NOT_FOUND, VALIDATION, TIMEOUT).",
+ "type": "string"
+ },
+ "message": {
+ "description": "Short, agent-safe error message.",
+ "type": "string"
+ },
+ "ok": {
+ "const": false,
+ "description": "False when the tool could not complete successfully.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "ok",
+ "code",
+ "message"
+ ],
+ "type": "object"
+ }
+]