StoreKit Generate
storekit_generateGenerate a deterministic StoreKit configuration file from app.spec.json, including subscription groups, levels, free-trial intros, and trial-less offers. Run after any product change.
Instructions
Write Resources/Configuration.storekit from app.spec.json (group, levels, free-trial intros, trial-less offer product).
Use when: after any product change. Deterministic. app_sync_spec also regenerates it together with Swift sources. Returns: {ok, path, products}.
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": {
"app_dir": "<app_dir>"
},
"name": "storekit_generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_dir | Yes | Absolute path to the app project directory (contains app.spec.json), e.g. /Users/me/Apps/MyApp. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||