ledger
Retrieve ledger movements for a PGC account by providing the account UUID. Optionally filter by date range, limit, and offset.
Instructions
Read ledger movements for ONE PGC account.
Args: account_id: the account's UUID (required). Resolve it from list_accounts — e.g. find the account whose code is '572' (bancos) and pass its id here. from_date / to_date: ISO date bounds.
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": {
"account_id": "<account_id>"
},
"name": "ledger"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No | ||
| to_date | No | ||
| from_date | No | ||
| account_id | Yes |