List example corpus files
list_corpus_filesList pain001's ready-made ISO 20022 example files to discover scenario, version, and variant identifiers for validation or retrieval; filter by market, country, or message type.
Instructions
List the example files pain001 ships: market scenarios and coverage sets.
Use this to discover the ``scenario_id``, ``version``, and ``variant``
identifiers of the ready-made, validated ISO 20022 files ``pain001``
ships; ``get_corpus_file`` and ``get_corpus_provenance`` accept those
identifiers. Market files are realistic payments per country and rail
(``scenario_id`` like ``gb.chaps.property-purchase``); a ``variant``
names the bank overlay a file was built with. Coverage files exercise
every element and choice branch of one message type and carry no
scenario.
Delegates to :func:`pain001.corpus.list_files`.
Args:
kind: ``market``, ``coverage`` or ``None`` for both.
country: Optional two-letter country filter for market files.
version: Optional message-type filter.
Returns:
``{"count", "files": [{"kind", "scenario_id", "version", "country",
"family", "variant", "file"}, ...]}``, or ``{"error": ...}`` when
the installed pain001 has no corpus.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_corpus_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | 'market' for the realistic per-country scenarios, 'coverage' for the schema coverage sets, or omit for both. | |
| country | No | Two-letter country code to keep one market pack only, e.g. 'GB' or 'CH'. Ignored for coverage files. | |
| version | No | Keep only files of this message type, e.g. 'pain.001.001.09'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| error | No | ||
| files | No |