List restorations
pinin_list_restorationsLists an account's photo restorations newest first with pagination, status/mode filters, and updated_since for reconciliation. Use it to poll changed jobs instead of tracking IDs.
Instructions
List the account's restorations, newest first, one page at a time, with has_more and the next_cursor / next_cursor_id pair for the following page. Filter by status or mode, or pass updated_since to collect every job that changed since the instant your poller last ran — that is the reconciliation sweep, and it replaces tracking ids. Use this instead of pinin_get_restoration when following more than one job; use pinin_get_restoration for the full document of a single id. Read-only and free.
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": "pinin_list_restorations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Return only jobs queued with this restoration mode. Omit for every mode. | |
| limit | No | Page size, 1–100. Default 20. | |
| status | No | Return only jobs in this state. Omit for every job regardless of state. | |
| updated_since | No | ISO 8601 instant; only jobs whose state changed at or after it. The sweep a poller runs instead of remembering ids. | |
| created_before | No | ISO 8601 cursor: `next_cursor` from the previous page. Pages newest-first, so this walks backwards in time. | |
| created_before_id | No | Tiebreaker cursor: `next_cursor_id` from the previous page. Send it with `created_before` or the page boundary can repeat a job. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Restoration documents, same shape as pinin_get_restoration; empty when nothing matches. | |
| object | No | Always `list`. | |
| has_more | No | True when another page exists — request it with `created_before` and `created_before_id`. | |
| next_cursor | No | Cursor for the next page, or null on the last page. | |
| next_cursor_id | No | Tiebreaker for the next page, or null on the last page. |