addedOutput schema / properties
Added value: +{
+ "result": {
+ "allOf": [
+ {
+ "properties": {
+ "meta": {
+ "additionalProperties": false,
+ "properties": {
+ "request_id": {
+ "description": "Unique request identifier",
+ "example": "req_clxxxxxxxxxxxxxxxxxxxxxxxxx",
+ "type": "string"
+ }
+ },
+ "required": [
+ "request_id"
+ ],
+ "type": "object"
+ },
+ "ok": {
+ "enum": [
+ true
+ ],
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "ok",
+ "meta"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "data": {
+ "additionalProperties": false,
+ "properties": {
+ "results": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "allOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "description": "Machine-readable error code",
+ "example": "validation_error",
+ "type": "string"
+ },
+ "doc_url": {
+ "description": "Link to error documentation",
+ "format": "uri",
+ "type": "string"
+ },
+ "errors": {
+ "description": "Accumulated per-field issues (validation errors)",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "description": "Issue code from the validator",
+ "example": "invalid_string",
+ "type": "string"
+ },
+ "field": {
+ "description": "Dot-path to the failing field",
+ "example": "to.email",
+ "type": "string"
+ },
+ "message": {
+ "description": "Human-readable issue message",
+ "type": "string"
+ }
+ },
+ "required": [
+ "field",
+ "code",
+ "message"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "description": "Human-readable error description",
+ "type": "string"
+ },
+ "param": {
+ "description": "Parameter that caused the error",
+ "type": "string"
+ },
+ "retryable": {
+ "description": "True when the client may safely retry the same request. 429 and 5xx default true; 4xx default false.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "code",
+ "message",
+ "retryable"
+ ],
+ "type": "object"
+ },
+ {
+ "description": "Error details (only if failed)"
+ }
+ ]
+ },
+ "index": {
+ "description": "Position in the input array",
+ "type": "integer"
+ },
+ "message_id": {
+ "description": "Message ID (null if failed)",
+ "pattern": "^eml_[a-z0-9]{24}$",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "status": {
+ "description": "Result status",
+ "enum": [
+ "queued",
+ "failed"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "index",
+ "message_id",
+ "status"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "summary": {
+ "additionalProperties": false,
+ "properties": {
+ "failed": {
+ "description": "Failed count",
+ "type": "integer"
+ },
+ "queued": {
+ "description": "Successfully queued count",
+ "type": "integer"
+ },
+ "total": {
+ "description": "Total messages in batch",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "total",
+ "queued",
+ "failed"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "results",
+ "summary"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "data"
+ ],
+ "type": "object"
+ }
+ ],
+ "unevaluatedProperties": {
+ "not": {}
+ },
+ "x-fastmcp-top-level-schema": "BatchSendSuccessResponse"
+ }
+}