[architecture]
Returns compact package.json metadata for a package in the loaded workspace.
Monorepo package relationships and import graphs are too large to reconstruct reliably from scattered file reads.
The model can reason from package, project, dependency, dependent, path, and cycle facts before editing architecture-sensitive code.
Try it locally in the TGlider playground
| Name | Type | Required | Description |
|---|---|---|---|
| packageName | string | No | Optional package name to inspect. |
| packagePath | string | No | Optional package path to inspect. |
Inspect a workspace package
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_package_info",
"arguments": {
"packageName": "@acme/ui"
}
}
}Returns package name, version, type, scripts, dependencies, and workspace ownership.