get_package_info
[architecture]
Returns compact package.json metadata for a package in the loaded workspace.
Try it locally in the TGlider playground
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| packageName | string | No | Optional package name to inspect. |
| packagePath | string | No | Optional package path to inspect. |
Examples
Replace sample paths and symbol keys with values from your workspace.
Inspect a workspace package
Arguments
{
"packageName": "@acme/ui"
}Full MCP request
Full MCP request
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_package_info",
"arguments": {
"packageName": "@acme/ui"
}
}
}Response Notes
Returns package name, version, type, scripts, dependencies, workspace ownership, raw exports/imports, and normalized package entrypoints.