Wever Labs Agent Products
Ce que fait ce MCP
Provides agent workflow, authority, payment, work-order, proof, callback, handoff, and trust-management utilities, including x402 and USDC-related rails.
Outils
Schéma d’entrée
{'type': 'object', 'required': ['mode', 'agent_id', 'allowed_product_keys', 'requested_product_key', 'currency', 'budget_minor', 'spent_minor', 'requested_fee_minor', 'max_fee_minor', 'max_runs', 'used_runs', 'expires_at', 'as_of'], 'properties': {'mode': {'const': 'evaluate_allowance'}, 'as_of': {'type': 'string', 'pattern': '^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z(?![\\s\\S])'}, 'agent_id': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])', 'maxLength': 64, 'minLength': 1}, 'currency': {'const': 'USD'}, 'max_runs': {'type': 'integer', 'maximum': 1000000, 'minimum': 0}, 'used_runs': {'type': 'integer', 'maximum': 1000000, 'minimum': 0}, 'expires_at': {'type': 'string', 'pattern': '^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z(?![\\s\\S])'}, 'spent_minor': {'type': 'integer', 'maximum': 1000000000000, 'minimum': 0}, 'budget_minor': {'type': 'integer', 'maximum': 1000000000000, 'minimum': 0}, 'max_fee_minor': {'type': 'integer', 'maximum': 1000000000000, 'minimum': 0}, 'requested_fee_minor': {'type': 'integer', 'maximum': 1000000000000, 'minimum': 0}, 'allowed_product_keys': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])', 'maxLength': 64, 'minLength': 1}, 'maxItems': 16, 'minItems': 1, 'uniqueItems': True}, 'requested_product_key': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])', 'maxLength': 64, 'minLength': 1}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', 'required': ['mode', 'agent_id', 'policy', 'usage', 'request'], 'properties': {'mode': {'const': 'evaluate_action'}, 'usage': {'type': 'object', 'required': ['spent_minor', 'used_runs', 'as_of'], 'properties': {'as_of': {'type': 'string', 'pattern': '^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z(?![\\s\\S])'}, 'used_runs': {'type': 'integer', 'maximum': 1000000, 'minimum': 0}, 'spent_minor': {'type': 'integer', 'maximum': 1000000000000, 'minimum': 0}}, 'additionalProperties': False}, 'policy': {'type': 'object', 'required': ['policy_id', 'agent_id', 'currency', 'budget_minor', 'max_action_fee_minor', 'max_runs', 'allowed_rails', 'allowed_callback_origins', 'callback_required', 'not_before', 'expires_at'], 'properties': {'agent_id': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])', 'maxLength': 64, 'minLength': 1}, 'currency': {'const': 'USD'}, 'max_runs': {'type': 'integer', 'maximum': 1000000, 'minimum': 0}, 'policy_id': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])', 'maxLength': 64, 'minLength': 1}, 'expires_at': {'type': 'string', 'pattern': '^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z(?![\\s\\S])'}, 'not_before': {'type': 'string', 'pattern': '^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z(?![\\s\\S])'}, 'budget_minor': {'type': 'integer', 'maximum': 1000000000000, 'minimum': 0}, 'allowed_rails': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])', 'maxLength': 64, 'minLength': 1}, 'maxItems': 16, 'minItems': 0, 'uniqueItems': True}, 'callback_required': {'type': 'boolean'}, 'max_action_fee_minor': {'type': 'integer', 'maximum': 1000000000000, 'minimum': 0}, 'allowed_callback_origins': {'type': 'array', 'items': {'type': 'string', 'maxLength': 256, 'minLength': 9, 'description': 'Canonical HTTPS origin only, with no path, trailing slash, credentials, query or fragment. Matching uses the parsed request URL origin; no destination is contacted.'}, 'maxItems': 16, 'minItems': 0, 'uniqueItems': True}}, 'additionalProperties': False}, 'request': {'type': 'object', 'required': ['rail_key', 'fee_minor', 'run_count', 'callback_url'], 'properties': {'rail_key': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])', 'maxLength': 64, 'minLength': 1}, 'fee_minor': {'type': 'integer', 'maximum': 1000000000000, 'minimum': 0, 'description': 'Total fee for this action request in USD cents, including all requested runs. It is not multiplied by run_count.'}, 'run_count': {'type': 'integer', 'maximum': 1000000, 'minimum': 1}, 'callback_url': {'anyOf': [{'type': 'string', 'maxLength': 2048, 'minLength': 9, 'description': 'ASCII HTTPS URL without credentials, control characters, backslashes or fragment. Its normalized origin is compared exactly with allowed_callback_origins. No request is sent.'}, {'type': 'null'}]}}, 'additionalProperties': False}, 'agent_id': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])', 'maxLength': 64, 'minLength': 1}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', 'required': ['as_of', 'services', 'queues'], 'properties': {'as_of': {'type': 'string', 'pattern': '^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z(?![\\s\\S])', 'description': 'A valid UTC calendar timestamp with whole seconds, supplied by the caller.'}, 'queues': {'type': 'array', 'items': {'type': 'object', 'required': ['queue', 'state', 'count', 'oldest_age_seconds'], 'properties': {'count': {'type': 'integer', 'maximum': 2147483647, 'minimum': 0}, 'queue': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:/-]{0,63}(?![\\s\\S])', 'maxLength': 64, 'minLength': 1}, 'state': {'enum': ['active', 'retained']}, 'oldest_age_seconds': {'anyOf': [{'type': 'integer', 'maximum': 2147483647, 'minimum': 0}, {'type': 'null'}]}}, 'additionalProperties': False}, 'maxItems': 16, 'description': 'Unique queue names. Empty queues must have a null or zero oldest age.'}, 'services': {'type': 'array', 'items': {'type': 'object', 'required': ['service_id', 'status'], 'properties': {'status': {'enum': ['ready', 'unavailable', 'degraded']}, 'service_id': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:/-]{0,63}(?![\\s\\S])', 'maxLength': 64, 'minLength': 1}}, 'additionalProperties': False}, 'maxItems': 8, 'description': 'Unique service_id values.'}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', 'required': ['idempotency_key', 'usage', 'mode', 'objective', 'criteria', 'constraints', 'options'], 'properties': {'mode': {'const': 'evaluate'}, 'usage': {'enum': ['synthetic', 'operational']}, 'options': {'type': 'array', 'items': {'type': 'object', 'required': ['option_id', 'label', 'assessments'], 'properties': {'label': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'option_id': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])'}, 'assessments': {'type': 'array', 'items': {'type': 'object', 'required': ['criterion_id', 'value', 'evidence'], 'properties': {'value': {'anyOf': [{'type': 'integer', 'maximum': 1000000000, 'minimum': -1000000000}, {'type': 'null'}]}, 'evidence': {'type': 'array', 'items': {'type': 'object', 'required': ['reference', 'summary'], 'properties': {'summary': {'type': 'string', 'maxLength': 512, 'minLength': 1}, 'reference': {'type': 'string', 'maxLength': 256, 'minLength': 1}}, 'additionalProperties': False}, 'maxItems': 2, 'minItems': 0}, 'criterion_id': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])'}}, 'additionalProperties': False}, 'maxItems': 16, 'minItems': 1}}, 'additionalProperties': False}, 'maxItems': 16, 'minItems': 2}, 'criteria': {'type': 'array', 'items': {'type': 'object', 'required': ['criterion_id', 'label', 'direction', 'weight', 'min_value', 'max_value'], 'properties': {'label': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'weight': {'type': 'integer', 'maximum': 1000, 'minimum': 1}, 'direction': {'enum': ['maximize', 'minimize']}, 'max_value': {'type': 'integer', 'maximum': 1000000000, 'minimum': -1000000000}, 'min_value': {'type': 'integer', 'maximum': 1000000000, 'minimum': -1000000000}, 'criterion_id': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])'}}, 'additionalProperties': False}, 'maxItems': 16, 'minItems': 1}, 'objective': {'type': 'string', 'maxLength': 2000, 'minLength': 1}, 'constraints': {'type': 'array', 'items': {'type': 'object', 'required': ['criterion_id', 'operator', 'value'], 'properties': {'value': {'type': 'integer', 'maximum': 1000000000, 'minimum': -1000000000}, 'operator': {'enum': ['gte', 'lte']}, 'criterion_id': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])'}}, 'additionalProperties': False}, 'maxItems': 32, 'minItems': 0}, 'idempotency_key': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])'}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', 'oneOf': [{'type': 'object', 'required': ['mode', 'terms', 'payer_terms_signature', 'idempotency_key'], 'properties': {'mode': {'const': 'prepare_funding'}, 'terms': {'type': 'object', 'required': ['escrow_id', 'payer_wallet', 'payee_wallet', 'custody_wallet', 'chain_id', 'asset', 'amount_atomic', 'expires_at', 'funding_nonce', 'release_policy'], 'properties': {'asset': {'const': '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'}, 'chain_id': {'const': 8453}, 'escrow_id': {'type': 'string', 'pattern': '^esc_[0-9a-f]{64}(?![\\s\\S])'}, 'expires_at': {'type': 'integer', 'maximum': 4102444800, 'minimum': 1}, 'payee_wallet': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}(?![\\s\\S])'}, 'payer_wallet': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}(?![\\s\\S])'}, 'amount_atomic': {'type': 'string', 'pattern': '^(0|[1-9][0-9]{0,77})(?![\\s\\S])'}, 'funding_nonce': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{64}(?![\\s\\S])'}, 'custody_wallet': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}(?![\\s\\S])'}, 'release_policy': {'oneOf': [{'type': 'object', 'required': ['kind'], 'properties': {'kind': {'const': 'payer_signed'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['kind'], 'properties': {'kind': {'const': 'mutual'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['kind', 'attestor_wallet', 'delivery_sha256'], 'properties': {'kind': {'const': 'delivery_attestation'}, 'attestor_wallet': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}(?![\\s\\S])'}, 'delivery_sha256': {'type': 'string', 'pattern': '^[0-9a-f]{64}(?![\\s\\S])'}}, 'additionalProperties': False}]}}, 'additionalProperties': False}, 'idempotency_key': {'type': 'string', 'pattern': '^[a-zA-Z0-9_.:-]{1,128}(?![\\s\\S])'}, 'payer_terms_signature': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{130}(?![\\s\\S])'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['mode', 'escrow_id', 'idempotency_key', 'funding_payment'], 'properties': {'mode': {'const': 'fund_escrow'}, 'escrow_id': {'type': 'string', 'pattern': '^esc_[0-9a-f]{64}(?![\\s\\S])'}, 'funding_payment': {'anyOf': [{'type': 'null'}, {'type': 'object', 'required': ['x402Version', 'resource', 'accepted', 'payload'], 'properties': {'payload': {'type': 'object', 'required': ['signature', 'authorization'], 'properties': {'signature': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{130}(?![\\s\\S])'}, 'authorization': {'type': 'object', 'required': ['from', 'to', 'value', 'validAfter', 'validBefore', 'nonce'], 'properties': {'to': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}(?![\\s\\S])'}, 'from': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}(?![\\s\\S])'}, 'nonce': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{64}(?![\\s\\S])'}, 'value': {'type': 'string', 'pattern': '^(0|[1-9][0-9]{0,77})(?![\\s\\S])'}, 'validAfter': {'type': 'string', 'pattern': '^(0|[1-9][0-9]{0,77})(?![\\s\\S])'}, 'validBefore': {'type': 'string', 'pattern': '^(0|[1-9][0-9]{0,77})(?![\\s\\S])'}}, 'additionalProperties': False}}, 'additionalProperties': False}, 'accepted': {'type': 'object', 'required': ['scheme', 'network', 'asset', 'amount', 'payTo', 'maxTimeoutSeconds', 'extra'], 'properties': {'asset': {'const': '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'}, 'extra': {'type': 'object', 'required': ['name', 'version'], 'properties': {'name': {'const': 'USD Coin'}, 'version': {'const': '2'}}, 'additionalProperties': False}, 'payTo': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}(?![\\s\\S])'}, 'amount': {'type': 'string', 'pattern': '^(0|[1-9][0-9]{0,77})(?![\\s\\S])'}, 'scheme': {'const': 'exact'}, 'network': {'const': 'eip155:8453'}, 'maxTimeoutSeconds': {'type': 'integer', 'maximum': 3600, 'minimum': 1}}, 'additionalProperties': False}, 'resource': {'type': 'object', 'required': ['url', 'description', 'mimeType'], 'properties': {'url': {'type': 'string', 'maxLength': 512, 'minLength': 1}, 'mimeType': {'const': 'application/json'}, 'description': {'type': 'string', 'maxLength': 256}}, 'additionalProperties': False}, 'x402Version': {'const': 2}}, 'additionalProperties': False}]}, 'idempotency_key': {'type': 'string', 'pattern': '^[a-zA-Z0-9_.:-]{1,128}(?![\\s\\S])'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['mode', 'escrow_id', 'idempotency_key', 'mandate'], 'properties': {'mode': {'const': 'release_escrow'}, 'mandate': {'type': 'object', 'required': ['context', 'terms', 'payer_terms_signature', 'signatures'], 'properties': {'terms': {'type': 'object', 'required': ['escrow_id', 'payer_wallet', 'payee_wallet', 'custody_wallet', 'chain_id', 'asset', 'amount_atomic', 'expires_at', 'funding_nonce', 'release_policy'], 'properties': {'asset': {'const': '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'}, 'chain_id': {'const': 8453}, 'escrow_id': {'type': 'string', 'pattern': '^esc_[0-9a-f]{64}(?![\\s\\S])'}, 'expires_at': {'type': 'integer', 'maximum': 4102444800, 'minimum': 1}, 'payee_wallet': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}(?![\\s\\S])'}, 'payer_wallet': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}(?![\\s\\S])'}, 'amount_atomic': {'type': 'string', 'pattern': '^(0|[1-9][0-9]{0,77})(?![\\s\\S])'}, 'funding_nonce': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{64}(?![\\s\\S])'}, 'custody_wallet': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}(?![\\s\\S])'}, 'release_policy': {'oneOf': [{'type': 'object', 'required': ['kind'], 'properties': {'kind': {'const': 'payer_signed'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['kind'], 'properties': {'kind': {'const': 'mutual'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['kind', 'attestor_wallet', 'delivery_sha256'], 'properties': {'kind': {'const': 'delivery_attestation'}, 'attestor_wallet': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}(?![\\s\\S])'}, 'delivery_sha256': {'type': 'string', 'pattern': '^[0-9a-f]{64}(?![\\s\\S])'}}, 'additionalProperties': False}]}}, 'additionalProperties': False}, 'context': {'type': 'object', 'required': ['escrow_id', 'payer_wallet', 'payee_wallet', 'custody_wallet', 'chain_id', 'asset', 'amount_atomic', 'expires_at', 'funding_nonce', 'terms_sha256', 'funding_transaction_hash', 'release_nonce'], 'properties': {'asset': {'const': '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'}, 'chain_id': {'const': 8453}, 'escrow_id': {'type': 'string', 'pattern': '^esc_[0-9a-f]{64}(?![\\s\\S])'}, 'expires_at': {'type': 'integer', 'maximum': 4102444800, 'minimum': 1}, 'payee_wallet': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}(?![\\s\\S])'}, 'payer_wallet': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}(?![\\s\\S])'}, 'terms_sha256': {'type': 'string', 'pattern': '^[0-9a-f]{64}(?![\\s\\S])'}, 'amount_atomic': {'type': 'string', 'pattern': '^(0|[1-9][0-9]{0,77})(?![\\s\\S])'}, 'funding_nonce': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{64}(?![\\s\\S])'}, 'release_nonce': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{64}(?![\\s\\S])'}, 'custody_wallet': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}(?![\\s\\S])'}, 'funding_transaction_hash': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{64}(?![\\s\\S])'}}, 'additionalProperties': False}, 'signatures': {'oneOf': [{'type': 'object', 'required': ['payer_signature'], 'properties': {'payer_signature': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{130}(?![\\s\\S])'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['payer_signature', 'payee_signature'], 'properties': {'payee_signature': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{130}(?![\\s\\S])'}, 'payer_signature': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{130}(?![\\s\\S])'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['payee_signature', 'attestor_signature'], 'properties': {'payee_signature': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{130}(?![\\s\\S])'}, 'attestor_signature': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{130}(?![\\s\\S])'}}, 'additionalProperties': False}]}, 'payer_terms_signature': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{130}(?![\\s\\S])'}}, 'additionalProperties': False}, 'escrow_id': {'type': 'string', 'pattern': '^esc_[0-9a-f]{64}(?![\\s\\S])'}, 'idempotency_key': {'type': 'string', 'pattern': '^[a-zA-Z0-9_.:-]{1,128}(?![\\s\\S])'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['mode', 'escrow_id', 'idempotency_key'], 'properties': {'mode': {'const': 'refund_escrow'}, 'escrow_id': {'type': 'string', 'pattern': '^esc_[0-9a-f]{64}(?![\\s\\S])'}, 'idempotency_key': {'type': 'string', 'pattern': '^[a-zA-Z0-9_.:-]{1,128}(?![\\s\\S])'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['mode', 'escrow_id'], 'properties': {'mode': {'const': 'read_escrow'}, 'escrow_id': {'type': 'string', 'pattern': '^esc_[0-9a-f]{64}(?![\\s\\S])'}}, 'additionalProperties': False}], 'required': ['mode'], 'properties': {'mode': {'enum': ['prepare_funding', 'fund_escrow', 'release_escrow', 'refund_escrow', 'read_escrow']}, 'terms': {'type': 'object', 'required': ['escrow_id', 'payer_wallet', 'payee_wallet', 'custody_wallet', 'chain_id', 'asset', 'amount_atomic', 'expires_at', 'funding_nonce', 'release_policy'], 'properties': {'asset': {'const': '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'}, 'chain_id': {'const': 8453}, 'escrow_id': {'type': 'string', 'pattern': '^esc_[0-9a-f]{64}(?![\\s\\S])'}, 'expires_at': {'type': 'integer', 'maximum': 4102444800, 'minimum': 1}, 'payee_wallet': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}(?![\\s\\S])'}, 'payer_wallet': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}(?![\\s\\S])'}, 'amount_atomic': {'type': 'string', 'pattern': '^(0|[1-9][0-9]{0,77})(?![\\s\\S])'}, 'funding_nonce': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{64}(?![\\s\\S])'}, 'custody_wallet': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}(?![\\s\\S])'}, 'release_policy': {'oneOf': [{'type': 'object', 'required': ['kind'], 'properties': {'kind': {'const': 'payer_signed'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['kind'], 'properties': {'kind': {'const': 'mutual'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['kind', 'attestor_wallet', 'delivery_sha256'], 'properties': {'kind': {'const': 'delivery_attestation'}, 'attestor_wallet': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}(?![\\s\\S])'}, 'delivery_sha256': {'type': 'string', 'pattern': '^[0-9a-f]{64}(?![\\s\\S])'}}, 'additionalProperties': False}]}}, 'additionalProperties': False}, 'mandate': {'type': 'object', 'required': ['context', 'terms', 'payer_terms_signature', 'signatures'], 'properties': {'terms': {'type': 'object', 'required': ['escrow_id', 'payer_wallet', 'payee_wallet', 'custody_wallet', 'chain_id', 'asset', 'amount_atomic', 'expires_at', 'funding_nonce', 'release_policy'], 'properties': {'asset': {'const': '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'}, 'chain_id': {'const': 8453}, 'escrow_id': {'type': 'string', 'pattern': '^esc_[0-9a-f]{64}(?![\\s\\S])'}, 'expires_at': {'type': 'integer', 'maximum': 4102444800, 'minimum': 1}, 'payee_wallet': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}(?![\\s\\S])'}, 'payer_wallet': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}(?![\\s\\S])'}, 'amount_atomic': {'type': 'string', 'pattern': '^(0|[1-9][0-9]{0,77})(?![\\s\\S])'}, 'funding_nonce': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{64}(?![\\s\\S])'}, 'custody_wallet': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}(?![\\s\\S])'}, 'release_policy': {'oneOf': [{'type': 'object', 'required': ['kind'], 'properties': {'kind': {'const': 'payer_signed'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['kind'], 'properties': {'kind': {'const': 'mutual'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['kind', 'attestor_wallet', 'delivery_sha256'], 'properties': {'kind': {'const': 'delivery_attestation'}, 'attestor_wallet': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}(?![\\s\\S])'}, 'delivery_sha256': {'type': 'string', 'pattern': '^[0-9a-f]{64}(?![\\s\\S])'}}, 'additionalProperties': False}]}}, 'additionalProperties': False}, 'context': {'type': 'object', 'required': ['escrow_id', 'payer_wallet', 'payee_wallet', 'custody_wallet', 'chain_id', 'asset', 'amount_atomic', 'expires_at', 'funding_nonce', 'terms_sha256', 'funding_transaction_hash', 'release_nonce'], 'properties': {'asset': {'const': '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'}, 'chain_id': {'const': 8453}, 'escrow_id': {'type': 'string', 'pattern': '^esc_[0-9a-f]{64}(?![\\s\\S])'}, 'expires_at': {'type': 'integer', 'maximum': 4102444800, 'minimum': 1}, 'payee_wallet': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}(?![\\s\\S])'}, 'payer_wallet': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}(?![\\s\\S])'}, 'terms_sha256': {'type': 'string', 'pattern': '^[0-9a-f]{64}(?![\\s\\S])'}, 'amount_atomic': {'type': 'string', 'pattern': '^(0|[1-9][0-9]{0,77})(?![\\s\\S])'}, 'funding_nonce': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{64}(?![\\s\\S])'}, 'release_nonce': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{64}(?![\\s\\S])'}, 'custody_wallet': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}(?![\\s\\S])'}, 'funding_transaction_hash': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{64}(?![\\s\\S])'}}, 'additionalProperties': False}, 'signatures': {'oneOf': [{'type': 'object', 'required': ['payer_signature'], 'properties': {'payer_signature': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{130}(?![\\s\\S])'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['payer_signature', 'payee_signature'], 'properties': {'payee_signature': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{130}(?![\\s\\S])'}, 'payer_signature': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{130}(?![\\s\\S])'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['payee_signature', 'attestor_signature'], 'properties': {'payee_signature': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{130}(?![\\s\\S])'}, 'attestor_signature': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{130}(?![\\s\\S])'}}, 'additionalProperties': False}]}, 'payer_terms_signature': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{130}(?![\\s\\S])'}}, 'additionalProperties': False}, 'escrow_id': {'type': 'string', 'pattern': '^esc_[0-9a-f]{64}(?![\\s\\S])'}, 'funding_payment': {'anyOf': [{'type': 'null'}, {'type': 'object', 'required': ['x402Version', 'resource', 'accepted', 'payload'], 'properties': {'payload': {'type': 'object', 'required': ['signature', 'authorization'], 'properties': {'signature': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{130}(?![\\s\\S])'}, 'authorization': {'type': 'object', 'required': ['from', 'to', 'value', 'validAfter', 'validBefore', 'nonce'], 'properties': {'to': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}(?![\\s\\S])'}, 'from': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}(?![\\s\\S])'}, 'nonce': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{64}(?![\\s\\S])'}, 'value': {'type': 'string', 'pattern': '^(0|[1-9][0-9]{0,77})(?![\\s\\S])'}, 'validAfter': {'type': 'string', 'pattern': '^(0|[1-9][0-9]{0,77})(?![\\s\\S])'}, 'validBefore': {'type': 'string', 'pattern': '^(0|[1-9][0-9]{0,77})(?![\\s\\S])'}}, 'additionalProperties': False}}, 'additionalProperties': False}, 'accepted': {'type': 'object', 'required': ['scheme', 'network', 'asset', 'amount', 'payTo', 'maxTimeoutSeconds', 'extra'], 'properties': {'asset': {'const': '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'}, 'extra': {'type': 'object', 'required': ['name', 'version'], 'properties': {'name': {'const': 'USD Coin'}, 'version': {'const': '2'}}, 'additionalProperties': False}, 'payTo': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}(?![\\s\\S])'}, 'amount': {'type': 'string', 'pattern': '^(0|[1-9][0-9]{0,77})(?![\\s\\S])'}, 'scheme': {'const': 'exact'}, 'network': {'const': 'eip155:8453'}, 'maxTimeoutSeconds': {'type': 'integer', 'maximum': 3600, 'minimum': 1}}, 'additionalProperties': False}, 'resource': {'type': 'object', 'required': ['url', 'description', 'mimeType'], 'properties': {'url': {'type': 'string', 'maxLength': 512, 'minLength': 1}, 'mimeType': {'const': 'application/json'}, 'description': {'type': 'string', 'maxLength': 256}}, 'additionalProperties': False}, 'x402Version': {'const': 2}}, 'additionalProperties': False}]}, 'idempotency_key': {'type': 'string', 'pattern': '^[a-zA-Z0-9_.:-]{1,128}(?![\\s\\S])'}, 'payer_terms_signature': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{130}(?![\\s\\S])'}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', 'required': ['idempotency_key', 'usage', 'mode', 'files'], 'properties': {'mode': {'const': 'inspect'}, 'files': {'type': 'array', 'items': {'type': 'object', 'required': ['file_id', 'name', 'content_base64', 'expected_sha256'], 'properties': {'name': {'type': 'string', 'pattern': '^[^/\\\\\\u0000-\\u001f\\u007f]+(?![\\s\\S])', 'maxLength': 160, 'minLength': 1}, 'file_id': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])'}, 'content_base64': {'type': 'string', 'pattern': '^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?(?![\\s\\S])', 'maxLength': 43692}, 'expected_sha256': {'anyOf': [{'type': 'string', 'pattern': '^[a-f0-9]{64}(?![\\s\\S])'}, {'type': 'null'}]}}, 'additionalProperties': False}, 'maxItems': 16, 'minItems': 1}, 'usage': {'enum': ['synthetic', 'operational']}, 'idempotency_key': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])'}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', 'oneOf': [{'type': 'object', 'required': ['schema_version', 'mode', 'idempotency_key', 'buyer_reference', 'buyer_wallet', 'rail_key', 'amount_atomic', 'expires_at', 'description', 'usage'], 'properties': {'mode': {'const': 'create_invoice_reference'}, 'usage': {'enum': ['synthetic', 'operational']}, 'rail_key': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])', 'maxLength': 64, 'minLength': 1}, 'expires_at': {'type': 'integer', 'maximum': 4102444800, 'minimum': 0}, 'description': {'type': 'string', 'pattern': '^[^\\u0000-\\u001f\\u007f]+(?![\\s\\S])', 'maxLength': 500, 'minLength': 1}, 'buyer_wallet': {'type': 'string', 'pattern': '^0x(?!0{40})[a-fA-F0-9]{40}(?![\\s\\S])'}, 'amount_atomic': {'type': 'string', 'pattern': '^[1-9][0-9]{0,11}(?![\\s\\S])'}, 'schema_version': {'const': '1.0.0'}, 'buyer_reference': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:/-]{0,127}(?![\\s\\S])', 'maxLength': 128, 'minLength': 1}, 'idempotency_key': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])', 'maxLength': 64, 'minLength': 1}}, 'additionalProperties': False}, {'type': 'object', 'required': ['schema_version', 'mode', 'invoice_id'], 'properties': {'mode': {'const': 'read_invoice'}, 'invoice_id': {'type': 'string', 'pattern': '^inv_[a-f0-9]{64}(?![\\s\\S])'}, 'schema_version': {'const': '1.0.0'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['schema_version', 'mode', 'idempotency_key', 'invoice_id', 'expected_version', 'run_binding'], 'properties': {'mode': {'const': 'bind_invoice_to_run'}, 'invoice_id': {'type': 'string', 'pattern': '^inv_[a-f0-9]{64}(?![\\s\\S])'}, 'run_binding': {'type': 'object', 'required': ['run_id', 'receipt_reference', 'return_package_reference', 'receipt_sha256', 'return_package_sha256'], 'properties': {'run_id': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:/-]{0,127}(?![\\s\\S])', 'maxLength': 128, 'minLength': 1}, 'receipt_sha256': {'type': 'string', 'pattern': '^[a-f0-9]{64}(?![\\s\\S])'}, 'receipt_reference': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:/-]{0,127}(?![\\s\\S])', 'maxLength': 128, 'minLength': 1}, 'return_package_sha256': {'type': 'string', 'pattern': '^[a-f0-9]{64}(?![\\s\\S])'}, 'return_package_reference': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:/-]{0,127}(?![\\s\\S])', 'maxLength': 128, 'minLength': 1}}, 'additionalProperties': False}, 'schema_version': {'const': '1.0.0'}, 'idempotency_key': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])', 'maxLength': 64, 'minLength': 1}, 'expected_version': {'type': 'integer', 'maximum': 3, 'minimum': 1}}, 'additionalProperties': False}, {'type': 'object', 'required': ['schema_version', 'mode', 'idempotency_key', 'invoice_id', 'expected_version', 'decision', 'note'], 'properties': {'mode': {'const': 'review_invoice'}, 'note': {'type': 'string', 'pattern': '^[^\\u0000-\\u001f\\u007f]+(?![\\s\\S])', 'maxLength': 500, 'minLength': 1}, 'decision': {'enum': ['approve', 'reject']}, 'invoice_id': {'type': 'string', 'pattern': '^inv_[a-f0-9]{64}(?![\\s\\S])'}, 'schema_version': {'const': '1.0.0'}, 'idempotency_key': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])', 'maxLength': 64, 'minLength': 1}, 'expected_version': {'type': 'integer', 'maximum': 3, 'minimum': 1}}, 'additionalProperties': False}], 'required': ['schema_version', 'mode'], 'properties': {'mode': {'enum': ['create_invoice_reference', 'read_invoice', 'bind_invoice_to_run', 'review_invoice'], 'type': 'string'}, 'note': {'type': 'string', 'pattern': '^[^\\u0000-\\u001f\\u007f]+(?![\\s\\S])', 'maxLength': 500, 'minLength': 1}, 'usage': {'enum': ['synthetic', 'operational']}, 'decision': {'enum': ['approve', 'reject']}, 'rail_key': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])', 'maxLength': 64, 'minLength': 1}, 'expires_at': {'type': 'integer', 'maximum': 4102444800, 'minimum': 0}, 'invoice_id': {'type': 'string', 'pattern': '^inv_[a-f0-9]{64}(?![\\s\\S])'}, 'description': {'type': 'string', 'pattern': '^[^\\u0000-\\u001f\\u007f]+(?![\\s\\S])', 'maxLength': 500, 'minLength': 1}, 'run_binding': {'type': 'object', 'required': ['run_id', 'receipt_reference', 'return_package_reference', 'receipt_sha256', 'return_package_sha256'], 'properties': {'run_id': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:/-]{0,127}(?![\\s\\S])', 'maxLength': 128, 'minLength': 1}, 'receipt_sha256': {'type': 'string', 'pattern': '^[a-f0-9]{64}(?![\\s\\S])'}, 'receipt_reference': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:/-]{0,127}(?![\\s\\S])', 'maxLength': 128, 'minLength': 1}, 'return_package_sha256': {'type': 'string', 'pattern': '^[a-f0-9]{64}(?![\\s\\S])'}, 'return_package_reference': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:/-]{0,127}(?![\\s\\S])', 'maxLength': 128, 'minLength': 1}}, 'additionalProperties': False}, 'buyer_wallet': {'type': 'string', 'pattern': '^0x(?!0{40})[a-fA-F0-9]{40}(?![\\s\\S])'}, 'amount_atomic': {'type': 'string', 'pattern': '^[1-9][0-9]{0,11}(?![\\s\\S])'}, 'schema_version': {'const': '1.0.0'}, 'buyer_reference': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:/-]{0,127}(?![\\s\\S])', 'maxLength': 128, 'minLength': 1}, 'idempotency_key': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])', 'maxLength': 64, 'minLength': 1}, 'expected_version': {'type': 'integer', 'maximum': 3, 'minimum': 1}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', 'required': ['mode', 'agent_id', 'product_key', 'constraints'], 'properties': {'mode': {'const': 'prepare_workflow'}, 'agent_id': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])', 'maxLength': 64, 'minLength': 1}, 'constraints': {'type': 'object', 'required': ['max_steps', 'include_checkout_estimate', 'include_allowance_preview', 'include_proof_preparation'], 'properties': {'max_steps': {'type': 'integer', 'maximum': 5, 'minimum': 1}, 'include_allowance_preview': {'type': 'boolean'}, 'include_checkout_estimate': {'type': 'boolean'}, 'include_proof_preparation': {'type': 'boolean'}}, 'additionalProperties': False}, 'product_key': {'enum': ['diligenceops-paid-run', 'mcp-diligence-rail', 'agent-daily-operator-brief', 'agent-work-order-rail']}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', 'oneOf': [{'type': 'object', 'required': ['mode', 'idempotency_key', 'subject_wallet', 'actions', 'resources', 'expires_at', 'usage'], 'properties': {'mode': {'const': 'grant'}, 'usage': {'enum': ['synthetic', 'operational']}, 'actions': {'type': 'array', 'items': {'type': 'string', 'maxLength': 96, 'minLength': 1}, 'maxItems': 16, 'minItems': 1, 'uniqueItems': True}, 'resources': {'type': 'array', 'items': {'type': 'string', 'maxLength': 512, 'minLength': 1}, 'maxItems': 16, 'minItems': 1, 'uniqueItems': True}, 'expires_at': {'type': 'integer', 'maximum': 4102444800, 'minimum': 1}, 'subject_wallet': {'type': 'string', 'pattern': '^0x(?!0{40})[a-fA-F0-9]{40}(?![\\s\\S])'}, 'idempotency_key': {'type': 'string', 'pattern': '^[a-zA-Z0-9_-]{1,96}(?![\\s\\S])'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['mode', 'idempotency_key', 'grant_id', 'reason', 'usage'], 'properties': {'mode': {'const': 'revoke'}, 'usage': {'enum': ['synthetic', 'operational']}, 'reason': {'type': 'string', 'maxLength': 512, 'minLength': 1}, 'grant_id': {'type': 'string', 'pattern': '^[a-f0-9]{64}(?![\\s\\S])'}, 'idempotency_key': {'type': 'string', 'pattern': '^[a-zA-Z0-9_-]{1,96}(?![\\s\\S])'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['mode', 'subject_wallet', 'action', 'resource'], 'properties': {'mode': {'const': 'evaluate'}, 'action': {'type': 'string', 'maxLength': 96, 'minLength': 1}, 'resource': {'type': 'string', 'maxLength': 512, 'minLength': 1}, 'subject_wallet': {'type': 'string', 'pattern': '^0x(?!0{40})[a-fA-F0-9]{40}(?![\\s\\S])'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['mode', 'offset', 'limit'], 'properties': {'mode': {'const': 'list'}, 'limit': {'type': 'integer', 'maximum': 25, 'minimum': 1}, 'offset': {'type': 'integer', 'maximum': 255, 'minimum': 0}}, 'additionalProperties': False}], 'required': ['mode'], 'properties': {'mode': {'enum': ['grant', 'revoke', 'evaluate', 'list']}, 'limit': {'type': 'integer', 'maximum': 25, 'minimum': 1}, 'usage': {'enum': ['synthetic', 'operational']}, 'action': {'type': 'string', 'maxLength': 96, 'minLength': 1}, 'offset': {'type': 'integer', 'maximum': 255, 'minimum': 0}, 'reason': {'type': 'string', 'maxLength': 512, 'minLength': 1}, 'actions': {'type': 'array', 'items': {'type': 'string', 'maxLength': 96, 'minLength': 1}, 'maxItems': 16, 'minItems': 1, 'uniqueItems': True}, 'grant_id': {'type': 'string', 'pattern': '^[a-f0-9]{64}(?![\\s\\S])'}, 'resource': {'type': 'string', 'maxLength': 512, 'minLength': 1}, 'resources': {'type': 'array', 'items': {'type': 'string', 'maxLength': 512, 'minLength': 1}, 'maxItems': 16, 'minItems': 1, 'uniqueItems': True}, 'expires_at': {'type': 'integer', 'maximum': 4102444800, 'minimum': 1}, 'subject_wallet': {'type': 'string', 'pattern': '^0x(?!0{40})[a-fA-F0-9]{40}(?![\\s\\S])'}, 'idempotency_key': {'type': 'string', 'pattern': '^[a-zA-Z0-9_-]{1,96}(?![\\s\\S])'}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', 'oneOf': [{'type': 'object', 'required': ['mode', 'idempotency_key', 'label', 'expected_work', 'deadline_at', 'callback_url', 'retry_limit', 'usage'], 'properties': {'mode': {'const': 'record'}, 'label': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'usage': {'enum': ['synthetic', 'operational']}, 'deadline_at': {'type': 'integer', 'maximum': 4102444800, 'minimum': 1}, 'retry_limit': {'type': 'integer', 'maximum': 5, 'minimum': 0}, 'callback_url': {'anyOf': [{'type': 'string', 'maxLength': 2048, 'minLength': 1}, {'type': 'null'}]}, 'expected_work': {'oneOf': [{'type': 'object', 'required': ['kind', 'nonce'], 'properties': {'kind': {'const': 'wallet_free_call'}, 'nonce': {'type': 'string', 'pattern': '^[a-f0-9]{32,64}(?![\\s\\S])'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['kind', 'payment_id'], 'properties': {'kind': {'const': 'settled_payment'}, 'payment_id': {'type': 'string', 'pattern': '^[a-f0-9]{64}(?![\\s\\S])'}}, 'additionalProperties': False}]}, 'idempotency_key': {'type': 'string', 'pattern': '^[a-zA-Z0-9_-]{1,96}(?![\\s\\S])'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['mode', 'idempotency_key', 'sla_id', 'callback_probe_id', 'usage'], 'properties': {'mode': {'const': 'evaluate'}, 'usage': {'enum': ['synthetic', 'operational']}, 'sla_id': {'type': 'string', 'pattern': '^[a-f0-9]{64}(?![\\s\\S])'}, 'idempotency_key': {'type': 'string', 'pattern': '^[a-zA-Z0-9_-]{1,96}(?![\\s\\S])'}, 'callback_probe_id': {'anyOf': [{'type': 'string', 'pattern': '^[a-f0-9]{64}(?![\\s\\S])'}, {'type': 'null'}]}}, 'additionalProperties': False}, {'type': 'object', 'required': ['mode', 'sla_id'], 'properties': {'mode': {'const': 'retrieve'}, 'sla_id': {'type': 'string', 'pattern': '^[a-f0-9]{64}(?![\\s\\S])'}}, 'additionalProperties': False}], 'required': ['mode'], 'properties': {'mode': {'enum': ['record', 'evaluate', 'retrieve']}, 'label': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'usage': {'enum': ['synthetic', 'operational']}, 'sla_id': {'type': 'string', 'pattern': '^[a-f0-9]{64}(?![\\s\\S])'}, 'deadline_at': {'type': 'integer', 'maximum': 4102444800, 'minimum': 1}, 'retry_limit': {'type': 'integer', 'maximum': 5, 'minimum': 0}, 'callback_url': {'anyOf': [{'type': 'string', 'maxLength': 2048, 'minLength': 1}, {'type': 'null'}]}, 'expected_work': {'oneOf': [{'type': 'object', 'required': ['kind', 'nonce'], 'properties': {'kind': {'const': 'wallet_free_call'}, 'nonce': {'type': 'string', 'pattern': '^[a-f0-9]{32,64}(?![\\s\\S])'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['kind', 'payment_id'], 'properties': {'kind': {'const': 'settled_payment'}, 'payment_id': {'type': 'string', 'pattern': '^[a-f0-9]{64}(?![\\s\\S])'}}, 'additionalProperties': False}]}, 'idempotency_key': {'type': 'string', 'pattern': '^[a-zA-Z0-9_-]{1,96}(?![\\s\\S])'}, 'callback_probe_id': {'anyOf': [{'type': 'string', 'pattern': '^[a-f0-9]{64}(?![\\s\\S])'}, {'type': 'null'}]}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', 'oneOf': [{'type': 'object', 'required': ['mode', 'idempotency_key', 'recipient_wallet', 'task', 'permissions', 'state', 'usage'], 'properties': {'mode': {'const': 'build'}, 'task': {'type': 'object', 'required': ['task_id', 'objective', 'context'], 'properties': {'context': {'type': 'string', 'maxLength': 4000, 'minLength': 1}, 'task_id': {'type': 'string', 'pattern': '^[a-zA-Z0-9_-]{1,96}(?![\\s\\S])'}, 'objective': {'type': 'string', 'maxLength': 2000, 'minLength': 1}}, 'additionalProperties': False}, 'state': {'type': 'object', 'required': ['status', 'checkpoint', 'evidence_sha256'], 'properties': {'status': {'enum': ['pending', 'in_progress', 'blocked', 'completed']}, 'checkpoint': {'type': 'string', 'maxLength': 4000, 'minLength': 1}, 'evidence_sha256': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[a-f0-9]{64}(?![\\s\\S])'}, 'maxItems': 16, 'uniqueItems': True}}, 'additionalProperties': False}, 'usage': {'enum': ['synthetic', 'operational']}, 'permissions': {'type': 'object', 'required': ['allowed_actions', 'resources', 'expires_at', 'may_redelegate'], 'properties': {'resources': {'type': 'array', 'items': {'type': 'string', 'maxLength': 512, 'minLength': 1}, 'maxItems': 16, 'uniqueItems': True}, 'expires_at': {'type': 'integer', 'maximum': 4102444800, 'minimum': 1}, 'may_redelegate': {'const': False}, 'allowed_actions': {'type': 'array', 'items': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'maxItems': 16, 'uniqueItems': True}}, 'additionalProperties': False}, 'idempotency_key': {'type': 'string', 'pattern': '^[a-zA-Z0-9_-]{1,96}(?![\\s\\S])'}, 'recipient_wallet': {'type': 'string', 'pattern': '^0x(?!0{40})[a-fA-F0-9]{40}(?![\\s\\S])'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['mode', 'handoff_pack'], 'properties': {'mode': {'const': 'verify'}, 'handoff_pack': {'type': 'string', 'maxLength': 24000, 'minLength': 1}}, 'additionalProperties': False}], 'required': ['mode'], 'properties': {'mode': {'enum': ['build', 'verify']}, 'task': {'type': 'object', 'required': ['task_id', 'objective', 'context'], 'properties': {'context': {'type': 'string', 'maxLength': 4000, 'minLength': 1}, 'task_id': {'type': 'string', 'pattern': '^[a-zA-Z0-9_-]{1,96}(?![\\s\\S])'}, 'objective': {'type': 'string', 'maxLength': 2000, 'minLength': 1}}, 'additionalProperties': False}, 'state': {'type': 'object', 'required': ['status', 'checkpoint', 'evidence_sha256'], 'properties': {'status': {'enum': ['pending', 'in_progress', 'blocked', 'completed']}, 'checkpoint': {'type': 'string', 'maxLength': 4000, 'minLength': 1}, 'evidence_sha256': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[a-f0-9]{64}(?![\\s\\S])'}, 'maxItems': 16, 'uniqueItems': True}}, 'additionalProperties': False}, 'usage': {'enum': ['synthetic', 'operational']}, 'permissions': {'type': 'object', 'required': ['allowed_actions', 'resources', 'expires_at', 'may_redelegate'], 'properties': {'resources': {'type': 'array', 'items': {'type': 'string', 'maxLength': 512, 'minLength': 1}, 'maxItems': 16, 'uniqueItems': True}, 'expires_at': {'type': 'integer', 'maximum': 4102444800, 'minimum': 1}, 'may_redelegate': {'const': False}, 'allowed_actions': {'type': 'array', 'items': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'maxItems': 16, 'uniqueItems': True}}, 'additionalProperties': False}, 'handoff_pack': {'type': 'string', 'maxLength': 24000, 'minLength': 1}, 'idempotency_key': {'type': 'string', 'pattern': '^[a-zA-Z0-9_-]{1,96}(?![\\s\\S])'}, 'recipient_wallet': {'type': 'string', 'pattern': '^0x(?!0{40})[a-fA-F0-9]{40}(?![\\s\\S])'}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', 'required': ['mode', 'completed_work', 'payments'], 'properties': {'mode': {'const': 'compute'}, 'payments': {'type': 'array', 'items': {'type': 'object', 'required': ['transaction_hash', 'payee', 'amount_atomic', 'authorization_nonce'], 'properties': {'payee': {'type': 'string', 'pattern': '^0x(?!0{40})[a-fA-F0-9]{40}(?![\\s\\S])'}, 'amount_atomic': {'type': 'string', 'pattern': '^[1-9][0-9]{0,11}(?![\\s\\S])'}, 'transaction_hash': {'type': 'string', 'pattern': '^0x[a-fA-F0-9]{64}(?![\\s\\S])'}, 'authorization_nonce': {'type': 'string', 'pattern': '^0x[a-fA-F0-9]{64}(?![\\s\\S])'}}, 'additionalProperties': False}, 'maxItems': 5, 'uniqueItems': True}, 'completed_work': {'type': 'array', 'items': {'oneOf': [{'type': 'object', 'required': ['kind', 'nonce'], 'properties': {'kind': {'const': 'wallet_free_call'}, 'nonce': {'type': 'string', 'pattern': '^[a-f0-9]{32,64}(?![\\s\\S])'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['kind', 'payment_id'], 'properties': {'kind': {'const': 'settled_payment'}, 'payment_id': {'type': 'string', 'pattern': '^[a-f0-9]{64}(?![\\s\\S])'}}, 'additionalProperties': False}]}, 'maxItems': 10, 'uniqueItems': True}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', 'required': ['mode', 'requesting_agent_id', 'product_key', 'requested_outcome', 'task'], 'properties': {'mode': {'const': 'prepare_work_order_exchange'}, 'task': {'type': 'object', 'maxProperties': 16}, 'product_key': {'enum': ['diligenceops-paid-run', 'mcp-diligence-rail', 'agent-daily-operator-brief', 'agent-work-order-rail']}, 'requested_outcome': {'type': 'string', 'pattern': '^[^\\u0000-\\u001f\\u007f]+(?![\\s\\S])', 'maxLength': 256, 'minLength': 1}, 'requesting_agent_id': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])', 'maxLength': 64, 'minLength': 1}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', 'required': ['service_id', 'recipient_id', 'available_evidence', 'expected_evidence'], 'properties': {'service_id': {'const': 'com.weverlabs/diligenceops-inventory'}, 'recipient_id': {'type': 'string', 'pattern': '^mbx_[a-f0-9]{24}(?![\\s\\S])', 'maxLength': 28, 'minLength': 28}, 'expected_evidence': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[A-Za-z0-9_.:/ -]+(?![\\s\\S])', 'maxLength': 96, 'minLength': 1, 'description': 'ASCII only, at most 96 bytes before trimming; cannot be blank. Normalized duplicates are rejected.'}, 'maxItems': 16, 'minItems': 1}, 'available_evidence': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[A-Za-z0-9_.:/ -]+(?![\\s\\S])', 'maxLength': 96, 'minLength': 1, 'description': 'ASCII only, at most 96 bytes before trimming; cannot be blank. Normalized duplicates are rejected.'}, 'maxItems': 16, 'minItems': 0}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', 'required': ['mode', 'presentation', 'challenge_token'], 'properties': {'mode': {'const': 'verify_mandate'}, 'presentation': {'type': 'string', 'maxLength': 32768, 'minLength': 1}, 'challenge_token': {'type': 'string', 'maxLength': 16384, 'minLength': 1}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', 'oneOf': [{'type': 'object', 'required': ['mode', 'idempotency_key', 'callback_url', 'usage'], 'properties': {'mode': {'const': 'probe'}, 'usage': {'enum': ['synthetic', 'operational']}, 'callback_url': {'type': 'string', 'maxLength': 2048, 'minLength': 1}, 'idempotency_key': {'type': 'string', 'pattern': '^[a-zA-Z0-9_-]{1,96}(?![\\s\\S])'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['mode', 'probe_id'], 'properties': {'mode': {'const': 'retrieve'}, 'probe_id': {'type': 'string', 'pattern': '^[a-f0-9]{64}(?![\\s\\S])'}}, 'additionalProperties': False}], 'required': ['mode'], 'properties': {'mode': {'enum': ['probe', 'retrieve']}, 'usage': {'enum': ['synthetic', 'operational']}, 'probe_id': {'type': 'string', 'pattern': '^[a-f0-9]{64}(?![\\s\\S])'}, 'callback_url': {'type': 'string', 'maxLength': 2048, 'minLength': 1}, 'idempotency_key': {'type': 'string', 'pattern': '^[a-zA-Z0-9_-]{1,96}(?![\\s\\S])'}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', '$defs': {'grantRequest': {'type': 'object', 'required': ['operation', 'action', 'approval_reference', 'ttl_seconds', 'usage'], 'properties': {'usage': {'enum': ['synthetic', 'operational'], 'description': 'Must match the target agent usage configured on the server. Caller input cannot change credential-bound usage or attribution.'}, 'action': {'$ref': '#/$defs/workOrderAction'}, 'operation': {'const': 'create_delegated_work_order'}, 'ttl_seconds': {'type': 'integer', 'maximum': 300, 'minimum': 1}, 'approval_reference': {'type': 'string', 'pattern': '^[a-zA-Z0-9_.:-]{1,128}(?![\\s\\S])', 'maxLength': 128, 'minLength': 1}}, 'description': 'The server sets amount_units to 1 and unit to work_order. approval_reference is operator-attested and bound into the grant; it does not independently verify consent.', 'additionalProperties': False}, 'mandateInput': {'type': 'object', 'required': ['principal_id', 'agent_id', 'scopes', 'max_runs', 'max_units', 'unit', 'consent_digest', 'not_before', 'expires_at', 'usage'], 'properties': {'unit': {'const': 'work_order'}, 'usage': {'enum': ['synthetic', 'operational'], 'description': 'Must match the target agent usage configured on the server. Caller input cannot change credential-bound usage or attribution.'}, 'scopes': {'type': 'array', 'items': {'const': 'create_delegated_work_order'}, 'maxItems': 1, 'minItems': 1, 'uniqueItems': True}, 'agent_id': {'type': 'string', 'pattern': '^[a-zA-Z0-9_.:-]{1,128}(?![\\s\\S])', 'maxLength': 128, 'minLength': 1}, 'max_runs': {'type': 'integer', 'maximum': 10000, 'minimum': 1}, 'max_units': {'type': 'integer', 'maximum': 1000000000, 'minimum': 0}, 'expires_at': {'type': 'integer', 'maximum': 4102444800, 'minimum': 0}, 'not_before': {'type': 'integer', 'maximum': 4102444800, 'minimum': 0}, 'principal_id': {'type': 'string', 'pattern': '^[a-zA-Z0-9_.:-]{1,128}(?![\\s\\S])', 'maxLength': 128, 'minLength': 1}, 'consent_digest': {'type': 'string', 'pattern': '^[0-9a-f]{64}(?![\\s\\S])'}}, 'description': 'Only create_delegated_work_order is enabled. max_units counts work-order records, not currency. The server enforces time relationships and configured agent scope/usage. consent_digest records operator-attested consent, not independent verification.', 'additionalProperties': False}, 'mandateClaims': {'type': 'object', 'required': ['kind', 'audience', 'principal_id', 'agent_id', 'mandate_id', 'version', 'issued_at', 'not_before', 'expires_at', 'usage', 'scopes', 'max_runs', 'max_units', 'unit', 'consent_digest', 'issued_by'], 'properties': {'kind': {'const': 'mandate'}, 'unit': {'const': 'work_order'}, 'usage': {'enum': ['synthetic', 'operational'], 'description': 'Must match the target agent usage configured on the server. Caller input cannot change credential-bound usage or attribution.'}, 'scopes': {'type': 'array', 'items': {'const': 'create_delegated_work_order'}, 'maxItems': 1, 'minItems': 1, 'uniqueItems': True}, 'version': {'type': 'integer', 'maximum': 1000000000, 'minimum': 1}, 'agent_id': {'type': 'string', 'pattern': '^[a-zA-Z0-9_.:-]{1,128}(?![\\s\\S])', 'maxLength': 128, 'minLength': 1}, 'audience': {'const': 'wever-delegated-authority-v2'}, 'max_runs': {'type': 'integer', 'maximum': 10000, 'minimum': 1}, 'issued_at': {'type': 'integer', 'maximum': 4102444800, 'minimum': 0}, 'issued_by': {'type': 'string', 'pattern': '^[a-zA-Z0-9_.:-]{1,128}(?![\\s\\S])', 'maxLength': 128, 'minLength': 1}, 'max_units': {'type': 'integer', 'maximum': 1000000000, 'minimum': 0}, 'expires_at': {'type': 'integer', 'maximum': 4102444800, 'minimum': 0}, 'mandate_id': {'type': 'string', 'pattern': '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}(?![\\s\\S])'}, 'not_before': {'type': 'integer', 'maximum': 4102444800, 'minimum': 0}, 'principal_id': {'type': 'string', 'pattern': '^[a-zA-Z0-9_.:-]{1,128}(?![\\s\\S])', 'maxLength': 128, 'minLength': 1}, 'consent_digest': {'type': 'string', 'pattern': '^[0-9a-f]{64}(?![\\s\\S])'}}, 'additionalProperties': False}, 'signedMandate': {'type': 'object', 'required': ['context', 'algorithm', 'key_id', 'payload', 'signature'], 'properties': {'key_id': {'type': 'string', 'pattern': '^[a-zA-Z0-9_.:-]{1,128}(?![\\s\\S])', 'maxLength': 128, 'minLength': 1}, 'context': {'const': 'wever.authority.v2'}, 'payload': {'$ref': '#/$defs/mandateClaims'}, 'algorithm': {'const': 'Ed25519'}, 'signature': {'type': 'string', 'pattern': '^[A-Za-z0-9_-]{86}(?![\\s\\S])'}}, 'description': 'Use the unmodified envelope returned by the authority API. The backend verifies its signature, active time window, durable record, credentials and claim bindings. Passing this schema does not establish authority.', 'additionalProperties': False}, 'workOrderAction': {'type': 'object', 'required': ['requested_outcome', 'requirements', 'target_product_key'], 'properties': {'requirements': {'type': 'array', 'items': {'type': 'string', 'pattern': '^(?!\\s)(?![\\s\\S]*[\\u0000-\\u001f\\u007f-\\u009f])(?:[\\s\\S]*\\S)(?![\\s\\S])', 'maxLength': 256, 'minLength': 1, 'description': 'Well-formed Unicode text without surrounding whitespace or control characters, at most 256 UTF-8 bytes. JSON Schema maxLength counts characters; the backend additionally enforces well-formed Unicode and the exact UTF-8 byte limit.'}, 'maxItems': 16, 'uniqueItems': True}, 'requested_outcome': {'type': 'string', 'pattern': '^(?!\\s)(?![\\s\\S]*[\\u0000-\\u001f\\u007f-\\u009f])(?:[\\s\\S]*\\S)(?![\\s\\S])', 'maxLength': 1024, 'minLength': 1, 'description': 'Well-formed Unicode text without surrounding whitespace or control characters, at most 1024 UTF-8 bytes. JSON Schema maxLength counts characters; the backend additionally enforces well-formed Unicode and the exact UTF-8 byte limit.'}, 'target_product_key': {'enum': ['diligenceops-paid-run', 'mcp-diligence-rail', 'agent-daily-operator-brief', 'agent-work-order-rail', None], 'description': 'A maintained computation reference or null. Recording it does not execute or assign that computation.'}}, 'description': 'The exact approved immutable work-order content. No caller-supplied attribution, identifiers, prices, callback URLs or execution claims are accepted.', 'additionalProperties': False}, 'actionGrantClaims': {'type': 'object', 'required': ['kind', 'audience', 'principal_id', 'agent_id', 'mandate_id', 'version', 'issued_at', 'not_before', 'expires_at', 'usage', 'grant_id', 'operation', 'action_digest', 'amount_units', 'unit', 'downstream_key', 'approved_by', 'approval_reference_hash'], 'properties': {'kind': {'const': 'grant'}, 'unit': {'const': 'work_order'}, 'usage': {'enum': ['synthetic', 'operational'], 'description': 'Must match the target agent usage configured on the server. Caller input cannot change credential-bound usage or attribution.'}, 'version': {'type': 'integer', 'maximum': 1000000000, 'minimum': 1}, 'agent_id': {'type': 'string', 'pattern': '^[a-zA-Z0-9_.:-]{1,128}(?![\\s\\S])', 'maxLength': 128, 'minLength': 1}, 'audience': {'const': 'wever-delegated-authority-v2'}, 'grant_id': {'type': 'string', 'pattern': '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}(?![\\s\\S])'}, 'issued_at': {'type': 'integer', 'maximum': 4102444800, 'minimum': 0}, 'operation': {'const': 'create_delegated_work_order'}, 'expires_at': {'type': 'integer', 'maximum': 4102444800, 'minimum': 0}, 'mandate_id': {'type': 'string', 'pattern': '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}(?![\\s\\S])'}, 'not_before': {'type': 'integer', 'maximum': 4102444800, 'minimum': 0}, 'approved_by': {'type': 'string', 'pattern': '^[a-zA-Z0-9_.:-]{1,128}(?![\\s\\S])', 'maxLength': 128, 'minLength': 1}, 'amount_units': {'const': 1}, 'principal_id': {'type': 'string', 'pattern': '^[a-zA-Z0-9_.:-]{1,128}(?![\\s\\S])', 'maxLength': 128, 'minLength': 1}, 'action_digest': {'type': 'string', 'pattern': '^[0-9a-f]{64}(?![\\s\\S])'}, 'downstream_key': {'type': 'string', 'pattern': '^authority-v2:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}(?![\\s\\S])'}, 'approval_reference_hash': {'type': 'string', 'pattern': '^[0-9a-f]{64}(?![\\s\\S])'}}, 'additionalProperties': False}, 'signedActionGrant': {'type': 'object', 'required': ['context', 'algorithm', 'key_id', 'payload', 'signature'], 'properties': {'key_id': {'type': 'string', 'pattern': '^[a-zA-Z0-9_.:-]{1,128}(?![\\s\\S])', 'maxLength': 128, 'minLength': 1}, 'context': {'const': 'wever.authority.v2'}, 'payload': {'$ref': '#/$defs/actionGrantClaims'}, 'algorithm': {'const': 'Ed25519'}, 'signature': {'type': 'string', 'pattern': '^[A-Za-z0-9_-]{86}(?![\\s\\S])'}}, 'description': 'Use the unmodified envelope returned by the authority API. The backend verifies its signature, active time window, durable record, credentials and claim bindings. Passing this schema does not establish authority.', 'additionalProperties': False}}, 'oneOf': [{'type': 'object', 'required': ['mode'], 'properties': {'mode': {'const': 'read_control_plane'}}, 'description': 'Read the public contract. This performs no authority issuance or downstream write.', 'additionalProperties': False}, {'type': 'object', 'required': ['mode', 'mandate'], 'properties': {'mode': {'const': 'draft_mandate'}, 'mandate': {'$ref': '#/$defs/mandateInput'}}, 'description': 'Validate a public unsigned_dev draft. It is not signed, persisted or executable. Expiry must follow not_before by no more than 30 days.', 'additionalProperties': False}, {'type': 'object', 'required': ['mode', 'mandate'], 'properties': {'mode': {'const': 'issue_mandate'}, 'mandate': {'$ref': '#/$defs/mandateInput'}}, 'description': 'Requires X-Wever-Operator-Key and Idempotency-Key. Issue one durable signed mandate for a configured agent. The active time window is limited to 30 days from issuance.', 'additionalProperties': False}, {'type': 'object', 'required': ['mode', 'signed_mandate', 'request'], 'properties': {'mode': {'const': 'issue_action_grant'}, 'request': {'$ref': '#/$defs/grantRequest'}, 'signed_mandate': {'$ref': '#/$defs/signedMandate'}}, 'description': 'Requires the issuing operator X-Wever-Operator-Key and Idempotency-Key. Reserve one work_order unit and approve this exact action for at most 300 seconds. An agent cannot issue its own grant.', 'additionalProperties': False}, {'type': 'object', 'required': ['mode', 'signed_action_grant', 'action'], 'properties': {'mode': {'const': 'execute_delegated_action'}, 'action': {'$ref': '#/$defs/workOrderAction'}, 'signed_action_grant': {'$ref': '#/$defs/signedActionGrant'}}, 'description': 'Requires the target agent X-Wever-Agent-Key. Consume the signed grant once to create its immutable work-order record. This does not execute the recorded work, deliver results or authorize payment. A pending or unknown result is not success; retry the same grant or inspect it, never substitute new authority.', 'additionalProperties': False}, {'type': 'object', 'required': ['mode', 'grant_id'], 'properties': {'mode': {'const': 'inspect_action_grant'}, 'grant_id': {'type': 'string', 'pattern': '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}(?![\\s\\S])'}}, 'description': 'Requires the bound agent X-Wever-Agent-Key. Read durable grant state and any finalized result.', 'additionalProperties': False}, {'type': 'object', 'required': ['mode', 'mandate_id'], 'properties': {'mode': {'const': 'revoke_mandate'}, 'mandate_id': {'type': 'string', 'pattern': '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}(?![\\s\\S])'}}, 'description': 'Requires the issuing operator X-Wever-Operator-Key. Revoke future authority. Revocation does not undo a committed work-order record or release an uncertain in-flight effect.', 'additionalProperties': False}, {'type': 'object', 'required': ['mode', 'mandate_id'], 'properties': {'mode': {'const': 'read_audit'}, 'after': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1}, 'mandate_id': {'type': 'string', 'pattern': '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}(?![\\s\\S])'}}, 'description': 'Requires the bound agent X-Wever-Agent-Key. Read this mandate audit after the supplied cursor, default 0, with a default limit of 50.', 'additionalProperties': False}, {'type': 'object', 'required': ['mode', 'mandate'], 'properties': {'mode': {'const': 'issue_mandate'}, 'mandate': {'type': 'object', 'required': ['profile', 'challenge_token', 'holder_jwk', 'consent_digest', 'expires_at'], 'properties': {'profile': {'const': 'com.weverlabs.ap2.direct-checkout.1'}, 'expires_at': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'holder_jwk': {'type': 'object', 'required': ['kty', 'crv', 'x', 'y'], 'properties': {'x': {'type': 'string', 'pattern': '^[A-Za-z0-9_-]{43}(?![\\s\\S])'}, 'y': {'type': 'string', 'pattern': '^[A-Za-z0-9_-]{43}(?![\\s\\S])'}, 'crv': {'const': 'secp256k1'}, 'kty': {'const': 'EC'}}, 'additionalProperties': False}, 'consent_digest': {'type': 'string', 'pattern': '^[a-f0-9]{64}(?![\\s\\S])'}, 'challenge_token': {'type': 'string', 'maxLength': 16384, 'minLength': 1}}, 'additionalProperties': False}}, 'additionalProperties': False}], 'required': ['mode'], 'properties': {'mode': {'enum': ['read_control_plane', 'draft_mandate', 'issue_mandate', 'issue_action_grant', 'execute_delegated_action', 'inspect_action_grant', 'revoke_mandate', 'read_audit']}}, 'description': 'Exact delegated-authority v2 request shapes. Credentials and issuance idempotency keys are HTTP headers, never tool arguments. The backend additionally enforces signed cross-field bindings, active time windows, credential-bound usage, exact approved action digests and durable allowance state.'}
Schéma d’entrée
{'type': 'object', 'required': ['available_evidence', 'expected_evidence'], 'properties': {'expected_evidence': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[A-Za-z0-9_.:/ -]+(?![\\s\\S])', 'maxLength': 96, 'minLength': 1, 'description': 'ASCII only, at most 96 bytes before trimming; cannot be blank. Normalized duplicates are rejected.'}, 'maxItems': 16, 'minItems': 1}, 'available_evidence': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[A-Za-z0-9_.:/ -]+(?![\\s\\S])', 'maxLength': 96, 'minLength': 1, 'description': 'ASCII only, at most 96 bytes before trimming; cannot be blank. Normalized duplicates are rejected.'}, 'maxItems': 16, 'minItems': 0}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', 'required': ['tools'], 'properties': {'tools': {'type': 'array', 'items': {'type': 'object', 'required': ['name'], 'properties': {'name': {'type': 'string', 'pattern': '^[A-Za-z0-9_.:-]+(?![\\s\\S])', 'maxLength': 64, 'minLength': 1}, 'annotations': {'type': 'object', 'properties': {'readOnlyHint': {'type': 'boolean'}, 'openWorldHint': {'type': 'boolean'}, 'destructiveHint': {'type': 'boolean'}}, 'additionalProperties': False}, 'description': {'type': 'string', 'maxLength': 256, 'minLength': 1, 'description': 'At most 256 UTF-8 bytes, well-formed text; no unsupported control characters.'}}, 'additionalProperties': False}, 'maxItems': 16, 'minItems': 1}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', 'required': ['mode', 'transaction_hash', 'payer', 'payee', 'amount_atomic', 'authorization_nonce', 'min_confirmations'], 'properties': {'mode': {'const': 'inspect_base_usdc_settlement'}, 'payee': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}(?![\\s\\S])'}, 'payer': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}(?![\\s\\S])'}, 'amount_atomic': {'type': 'string', 'pattern': '^(0|[1-9][0-9]{0,77})(?![\\s\\S])'}, 'transaction_hash': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{64}(?![\\s\\S])'}, 'min_confirmations': {'type': 'integer', 'maximum': 100, 'minimum': 2}, 'authorization_nonce': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{64}(?![\\s\\S])'}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', 'oneOf': [{'type': 'object', 'required': ['mode', 'idempotency_key', 'proof'], 'properties': {'mode': {'const': 'store'}, 'proof': {'type': 'object', 'required': ['kind', 'content', 'label'], 'properties': {'kind': {'enum': ['receipt_passport', 'handoff_pack', 'evidence']}, 'label': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'content': {'type': 'string', 'maxLength': 24000, 'minLength': 1}}, 'additionalProperties': False}, 'idempotency_key': {'type': 'string', 'pattern': '^[a-zA-Z0-9_-]{1,96}(?![\\s\\S])'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['mode', 'offset', 'limit'], 'properties': {'mode': {'const': 'list'}, 'limit': {'type': 'integer', 'maximum': 25, 'minimum': 1}, 'offset': {'type': 'integer', 'maximum': 255, 'minimum': 0}}, 'additionalProperties': False}, {'type': 'object', 'required': ['mode', 'proof_id'], 'properties': {'mode': {'const': 'retrieve'}, 'proof_id': {'type': 'string', 'pattern': '^[a-f0-9]{64}(?![\\s\\S])'}}, 'additionalProperties': False}], 'required': ['mode'], 'properties': {'mode': {'enum': ['store', 'list', 'retrieve']}, 'limit': {'type': 'integer', 'maximum': 25, 'minimum': 1}, 'proof': {'type': 'object', 'required': ['kind', 'content', 'label'], 'properties': {'kind': {'enum': ['receipt_passport', 'handoff_pack', 'evidence']}, 'label': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'content': {'type': 'string', 'maxLength': 24000, 'minLength': 1}}, 'additionalProperties': False}, 'offset': {'type': 'integer', 'maximum': 255, 'minimum': 0}, 'proof_id': {'type': 'string', 'pattern': '^[a-f0-9]{64}(?![\\s\\S])'}, 'idempotency_key': {'type': 'string', 'pattern': '^[a-zA-Z0-9_-]{1,96}(?![\\s\\S])'}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', 'required': ['mode', 'source_agent_id', 'destination', 'proof_references'], 'properties': {'mode': {'const': 'prepare_proof_relay'}, 'destination': {'oneOf': [{'type': 'object', 'required': ['kind', 'agent_id'], 'properties': {'kind': {'const': 'agent'}, 'agent_id': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])', 'maxLength': 64, 'minLength': 1}}, 'additionalProperties': False}, {'type': 'object', 'required': ['kind', 'url'], 'properties': {'url': {'type': 'string', 'maxLength': 2048, 'minLength': 1}, 'kind': {'const': 'callback'}}, 'additionalProperties': False}]}, 'source_agent_id': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])', 'maxLength': 64, 'minLength': 1}, 'proof_references': {'type': 'array', 'items': {'type': 'object', 'required': ['kind', 'reference', 'payload_sha256'], 'properties': {'kind': {'enum': ['receipt', 'passport', 'proof']}, 'reference': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:/-]{0,127}(?![\\s\\S])', 'maxLength': 128, 'minLength': 1}, 'payload_sha256': {'anyOf': [{'type': 'string', 'pattern': '^[a-f0-9]{64}(?![\\s\\S])'}, {'type': 'null'}]}}, 'additionalProperties': False}, 'maxItems': 16, 'minItems': 1}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', 'required': ['idempotency_key', 'usage', 'mode', 'repeats', 'cases'], 'properties': {'mode': {'const': 'run'}, 'cases': {'type': 'array', 'items': {'oneOf': [{'type': 'object', 'required': ['case_id', 'service_key', 'input', 'expected_sha256', 'assertions'], 'properties': {'input': {'type': 'object', 'required': ['available_evidence', 'expected_evidence'], 'properties': {'expected_evidence': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[A-Za-z0-9_.:/ -]+(?![\\s\\S])', 'maxLength': 96, 'minLength': 1, 'description': 'ASCII only, at most 96 bytes before trimming; cannot be blank. Normalized duplicates are rejected.'}, 'maxItems': 16, 'minItems': 1}, 'available_evidence': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[A-Za-z0-9_.:/ -]+(?![\\s\\S])', 'maxLength': 96, 'minLength': 1, 'description': 'ASCII only, at most 96 bytes before trimming; cannot be blank. Normalized duplicates are rejected.'}, 'maxItems': 16, 'minItems': 0}}, 'additionalProperties': False}, 'case_id': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])'}, 'assertions': {'type': 'array', 'items': {'type': 'object', 'required': ['pointer', 'equals'], 'properties': {'equals': {'anyOf': [{'type': 'string', 'maxLength': 1024}, {'type': 'number'}, {'type': 'boolean'}, {'type': 'null'}]}, 'pointer': {'type': 'string', 'pattern': '^(?:/(?:[^~/]|~[01])*)*(?![\\s\\S])', 'maxLength': 256}}, 'additionalProperties': False}, 'maxItems': 16, 'minItems': 0}, 'service_key': {'const': 'diligenceops-paid-run'}, 'expected_sha256': {'anyOf': [{'type': 'string', 'pattern': '^[a-f0-9]{64}(?![\\s\\S])'}, {'type': 'null'}]}}, 'additionalProperties': False}, {'type': 'object', 'required': ['case_id', 'service_key', 'input', 'expected_sha256', 'assertions'], 'properties': {'input': {'type': 'object', 'required': ['tools'], 'properties': {'tools': {'type': 'array', 'items': {'type': 'object', 'required': ['name'], 'properties': {'name': {'type': 'string', 'pattern': '^[A-Za-z0-9_.:-]+(?![\\s\\S])', 'maxLength': 64, 'minLength': 1}, 'annotations': {'type': 'object', 'properties': {'readOnlyHint': {'type': 'boolean'}, 'openWorldHint': {'type': 'boolean'}, 'destructiveHint': {'type': 'boolean'}}, 'additionalProperties': False}, 'description': {'type': 'string', 'maxLength': 256, 'minLength': 1, 'description': 'At most 256 UTF-8 bytes, well-formed text; no unsupported control characters.'}}, 'additionalProperties': False}, 'maxItems': 16, 'minItems': 1}}, 'additionalProperties': False}, 'case_id': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])'}, 'assertions': {'type': 'array', 'items': {'type': 'object', 'required': ['pointer', 'equals'], 'properties': {'equals': {'anyOf': [{'type': 'string', 'maxLength': 1024}, {'type': 'number'}, {'type': 'boolean'}, {'type': 'null'}]}, 'pointer': {'type': 'string', 'pattern': '^(?:/(?:[^~/]|~[01])*)*(?![\\s\\S])', 'maxLength': 256}}, 'additionalProperties': False}, 'maxItems': 16, 'minItems': 0}, 'service_key': {'const': 'mcp-diligence-rail'}, 'expected_sha256': {'anyOf': [{'type': 'string', 'pattern': '^[a-f0-9]{64}(?![\\s\\S])'}, {'type': 'null'}]}}, 'additionalProperties': False}, {'type': 'object', 'required': ['case_id', 'service_key', 'input', 'expected_sha256', 'assertions'], 'properties': {'input': {'type': 'object', 'required': ['as_of', 'services', 'queues'], 'properties': {'as_of': {'type': 'string', 'pattern': '^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z(?![\\s\\S])', 'description': 'A valid UTC calendar timestamp with whole seconds, supplied by the caller.'}, 'queues': {'type': 'array', 'items': {'type': 'object', 'required': ['queue', 'state', 'count', 'oldest_age_seconds'], 'properties': {'count': {'type': 'integer', 'maximum': 2147483647, 'minimum': 0}, 'queue': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:/-]{0,63}(?![\\s\\S])', 'maxLength': 64, 'minLength': 1}, 'state': {'enum': ['active', 'retained']}, 'oldest_age_seconds': {'anyOf': [{'type': 'integer', 'maximum': 2147483647, 'minimum': 0}, {'type': 'null'}]}}, 'additionalProperties': False}, 'maxItems': 16, 'description': 'Unique queue names. Empty queues must have a null or zero oldest age.'}, 'services': {'type': 'array', 'items': {'type': 'object', 'required': ['service_id', 'status'], 'properties': {'status': {'enum': ['ready', 'unavailable', 'degraded']}, 'service_id': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:/-]{0,63}(?![\\s\\S])', 'maxLength': 64, 'minLength': 1}}, 'additionalProperties': False}, 'maxItems': 8, 'description': 'Unique service_id values.'}}, 'additionalProperties': False}, 'case_id': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])'}, 'assertions': {'type': 'array', 'items': {'type': 'object', 'required': ['pointer', 'equals'], 'properties': {'equals': {'anyOf': [{'type': 'string', 'maxLength': 1024}, {'type': 'number'}, {'type': 'boolean'}, {'type': 'null'}]}, 'pointer': {'type': 'string', 'pattern': '^(?:/(?:[^~/]|~[01])*)*(?![\\s\\S])', 'maxLength': 256}}, 'additionalProperties': False}, 'maxItems': 16, 'minItems': 0}, 'service_key': {'const': 'agent-daily-operator-brief'}, 'expected_sha256': {'anyOf': [{'type': 'string', 'pattern': '^[a-f0-9]{64}(?![\\s\\S])'}, {'type': 'null'}]}}, 'additionalProperties': False}, {'type': 'object', 'required': ['case_id', 'service_key', 'input', 'expected_sha256', 'assertions'], 'properties': {'input': {'type': 'object', 'required': ['service_id', 'recipient_id', 'available_evidence', 'expected_evidence'], 'properties': {'service_id': {'const': 'com.weverlabs/diligenceops-inventory'}, 'recipient_id': {'type': 'string', 'pattern': '^mbx_[a-f0-9]{24}(?![\\s\\S])', 'maxLength': 28, 'minLength': 28}, 'expected_evidence': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[A-Za-z0-9_.:/ -]+(?![\\s\\S])', 'maxLength': 96, 'minLength': 1, 'description': 'ASCII only, at most 96 bytes before trimming; cannot be blank. Normalized duplicates are rejected.'}, 'maxItems': 16, 'minItems': 1}, 'available_evidence': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[A-Za-z0-9_.:/ -]+(?![\\s\\S])', 'maxLength': 96, 'minLength': 1, 'description': 'ASCII only, at most 96 bytes before trimming; cannot be blank. Normalized duplicates are rejected.'}, 'maxItems': 16, 'minItems': 0}}, 'additionalProperties': False}, 'case_id': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])'}, 'assertions': {'type': 'array', 'items': {'type': 'object', 'required': ['pointer', 'equals'], 'properties': {'equals': {'anyOf': [{'type': 'string', 'maxLength': 1024}, {'type': 'number'}, {'type': 'boolean'}, {'type': 'null'}]}, 'pointer': {'type': 'string', 'pattern': '^(?:/(?:[^~/]|~[01])*)*(?![\\s\\S])', 'maxLength': 256}}, 'additionalProperties': False}, 'maxItems': 16, 'minItems': 0}, 'service_key': {'const': 'agent-work-order-rail'}, 'expected_sha256': {'anyOf': [{'type': 'string', 'pattern': '^[a-f0-9]{64}(?![\\s\\S])'}, {'type': 'null'}]}}, 'additionalProperties': False}]}, 'maxItems': 6, 'minItems': 1}, 'usage': {'enum': ['synthetic', 'operational']}, 'repeats': {'type': 'integer', 'maximum': 3, 'minimum': 1}, 'idempotency_key': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])'}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', 'oneOf': [{'type': 'object', 'required': ['mode', 'idempotency_key', 'work', 'usage'], 'properties': {'mode': {'const': 'issue'}, 'work': {'oneOf': [{'type': 'object', 'required': ['kind', 'nonce'], 'properties': {'kind': {'const': 'wallet_free_call'}, 'nonce': {'type': 'string', 'pattern': '^[a-f0-9]{32,64}(?![\\s\\S])'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['kind', 'payment_id'], 'properties': {'kind': {'const': 'settled_payment'}, 'payment_id': {'type': 'string', 'pattern': '^[a-f0-9]{64}(?![\\s\\S])'}}, 'additionalProperties': False}]}, 'usage': {'enum': ['synthetic', 'operational']}, 'idempotency_key': {'type': 'string', 'pattern': '^[a-zA-Z0-9_-]{1,96}(?![\\s\\S])'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['mode', 'passport'], 'properties': {'mode': {'const': 'verify'}, 'passport': {'type': 'string', 'maxLength': 24000, 'minLength': 1}}, 'additionalProperties': False}], 'required': ['mode'], 'properties': {'mode': {'enum': ['issue', 'verify']}, 'work': {'oneOf': [{'type': 'object', 'required': ['kind', 'nonce'], 'properties': {'kind': {'const': 'wallet_free_call'}, 'nonce': {'type': 'string', 'pattern': '^[a-f0-9]{32,64}(?![\\s\\S])'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['kind', 'payment_id'], 'properties': {'kind': {'const': 'settled_payment'}, 'payment_id': {'type': 'string', 'pattern': '^[a-f0-9]{64}(?![\\s\\S])'}}, 'additionalProperties': False}]}, 'usage': {'enum': ['synthetic', 'operational']}, 'passport': {'type': 'string', 'maxLength': 24000, 'minLength': 1}, 'idempotency_key': {'type': 'string', 'pattern': '^[a-zA-Z0-9_-]{1,96}(?![\\s\\S])'}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', 'oneOf': [{'type': 'object', 'required': ['action'], 'properties': {'action': {'type': 'string', 'const': 'create_code'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['action', 'code', 'code_token'], 'properties': {'code': {'type': 'string', 'pattern': '^WL-R-[A-Z0-9]{6}$'}, 'action': {'type': 'string', 'const': 'attribute'}, 'code_token': {'type': 'string', 'maxLength': 4096, 'minLength': 64}}, 'additionalProperties': False}, {'type': 'object', 'required': ['action'], 'properties': {'action': {'type': 'string', 'const': 'earnings'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['action', 'claim_id'], 'properties': {'action': {'type': 'string', 'const': 'claim'}, 'claim_id': {'type': 'string', 'pattern': '^[A-Za-z0-9:_-]{1,64}$'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['action', 'receipt'], 'properties': {'action': {'type': 'string', 'const': 'verify_receipt'}, 'receipt': {'type': 'string', 'maxLength': 8192, 'minLength': 64}}, 'additionalProperties': False}]}
Schéma d’entrée
{'type': 'object', 'required': ['mode', 'work'], 'properties': {'mode': {'const': 'retrieve'}, 'work': {'oneOf': [{'type': 'object', 'required': ['kind', 'nonce'], 'properties': {'kind': {'const': 'wallet_free_call'}, 'nonce': {'type': 'string', 'pattern': '^[a-f0-9]{32,64}(?![\\s\\S])'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['kind', 'payment_id'], 'properties': {'kind': {'const': 'settled_payment'}, 'payment_id': {'type': 'string', 'pattern': '^[a-f0-9]{64}(?![\\s\\S])'}}, 'additionalProperties': False}]}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', 'oneOf': [{'type': 'object', 'required': ['action'], 'properties': {'action': {'type': 'string', 'const': 'plans'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['action', 'plan', 'purchase_id'], 'properties': {'plan': {'type': 'string', 'maxLength': 64, 'minLength': 1}, 'tool': {'type': 'string', 'pattern': '^wever_[a-z0-9-]+$'}, 'action': {'type': 'string', 'const': 'subscribe'}, 'mandate': {'type': 'object'}, 'auto_renew': {'type': 'boolean', 'default': False}, 'purchase_id': {'type': 'string', 'pattern': '^[a-f0-9]{64}$'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['action'], 'properties': {'action': {'type': 'string', 'const': 'status'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['action'], 'properties': {'action': {'type': 'string', 'const': 'cancel_auto_renew'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['action', 'subscription_id'], 'properties': {'action': {'type': 'string', 'const': 'cancel'}, 'subscription_id': {'type': 'string', 'pattern': '^[a-f0-9]{64}$'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['action', 'receipt'], 'properties': {'action': {'type': 'string', 'const': 'verify_receipt'}, 'receipt': {'type': 'string', 'maxLength': 8192, 'minLength': 64}}, 'additionalProperties': False}]}
Schéma d’entrée
{'type': 'object', 'required': ['mode', 'agent_id', 'currency', 'items', 'payment_reference', 'allowance_reference'], 'properties': {'mode': {'const': 'prepare_checkout'}, 'items': {'type': 'array', 'items': {'type': 'object', 'required': ['product_key', 'unit_amount_minor', 'quantity'], 'properties': {'quantity': {'type': 'integer', 'maximum': 1000, 'minimum': 1}, 'product_key': {'enum': ['diligenceops-paid-run', 'mcp-diligence-rail', 'agent-daily-operator-brief', 'agent-work-order-rail']}, 'unit_amount_minor': {'type': 'integer', 'maximum': 1000000000000, 'minimum': 0}}, 'additionalProperties': False}, 'maxItems': 16, 'minItems': 1}, 'agent_id': {'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}(?![\\s\\S])', 'maxLength': 64, 'minLength': 1}, 'currency': {'const': 'USD'}, 'payment_reference': {'anyOf': [{'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:/-]{0,127}(?![\\s\\S])', 'maxLength': 128, 'minLength': 1}, {'type': 'null'}]}, 'allowance_reference': {'anyOf': [{'type': 'string', 'pattern': '^[A-Za-z0-9][A-Za-z0-9._:/-]{0,127}(?![\\s\\S])', 'maxLength': 128, 'minLength': 1}, {'type': 'null'}]}}, 'additionalProperties': False}
Schéma d’entrée
{'type': 'object', 'required': ['mode', 'target_product', 'payment'], 'properties': {'mode': {'const': 'inspect_x402_authorization'}, 'payment': {'type': 'object', 'required': ['x402Version', 'resource', 'accepted', 'payload'], 'properties': {'payload': {'type': 'object', 'required': ['signature', 'authorization'], 'properties': {'signature': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{130}(?![\\s\\S])'}, 'authorization': {'type': 'object', 'required': ['from', 'to', 'value', 'validAfter', 'validBefore', 'nonce'], 'properties': {'to': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}(?![\\s\\S])'}, 'from': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}(?![\\s\\S])'}, 'nonce': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{64}(?![\\s\\S])'}, 'value': {'type': 'string', 'pattern': '^(0|[1-9][0-9]{0,77})(?![\\s\\S])'}, 'validAfter': {'type': 'string', 'pattern': '^(0|[1-9][0-9]{0,77})(?![\\s\\S])'}, 'validBefore': {'type': 'string', 'pattern': '^(0|[1-9][0-9]{0,77})(?![\\s\\S])'}}, 'additionalProperties': False}}, 'additionalProperties': False}, 'accepted': {'type': 'object', 'required': ['scheme', 'network', 'amount', 'asset', 'payTo', 'maxTimeoutSeconds', 'extra'], 'properties': {'asset': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}(?![\\s\\S])'}, 'extra': {'type': 'object', 'required': ['name', 'version'], 'properties': {'name': {'const': 'USD Coin'}, 'version': {'const': '2'}}, 'additionalProperties': False}, 'payTo': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{40}(?![\\s\\S])'}, 'amount': {'type': 'string', 'pattern': '^(0|[1-9][0-9]{0,77})(?![\\s\\S])'}, 'scheme': {'const': 'exact'}, 'network': {'const': 'eip155:8453'}, 'maxTimeoutSeconds': {'type': 'integer', 'maximum': 3600, 'minimum': 1}}, 'additionalProperties': False}, 'resource': {'type': 'object', 'required': ['url', 'description', 'mimeType'], 'properties': {'url': {'type': 'string', 'maxLength': 256, 'minLength': 1}, 'mimeType': {'const': 'application/json'}, 'description': {'type': 'string', 'maxLength': 256}}, 'additionalProperties': False}, 'x402Version': {'const': 2}}, 'additionalProperties': False}, 'target_product': {'enum': ['diligenceops-paid-run', 'agent-daily-operator-brief', 'mcp-diligence-rail', 'agent-work-order-rail', 'agent-paid-workflow', 'unified-agent-checkout', 'agent-allowance-console', 'agent-work-order-exchange', 'proof-relay', 'delegated-authority', 'x402-payment-gateway', 'payment-authority-inspector', 'agent-invoice-rail', 'agent-budget-guard']}}, 'additionalProperties': False}
Modifications récentes des outils
Serveurs MCP similaires
SAP MCP Server
Provides an MCP gateway connecting SAP-related tools with Solana, DeFi, decentralized identity, and x402 payments.
Nexus Agent Network · AlpineLead OI
Provides an agent marketplace and orchestration network with lead research, agent-to-agent messaging, task purchasing, and guarde…
tollbooth-authority
Operates a certified purchase-order and credit authority for MCP tool operators, including pricing, credit certification, balance…
tollbooth-authority-newengland
Provides regional authority services for MCP operator adoption, credit certification, pricing, balances, credentials, and hierarc…
tollbooth-authority-northamerica
Provides North American regional authority services for MCP operator adoption, credit certification, pricing, balances, credentia…
Wisely x402 Agent-Payment Infrastructure
Provides agent payment workflows for x402 endpoints, wallet handoffs, receipts, creator catalogs, local commerce bridges, endpoin…
skill-market
Catalogs agent skills and supports discovery, evaluation, payment settlement, access checks and installation of purchased skill p…
Focxle: AI governance for B2B deals between agents
Provides agent spending controls, delegated budgets, signed authority checks, negotiations, escrow contracts, workforce hiring, a…