List scheduled pins
list_schedulesList scheduled pins in this workspace, latest run_at first, with search and filters.
Use to find a schedule's id (search its title with q), see what is
queued for a period (status=scheduled, sort=run_at_asc), or list failed
schedules to retry. For one known schedule use get_schedule; for pins
that already published use list_pins.
Returns one page: {items, total, limit, offset, has_more}. items are
the schedules (id, pinterest_account_id, run_at, status, payload with
board_id, title and media, pin_id once it ran, last_error, created_at,
updated_at). total counts every match across all pages, so "how many
pins are scheduled for next week?" is one call with status=scheduled,
since/until and limit=1. To read further, repeat the call with the same
filters, q and sort and offset = offset + limit while has_more is true.
Fails with account_not_permitted for an account outside the key's
allow-list and validation_error for a bad status, sort or timestamp.
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_schedules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Case-insensitive text to find in the title, description or link URL; % and _ match literally. | |
| sort | No | Order: run_at, created_at, title or status, each _asc or _desc. run_at_asc lists the next run first. | run_at_desc |
| limit | No | Page size, 1-200. | |
| since | No | ISO 8601 timestamp with timezone; lower bound, inclusive. | |
| until | No | ISO 8601 timestamp with timezone; upper bound, exclusive. | |
| offset | No | Rows to skip. For the next page pass offset + limit from the last result. | |
| status | No | One of scheduled, queued, deferred, running, done, failed, canceled. | |
| board_id | No | Pinterest board ID (numeric string), from list_boards. | |
| account_id | No | UUID of a connected Pinterest account, from list_pinterest_accounts. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Schedules on this page in the requested order, each with id, pinterest_account_id, run_at, status, payload (board_id, title, media), pin_id once it ran, last_error, created_at and updated_at. Empty when nothing matches. | |
| limit | Yes | Page size used for this call. | |
| total | Yes | How many rows match the filters and search across all pages. Answer "how many ...?" from this; limit=1 is enough. Null only when the PinBridge API is older than 1.34. | |
| offset | Yes | Rows skipped before this page. | |
| has_more | Yes | true when more rows follow: call again with the same filters, q and sort and offset = offset + limit. When total is null it only means this page was full. |