workspace_add_packages
Add a new app, library, config, or tool package to a monorepo workspace, with optional internal dependencies, reusing shared configuration.
Instructions
Add new packages to a monorepo with shared configuration and dependencies (Pro)
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": {
"workspace_name": "<workspace_name>",
"package_name": "<package_name>",
"package_type": "<package_type>"
},
"name": "workspace_add_packages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | API key for authentication | |
| dependencies | No | Internal workspace dependencies | |
| package_name | Yes | Name of the new package to add | |
| package_type | Yes | Type of package | |
| workspace_name | Yes | Name of the workspace |