updatePackage
Change fields of a package; omitted fields keep their current values. Grants are replaced as a whole: pass every grant the package should keep. Returns the updated package. Get packageId from getPackages. Never invent UUIDs; only use values from prior tool responses.
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": {
"packageId": "<packageId>",
"package": "<package>"
},
"name": "updatePackage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes | Package fields to update. | |
| packageId | Yes | The id of the package. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes |