Get a clearing profile
get_profileRetrieve the ISO 20022 clearing profile definition, including rule bodies, validation logic, XPath targets, and error severity. Use it to inspect market-practice rules for a specific clearing network.
Instructions
Return one clearing profile in full, including its rule bodies.
Purpose:
Retrieve the complete definition of an ISO 20022 clearing profile,
including rule bodies, validation logic, and metadata.
When to use:
Use when inspecting the specific market-practice rules, XPath
targets, or error severity configured for a specific clearing network.
When NOT to use:
Do not use to discover available profile identifiers; use `list_profiles`
first. Do not use to evaluate payloads; use `lint_payload`.
Behavioral transparency:
- Deterministic: Given the same profile_id and entitlements, returns
identical profile data.
- External dependencies: None (local memory/registry).
- Side effects: Pure read-only operation; modifies no state.
- Error states: Returns an error object if profile_id is unknown
or requires ungranted entitlements.
Args:
profile_id: The clearing profile identifier.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile_id | Yes | The profile to fetch (see list_profiles). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||