Set limits
set_limitsUse this when the user wants to change how many new cards or reviews they get per day, for every deck or for one, or gives the date they need to know a deck by (an exam, a test, a deadline): goal_date paces that deck toward it. Without a deck it sets the account defaults; with a deck it sets that deck's override (-1 clears it so the deck inherits the account default). Omitted fields are left unchanged. For extra new cards today only, use boost_new_today.
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": "set_limits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deck | No | Deck name to set an override for; omit to set the account defaults. | |
| goal_date | No | With a deck only: the date the user needs to know it by (an exam, a test, a trip, a deadline), YYYY-MM-DD on their calendar. Flash paces the deck's new cards to finish before it and brings back, in the last days, the cards that need it. An empty string clears it; omit to leave it unchanged. | |
| new_per_day | No | New cards per day. Omit to leave unchanged; for a deck, -1 clears the override so it inherits the account default. | |
| reviews_per_day | No | Max reviews per day. Omit to leave unchanged; for a deck, -1 clears the override so it inherits the account default. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| saved | Yes |