CorefinityCorefinityDocs
Open the Control PanelControl Panel
Node.js · 5 of 9

corestack_node_package_lookup

Look up an npm package.

Scope readNo secrets returned
On this page

When to use it

Before adding a global package: whether it exists on the public npm registry, the exact version a selector resolves to, its description and licence, whether it has an install script, whether it is deprecated and its latest version. exists: null means the registry could not be asked; say so and let the person decide. No row is needed.

Ask for it

Prompt
Using the Corefinity MCP server, call corestack_node_package_lookup with name sharp, selector 0.34. (Look up an npm package.) Tell me what it returned.

Inputs

namestringRequired

The npm package name, e.g. sass or @angular/cli. Up to 214 characters.

selectorstring

A version, range or dist-tag (default latest). Up to 255 characters.

Example call

tools/call
{
  "name": "corestack_node_package_lookup",
  "arguments": {
    "name": "sharp",
    "selector": "0.34"
  }
}

If it is refused

ReasonWhat to do
package_spec_invalidA URL, git, file, alias or user/repo spec; only public registry packages can be installed.
invalid_argumentsThe arguments do not match the tool's input schema, or the Control Panel refused a field. Fix the fields named in the answer and call again.
tenant_mismatchThe object does not exist or the token may not see it. Check the id.
scope_requiredThe token lacks a scope this call needs. Open the link in the answer to add it, then call again.
pin_refusedThe grant is limited to chosen clusters, sites or environments, and this call is outside them. Open the link in the answer to widen it.
rate_limitedToo many calls. Wait for the number of seconds the answer names.
temporarily_unavailableThe Control Panel could not answer just now. Nothing was started; try again shortly.
internal_errorSomething went wrong on our side. Quote the trace id to support.

The same task elsewhere

Was this helpful?
Open in ClaudeOpen in ChatGPT