Count and compare saved weeks
analyse_saved_weeksAnswers how many Saved Weeks the user has and how many repeat the same meals in one read-only data response, without opening the app or creating drafts. Compares every stored recipe ID, ignoring week titles and dinner order, and reports serving-setting differences and unknown portions separately. Empty weeks are counted separately. Counts are returned by default. includeGroups adds up to 50 duplicate week references; nextOffset continues those references and expectedRevision accepts the previous analysisRevision to detect changed data. Reads the complete account library on the server, without loading full recipes, images, nutrition or shopping data. Requires a linked Chop It account.
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": "analyse_saved_weeks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | Offset over duplicate week references, using nextOffset from the previous page. | |
| includeGroups | No | Include a page of duplicate week names and IDs; counts alone are returned by default. | |
| expectedRevision | No | analysisRevision from the previous page; a changed analysis is refused so pagination can restart. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| groups | Yes | ||
| offset | Yes | ||
| hasMore | Yes | ||
| complete | Yes | All owner-scoped rows were enumerated and checked against exact counts. This is not a transactional snapshot. | |
| pageSize | Yes | ||
| emptyWeeks | Yes | ||
| nextOffset | Yes | ||
| totalWeeks | Yes | ||
| extraCopies | Yes | Weeks beyond one per matching meal-selection group; not necessarily identical serving settings. | |
| returnedWeeks | Yes | ||
| groupsIncluded | Yes | ||
| analysisRevision | Yes | ||
| duplicateGroupCount | Yes | ||
| uniqueMealSelections | Yes | Distinct non-empty recipe ID multisets, ignoring titles and dinner order. | |
| weeksInDuplicateGroups | Yes | ||
| groupsWithUnknownServings | Yes | ||
| groupsWithDifferentServingSettings | Yes |