upsert_module
Install a new Module or publish an immutable revision from a JSON package, optionally reloading active workers to update the iPhone runtime.
Instructions
Installs a new Module or publishes a new immutable revision. Optionally reloads the host runtime.
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": {
"package_json": "<package_json>"
},
"name": "upsert_module"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reload | No | Reload all active Module workers after persistence | |
| package_json | Yes | Complete JSON package with manifest and sources |