Validate a profile definition
validate_profile_definitionValidate candidate profile or rule-pack JSON to catch schema, syntax, and semantic errors before registering custom profiles or importing external rule packs.
Instructions
Validate a bank-supplied profile / rule-pack definition (raw JSON).
Purpose:
Verify that a candidate clearing profile or rule-pack JSON text meets
all schema, syntactic, and semantic requirements.
When to use:
Use before registering new custom bank profiles or importing external
rule packs into the engine.
When NOT to use:
Checks profile and rule-pack JSON schemas only, not ISO 20022
payment messages; use `lint_payload` to evaluate payment payloads.
Behavioral transparency:
- Deterministic: Evaluates strictly according to the Pydantic profile
schema.
- External dependencies: None (standard JSON parsing).
- Side effects: Pure read-only validation; does not register the profile.
- Error states: Returns `is_valid: False` with descriptive error details
if validation fails.
Args:
definition_content: The candidate profile definition, as JSON text.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"definition_content": "<definition_content>"
},
"name": "validate_profile_definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| definition_content | Yes | A profile / rule-pack definition as JSON text. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||