Install library package
install_library_packageInstall a local tdmcp component package into user or project scope. Specify the source, scope, and overwrite option to manage existing packages. For unknown packages, inspect the component manifest first to verify contents.
Instructions
Install a local tdmcp component package folder, .zip, .tox, or manifest into an explicit project/user package scope, or preserve the legacy dest_dir/ form. Project scope requires project_dir and uses /.tdmcp/packages. Use inspect_component_manifest first for unknown packages. This copies or extracts files, refuses replacement unless overwrite=true, rejects symlinked directory trees, and returns scope plus resolved paths.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Package ownership scope; project scope requires project_dir. | user |
| source | Yes | Local package folder, .zip, .tox, or manifest file. | |
| dest_dir | No | Legacy explicit library directory. Omit it to use the selected project/user package scope. | |
| overwrite | No | When false, fail if the destination package already exists; set true to replace it. | |
| project_dir | No | Explicit project directory used for <project>/.tdmcp/packages. | |
| packages_root | No | Legacy advanced user-scope package root override. |