run_compliance_check
Perform AML, KYC, sanctions, and PEP compliance checks on blockchain entities to verify regulatory status and identify required actions.
Instructions
Run AML/KYC compliance checks.
Args: entity_id: Identifier for the entity (wallet address, etc.) check_type: Type of check. Options: aml, kyc, sanctions, pep
Returns: Compliance status, flags, and required actions.
Price: $1.00
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes | ||
| check_type | No | aml |
Implementation Reference
- coinrailz_mcp/__init__.py:783-798 (handler)The `run_compliance_check` tool implementation. It uses `call_coinrailz_service` to interact with the backend compliance-check endpoint.
async def run_compliance_check(entity_id: str, check_type: str = "aml") -> str: """ Run AML/KYC compliance checks. Args: entity_id: Identifier for the entity (wallet address, etc.) check_type: Type of check. Options: aml, kyc, sanctions, pep Returns: Compliance status, flags, and required actions. Price: $1.00 """ payload = {"entityId": entity_id, "checkType": check_type} result = await call_coinrailz_service("compliance-check", payload) return json.dumps(result, indent=2)