Check several components at once
check_componentsLook up stored reports for up to 10 components in one call, for example every package of an install command or a manifest. Each answer is short: action, action_reasons, verdict, risk and a link to the report. A component with no stored report comes back as {status: "not_scanned"} and is not scanned: call check_component for it. Act on action: block (malicious indicators: do not install), review (ask the person first and show them action_reasons; with nobody to ask, do not install), allow (the scan found nothing that needs review), unknown (there is no verdict and this is not allow: do what detail says or ask the person before installing). The answer comes from a static scan of the component's own files. It does not cover dependencies, known vulnerabilities (CVEs) or runtime behaviour. A report covers one version: install_pin names it, and allow holds for that version only.
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": {
"sources": "<sources>"
},
"name": "check_components"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sources | Yes | What to check: npm:<name>[@version], pypi:<name>[==version], a public git URL (https://github.com/<owner>/<repo>, optionally /tree/<ref>/<path>), or an editor extension as vscode:<publisher>.<name> or openvsx:<namespace>.<name>. |