install_package
Install a foundation package to add predefined routes and resources from its manifest into your project.
Instructions
Install a foundation package into the current project. Creates routes and other resources defined in the package manifest.
Returns success with installed counts, or error with code:
PACKAGE_NOT_FOUND: Package name doesn't exist
PACKAGE_NOT_INSTALLABLE: Package is disabled
ALREADY_INSTALLED: Package routes already exist in project
UNKNOWN_MANIFEST_KEY: Package requires newer platform version
INSTALL_FAILED: Transaction failed
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": {
"name": "<name>"
},
"name": "install_package"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Package name (e.g., "file-uploads") |