CrossPad app package manager
crosspad_appsList, install, remove, update, or sync CrossPad app packages from the crosspad-apps registry across idf, pc, and arduino repos, using app_manager.py and gh authentication for changes.
Instructions
Manage CrossPad apps from the crosspad-apps registry (git submodules under components/). action=list reads app-registry.json and apps.json across every detected repo and needs no Python; install {app_name, ref?, force?}, remove {app_name}, update {app_name | update_all} and sync (rebuild the manifest from disk) delegate to /{tools|scripts}/app_manager.py and need the authenticated 'gh' CLI. platform selects the repo (idf default, pc, arduino). install/remove/update refuse to run over an app checkout with uncommitted or unpushed work; update_all included, which checks every installed app before it starts. Not crosspad_list_apps_source, which scans REGISTER_APP() in source. Annotations are static, so the tool is advertised at its worst case: only install/remove/update/sync rewrite a checkout; action=list just reads app-registry.json and apps.json.
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": {
"action": "<action>"
},
"name": "crosspad_apps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | install: git ref to check out (default 'main') | |
| force | No | install: install even if the registry marks the app incompatible | |
| action | Yes | list reads the registry (no Python needed); install/remove/update/sync mutate a checkout | |
| app_name | No | install/remove/update: app ID from the registry, e.g. 'sampler' | |
| platform | No | Platform repo: idf=platform-idf (default), pc=crosspad-pc, arduino=ESP32-S3 | idf |
| show_all | No | list: include apps incompatible with every detected platform | |
| update_all | No | update: update every installed app instead of one named app | |
| confirm_token | No | Echo the token from a confirmation_required reply to proceed |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ts | No | ||
| docs | No | ||
| hint | No | ||
| next | No | ||
| tool | No | ||
| error | No | ||
| action | No | ||
| notice | No | ||
| result | No | ||
| outcome | No | ||
| success | Yes | ||
| app_name | No | ||
| log_tail | No | ||
| platform | No | ||
| elicitation | No | ||
| confirmation | No |