{
  "schemaVersion": 1,
  "appId": "swissdlt_swissproof",
  "kind": "data",
  "title": "SwissProof",
  "summary": "Privacy-preserving file timestamps anchored on SwissDLT chain 94: read receipts, check evidence packages, chain and anchor-wallet status, and quota. Commitments only, never files.",
  "category": "research",
  "icon": "https://timestamp.swissdlt.tech/mark.svg",
  "docsUrl": "https://timestamp.swissdlt.tech/llms-full.txt",
  "upstream": {
    "transport": "mcp_remote",
    "url": "https://timestamp.swissdlt.tech/mcp",
    "auth": "none"
  },
  "pricing": {
    "model": "none"
  },
  "redistribution": {
    "displayValues": true,
    "displayRaw": true,
    "attribution": "SwissProof, provided by Urstamm AG, anchored on SwissDLT"
  },
  "manifestVersion": 2,
  "actions": [
    {
      "action": "get_swissproof_receipt",
      "readOnly": true,
      "billingTier": "read_offchain",
      "credits": 0.045,
      "description": "Retrieve a timestamp receipt and its SwissDLT status by receipt ID. Read-only; does not use the daily stamp quota.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "content": {
            "type": "array",
            "minItems": 1,
            "items": {
              "type": "object",
              "properties": {
                "type": {
                  "const": "text"
                },
                "text": {
                  "type": "string",
                  "description": "JSON text equal to structuredContent"
                }
              },
              "required": [
                "type",
                "text"
              ]
            }
          },
          "structuredContent": {
            "type": "object",
            "description": "SwissProof receipt (ch.swissproof.receipt/1.0). Commitment-only: no file, filename, original hash or salt.",
            "properties": {
              "schema": {
                "const": "ch.swissproof.receipt/1.0"
              },
              "id": {
                "type": "string",
                "format": "uuid"
              },
              "commitment": {
                "type": "string",
                "pattern": "^[a-f0-9]{64}$"
              },
              "clientReference": {
                "type": "string",
                "maxLength": 64
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "status": {
                "enum": [
                  "pending",
                  "local_only",
                  "pending_swissdlt",
                  "awaiting_funding",
                  "confirmed"
                ]
              },
              "batch": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "merkleRoot": {
                    "type": "string",
                    "pattern": "^[a-f0-9]{64}$"
                  },
                  "leafIndex": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "path": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "position": {
                          "enum": [
                            "left",
                            "right"
                          ]
                        },
                        "digest": {
                          "type": "string",
                          "pattern": "^[a-f0-9]{64}$"
                        }
                      },
                      "required": [
                        "position",
                        "digest"
                      ]
                    }
                  },
                  "checkpoint": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "sequence": {
                        "type": "integer",
                        "minimum": 1
                      },
                      "previousCheckpointDigest": {
                        "type": "string",
                        "pattern": "^[a-f0-9]{64}$"
                      },
                      "merkleRoot": {
                        "type": "string",
                        "pattern": "^[a-f0-9]{64}$"
                      },
                      "signedAt": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "publicKey": {
                        "type": "string",
                        "description": "Ed25519 public key, SPKI DER, base64"
                      },
                      "digest": {
                        "type": "string",
                        "pattern": "^[a-f0-9]{64}$"
                      },
                      "signature": {
                        "type": "string",
                        "description": "Ed25519 signature, base64"
                      },
                      "recordIds": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid"
                        }
                      }
                    },
                    "required": [
                      "id",
                      "sequence",
                      "previousCheckpointDigest",
                      "merkleRoot",
                      "signedAt",
                      "publicKey",
                      "digest",
                      "signature"
                    ]
                  }
                },
                "required": [
                  "merkleRoot",
                  "leafIndex",
                  "path",
                  "checkpoint"
                ]
              },
              "anchor": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "schema": {
                    "const": "ch.swissproof.swissdlt-anchor/1.0"
                  },
                  "chainId": {
                    "const": 94
                  },
                  "txHash": {
                    "type": "string",
                    "pattern": "^0x[0-9a-fA-F]{64}$"
                  },
                  "root": {
                    "type": "string",
                    "pattern": "^[a-f0-9]{64}$"
                  },
                  "data": {
                    "type": "string",
                    "pattern": "^0x[0-9a-f]+$"
                  },
                  "from": {
                    "type": "string",
                    "pattern": "^0x[0-9a-fA-F]{40}$"
                  },
                  "to": {
                    "type": "string",
                    "pattern": "^0x[0-9a-fA-F]{40}$"
                  },
                  "submittedAt": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "lastCheckedAt": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "verification": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "schema": {
                        "const": "ch.swissproof.swissdlt-anchor/1.0"
                      },
                      "valid": {
                        "type": "boolean"
                      },
                      "pending": {
                        "type": "boolean"
                      },
                      "txHash": {
                        "type": "string",
                        "pattern": "^0x[0-9a-fA-F]{64}$"
                      },
                      "chainId": {
                        "type": "integer"
                      },
                      "from": {
                        "type": "string",
                        "pattern": "^0x[0-9a-fA-F]{40}$"
                      },
                      "to": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "valueWei": {
                        "type": "string",
                        "pattern": "^[0-9]+$"
                      },
                      "nonce": {
                        "type": "integer"
                      },
                      "gasPriceWei": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "domain": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "root": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "expectedRoot": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "blockNumber": {
                        "type": [
                          "integer",
                          "null"
                        ]
                      },
                      "blockHash": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "blockTime": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "confirmations": {
                        "type": "integer"
                      },
                      "checks": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "label": {
                              "type": "string"
                            },
                            "status": {
                              "enum": [
                                "passed",
                                "failed",
                                "warning"
                              ]
                            },
                            "detail": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "label",
                            "status",
                            "detail"
                          ]
                        }
                      }
                    },
                    "required": [
                      "schema",
                      "valid",
                      "pending",
                      "txHash",
                      "chainId",
                      "checks"
                    ]
                  },
                  "lastError": {
                    "type": "string"
                  }
                },
                "required": [
                  "schema",
                  "chainId",
                  "txHash",
                  "root",
                  "from",
                  "to"
                ]
              },
              "block": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "height": {
                    "type": "integer"
                  },
                  "hash": {
                    "type": "string"
                  },
                  "time": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "height",
                  "hash"
                ]
              },
              "anchorWarning": {
                "type": "string"
              }
            },
            "required": [
              "schema",
              "id",
              "commitment",
              "createdAt",
              "status",
              "batch",
              "anchor",
              "block"
            ]
          }
        },
        "required": [
          "content",
          "structuredContent"
        ]
      },
      "invoke": {
        "tool": "receipt_get"
      },
      "fixtureParams": {
        "id": "5a61a071-c198-428c-bcfa-bcefe86423f0"
      },
      "signals": [],
      "ttlMs": 30000
    },
    {
      "action": "list_swissproof_receipts",
      "readOnly": true,
      "billingTier": "read_offchain",
      "credits": 0.045,
      "description": "List commitment-only receipts, newest first. Read-only; does not use the daily stamp quota.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "content": {
            "type": "array",
            "minItems": 1,
            "items": {
              "type": "object",
              "properties": {
                "type": {
                  "const": "text"
                },
                "text": {
                  "type": "string",
                  "description": "JSON text equal to structuredContent"
                }
              },
              "required": [
                "type",
                "text"
              ]
            }
          },
          "structuredContent": {
            "type": "object",
            "properties": {
              "receipts": {
                "type": "array",
                "items": {
                  "type": "object",
                  "description": "SwissProof receipt (ch.swissproof.receipt/1.0). Commitment-only: no file, filename, original hash or salt.",
                  "properties": {
                    "schema": {
                      "const": "ch.swissproof.receipt/1.0"
                    },
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "commitment": {
                      "type": "string",
                      "pattern": "^[a-f0-9]{64}$"
                    },
                    "clientReference": {
                      "type": "string",
                      "maxLength": 64
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "status": {
                      "enum": [
                        "pending",
                        "local_only",
                        "pending_swissdlt",
                        "awaiting_funding",
                        "confirmed"
                      ]
                    },
                    "batch": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "merkleRoot": {
                          "type": "string",
                          "pattern": "^[a-f0-9]{64}$"
                        },
                        "leafIndex": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "path": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "position": {
                                "enum": [
                                  "left",
                                  "right"
                                ]
                              },
                              "digest": {
                                "type": "string",
                                "pattern": "^[a-f0-9]{64}$"
                              }
                            },
                            "required": [
                              "position",
                              "digest"
                            ]
                          }
                        },
                        "checkpoint": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid"
                            },
                            "sequence": {
                              "type": "integer",
                              "minimum": 1
                            },
                            "previousCheckpointDigest": {
                              "type": "string",
                              "pattern": "^[a-f0-9]{64}$"
                            },
                            "merkleRoot": {
                              "type": "string",
                              "pattern": "^[a-f0-9]{64}$"
                            },
                            "signedAt": {
                              "type": "string",
                              "format": "date-time"
                            },
                            "publicKey": {
                              "type": "string",
                              "description": "Ed25519 public key, SPKI DER, base64"
                            },
                            "digest": {
                              "type": "string",
                              "pattern": "^[a-f0-9]{64}$"
                            },
                            "signature": {
                              "type": "string",
                              "description": "Ed25519 signature, base64"
                            },
                            "recordIds": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid"
                              }
                            }
                          },
                          "required": [
                            "id",
                            "sequence",
                            "previousCheckpointDigest",
                            "merkleRoot",
                            "signedAt",
                            "publicKey",
                            "digest",
                            "signature"
                          ]
                        }
                      },
                      "required": [
                        "merkleRoot",
                        "leafIndex",
                        "path",
                        "checkpoint"
                      ]
                    },
                    "anchor": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "schema": {
                          "const": "ch.swissproof.swissdlt-anchor/1.0"
                        },
                        "chainId": {
                          "const": 94
                        },
                        "txHash": {
                          "type": "string",
                          "pattern": "^0x[0-9a-fA-F]{64}$"
                        },
                        "root": {
                          "type": "string",
                          "pattern": "^[a-f0-9]{64}$"
                        },
                        "data": {
                          "type": "string",
                          "pattern": "^0x[0-9a-f]+$"
                        },
                        "from": {
                          "type": "string",
                          "pattern": "^0x[0-9a-fA-F]{40}$"
                        },
                        "to": {
                          "type": "string",
                          "pattern": "^0x[0-9a-fA-F]{40}$"
                        },
                        "submittedAt": {
                          "type": "string",
                          "format": "date-time"
                        },
                        "lastCheckedAt": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "verification": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "schema": {
                              "const": "ch.swissproof.swissdlt-anchor/1.0"
                            },
                            "valid": {
                              "type": "boolean"
                            },
                            "pending": {
                              "type": "boolean"
                            },
                            "txHash": {
                              "type": "string",
                              "pattern": "^0x[0-9a-fA-F]{64}$"
                            },
                            "chainId": {
                              "type": "integer"
                            },
                            "from": {
                              "type": "string",
                              "pattern": "^0x[0-9a-fA-F]{40}$"
                            },
                            "to": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "valueWei": {
                              "type": "string",
                              "pattern": "^[0-9]+$"
                            },
                            "nonce": {
                              "type": "integer"
                            },
                            "gasPriceWei": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "domain": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "root": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "expectedRoot": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "blockNumber": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "blockHash": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "blockTime": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "confirmations": {
                              "type": "integer"
                            },
                            "checks": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "label": {
                                    "type": "string"
                                  },
                                  "status": {
                                    "enum": [
                                      "passed",
                                      "failed",
                                      "warning"
                                    ]
                                  },
                                  "detail": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "label",
                                  "status",
                                  "detail"
                                ]
                              }
                            }
                          },
                          "required": [
                            "schema",
                            "valid",
                            "pending",
                            "txHash",
                            "chainId",
                            "checks"
                          ]
                        },
                        "lastError": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "schema",
                        "chainId",
                        "txHash",
                        "root",
                        "from",
                        "to"
                      ]
                    },
                    "block": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "height": {
                          "type": "integer"
                        },
                        "hash": {
                          "type": "string"
                        },
                        "time": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "height",
                        "hash"
                      ]
                    },
                    "anchorWarning": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "schema",
                    "id",
                    "commitment",
                    "createdAt",
                    "status",
                    "batch",
                    "anchor",
                    "block"
                  ]
                },
                "description": "Newest first"
              }
            },
            "required": [
              "receipts"
            ]
          }
        },
        "required": [
          "content",
          "structuredContent"
        ]
      },
      "invoke": {
        "tool": "receipt_list"
      },
      "fixtureParams": {},
      "signals": [],
      "ttlMs": 30000
    },
    {
      "action": "check_swissproof_evidence",
      "readOnly": true,
      "billingTier": "read_offchain",
      "credits": 0.045,
      "description": "Verify an evidence package against a locally computed file digest and commitment. Raw file contents are not accepted. Read-only; does not use the daily stamp quota. Pass the evidence package with digests computed locally; the file itself is never sent.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "evidence": {
            "type": "object"
          },
          "fileDigest": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "computedCommitment": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          }
        },
        "required": [
          "evidence",
          "fileDigest",
          "computedCommitment"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "content": {
            "type": "array",
            "minItems": 1,
            "items": {
              "type": "object",
              "properties": {
                "type": {
                  "const": "text"
                },
                "text": {
                  "type": "string",
                  "description": "JSON text equal to structuredContent"
                }
              },
              "required": [
                "type",
                "text"
              ]
            }
          },
          "structuredContent": {
            "type": "object",
            "description": "verified: every check passed. partial: local checks passed, SwissDLT not confirmed. failed: a required check failed.",
            "properties": {
              "status": {
                "enum": [
                  "verified",
                  "partial",
                  "failed"
                ]
              },
              "checks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "label": {
                      "type": "string"
                    },
                    "status": {
                      "enum": [
                        "passed",
                        "failed",
                        "warning"
                      ]
                    },
                    "detail": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "label",
                    "status",
                    "detail"
                  ]
                }
              }
            },
            "required": [
              "status",
              "checks"
            ]
          }
        },
        "required": [
          "content",
          "structuredContent"
        ]
      },
      "invoke": {
        "tool": "proof_verify"
      },
      "fixtureParams": {
        "evidence": {
          "schema": "ch.swissproof.evidence/1.0",
          "file": {
            "sha256": "f897256a6a588d8a94ced79db76a37d6a050166f92a994ecad1b4c7eae21ab93",
            "blinded": false
          },
          "proof": {
            "schema": "ch.swissproof.receipt/1.0",
            "id": "5a61a071-c198-428c-bcfa-bcefe86423f0",
            "commitment": "f897256a6a588d8a94ced79db76a37d6a050166f92a994ecad1b4c7eae21ab93",
            "batch": {
              "merkleRoot": "e781c5b9dc6212a8bc1493df96c1fe286106b7b3ad26b1fec5b8a31f735dbd8f",
              "leafIndex": 1,
              "path": [
                {
                  "position": "left",
                  "digest": "485ce5d87e579d2df0afcd17fa32af0e96262c67f686878cec45e637a376ae04"
                }
              ],
              "checkpoint": {
                "id": "af59a565-c066-4c5c-98eb-23c4a91b0f36",
                "sequence": 58,
                "previousCheckpointDigest": "6a8fee89494fe1e33fb13722618d9b77278a02059379889d0a731813ac227a2f",
                "merkleRoot": "e781c5b9dc6212a8bc1493df96c1fe286106b7b3ad26b1fec5b8a31f735dbd8f",
                "signedAt": "2026-11-07T20:10:31.931Z",
                "publicKey": "MCowBQYDK2VwAyEAL59Q5Kpmvfcb7IvEYdWFhu2RspXCs/g/NuMLcK7/FlU=",
                "digest": "fa50b027fc6a59463ce6017932dfdae328e53735059bd64753d7c9001fd6457b",
                "signature": "cotQVMEF2NFBpnW4+0S2V8f6sNTsvVN8P4jEp2OSofVM3e2zbL9jIoZveS1m8FK7iuhgklhev4xe0oHD0p2CDw==",
                "recordIds": [
                  "a19d1aba-9fad-4286-a13e-987a31ab21ca",
                  "5a61a071-c198-428c-bcfa-bcefe86423f0"
                ]
              }
            },
            "anchor": {
              "txHash": "0x2ddee22fb0ea0a6c700a24cd75f655593536f7fe2893c7dfcfafafbf61182d22"
            }
          }
        },
        "fileDigest": "f897256a6a588d8a94ced79db76a37d6a050166f92a994ecad1b4c7eae21ab93",
        "computedCommitment": "f897256a6a588d8a94ced79db76a37d6a050166f92a994ecad1b4c7eae21ab93"
      },
      "signals": [],
      "ttlMs": 0
    },
    {
      "action": "get_swissproof_chain_status",
      "readOnly": true,
      "billingTier": "read_offchain",
      "credits": 0.045,
      "description": "Read live SwissDLT chain and BCTS anchor-wallet status. Read-only; does not use the daily stamp quota.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "content": {
            "type": "array",
            "minItems": 1,
            "items": {
              "type": "object",
              "properties": {
                "type": {
                  "const": "text"
                },
                "text": {
                  "type": "string",
                  "description": "JSON text equal to structuredContent"
                }
              },
              "required": [
                "type",
                "text"
              ]
            }
          },
          "structuredContent": {
            "type": "object",
            "properties": {
              "chain": {
                "type": "object",
                "properties": {
                  "chainId": {
                    "const": 94
                  },
                  "networkId": {
                    "type": "integer"
                  },
                  "rpc": {
                    "type": "string"
                  },
                  "blockNumber": {
                    "type": "integer"
                  },
                  "blockHash": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "blockTime": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "syncing": {
                    "type": "boolean"
                  },
                  "peerCount": {
                    "type": "integer"
                  }
                },
                "required": [
                  "chainId",
                  "networkId",
                  "rpc",
                  "blockNumber",
                  "syncing",
                  "peerCount"
                ]
              },
              "balance": {
                "type": "object",
                "properties": {
                  "address": {
                    "type": "string",
                    "pattern": "^0x[0-9a-fA-F]{40}$"
                  },
                  "wei": {
                    "type": "string",
                    "pattern": "^[0-9]+$"
                  },
                  "bcts": {
                    "type": "string"
                  }
                },
                "required": [
                  "address",
                  "wei",
                  "bcts"
                ]
              }
            },
            "required": [
              "chain",
              "balance"
            ]
          }
        },
        "required": [
          "content",
          "structuredContent"
        ]
      },
      "invoke": {
        "tool": "chain_status"
      },
      "fixtureParams": {},
      "signals": [],
      "ttlMs": 0
    },
    {
      "action": "get_swissproof_anchor_wallet",
      "readOnly": true,
      "billingTier": "read_offchain",
      "credits": 0.045,
      "description": "Get the public BCTS anchor-wallet configuration and balance. Never returns private key material. Read-only; does not use the daily stamp quota.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "content": {
            "type": "array",
            "minItems": 1,
            "items": {
              "type": "object",
              "properties": {
                "type": {
                  "const": "text"
                },
                "text": {
                  "type": "string",
                  "description": "JSON text equal to structuredContent"
                }
              },
              "required": [
                "type",
                "text"
              ]
            }
          },
          "structuredContent": {
            "type": "object",
            "properties": {
              "config": {
                "type": "object",
                "properties": {
                  "schema": {
                    "const": "ch.swissproof.swissdlt-anchor/1.0"
                  },
                  "chainId": {
                    "const": 94
                  },
                  "chainIdHex": {
                    "const": "0x5e"
                  },
                  "rpcUrls": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "currency": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "symbol": {
                        "const": "BCTS"
                      },
                      "decimals": {
                        "const": 18
                      }
                    },
                    "required": [
                      "name",
                      "symbol",
                      "decimals"
                    ]
                  },
                  "anchorDomain": {
                    "type": "string"
                  },
                  "eip1559": {
                    "const": false
                  },
                  "address": {
                    "type": "string",
                    "pattern": "^0x[0-9a-fA-F]{40}$"
                  },
                  "keySource": {
                    "enum": [
                      "env",
                      "file",
                      "generated"
                    ]
                  },
                  "mode": {
                    "enum": [
                      "swissdlt",
                      "local-only"
                    ]
                  }
                },
                "required": [
                  "schema",
                  "chainId",
                  "rpcUrls",
                  "currency",
                  "anchorDomain",
                  "address",
                  "mode"
                ]
              },
              "balance": {
                "type": "object",
                "properties": {
                  "address": {
                    "type": "string",
                    "pattern": "^0x[0-9a-fA-F]{40}$"
                  },
                  "wei": {
                    "type": "string",
                    "pattern": "^[0-9]+$"
                  },
                  "bcts": {
                    "type": "string"
                  }
                },
                "required": [
                  "address",
                  "wei",
                  "bcts"
                ]
              }
            },
            "required": [
              "config",
              "balance"
            ]
          }
        },
        "required": [
          "content",
          "structuredContent"
        ]
      },
      "invoke": {
        "tool": "anchor_wallet"
      },
      "fixtureParams": {},
      "signals": [],
      "ttlMs": 60000
    },
    {
      "action": "get_swissproof_quota",
      "readOnly": true,
      "billingTier": "read_offchain",
      "credits": 0.045,
      "description": "Read the current caller daily free-stamp quota without consuming it. Read-only. Reports the quota of the calling principal as SwissProof sees it.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "content": {
            "type": "array",
            "minItems": 1,
            "items": {
              "type": "object",
              "properties": {
                "type": {
                  "const": "text"
                },
                "text": {
                  "type": "string",
                  "description": "JSON text equal to structuredContent"
                }
              },
              "required": [
                "type",
                "text"
              ]
            }
          },
          "structuredContent": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "minimum": 1
              },
              "used": {
                "type": "integer",
                "minimum": 0
              },
              "remaining": {
                "type": "integer",
                "minimum": 0
              },
              "resetAt": {
                "type": "string",
                "format": "date-time"
              },
              "contact": {
                "type": "string"
              }
            },
            "required": [
              "limit",
              "used",
              "remaining",
              "resetAt",
              "contact"
            ]
          }
        },
        "required": [
          "content",
          "structuredContent"
        ]
      },
      "invoke": {
        "tool": "quota_get"
      },
      "fixtureParams": {},
      "signals": [],
      "ttlMs": 0
    }
  ]
}
