{"uid":"cap_FRqYd993AND_kQOr0iAo5","slug":"agentstools-package-preflight-batch-scanner-e3d35c0c","name":"AgentsTools Package Preflight Batch Scanner","description":"Batch install-safety preflight for a whole dependency list or parsed manifest (up to 100 packages). Returns a verdict per package plus a blocked / caution / safe summary. Supply-chain indicators, not a guarantee.","url":"https://api.agentstools.dev/pkg/preflight/batch","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"packages":{"type":"array","items":{"type":"string"},"description":"Package names; an entry may be 'name' or 'npm:name' / 'pypi:name', or an object with name + ecosystem"},"ecosystem":{"enum":["npm","pypi"],"type":"string","description":"Default ecosystem for entries that do not set one"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.15","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.15/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SMrD1qfg9IlMkWmFHKXGB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.15","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs install-safety preflight checks on a batch of up to 100 packages or a parsed dependency manifest, returning a per-package verdict and a blocked/caution/safe summary based on supply-chain indicators.","exampleAgentPrompt":"Before I run npm install, can you do a supply-chain preflight check on these 20 packages from my package.json and tell me which ones are blocked, which need caution, and which are safe?","exampleUseCases":[{"title":"CI pipeline dependency gate","prompt":"I'm setting up a CI pipeline and before any install step I want to batch-check all packages in my requirements.txt — can you run a preflight scan and block the build if anything comes back as blocked or caution?"},{"title":"Open source audit before merge","prompt":"A contributor just opened a PR that adds 15 new npm packages to our project. Can you scan all of them for supply-chain risks and give me a verdict on each one before I approve the merge?"},{"title":"Legacy project security review","prompt":"I'm auditing an old Python project and need to know which of its 80 dependencies have supply-chain red flags — can you run a batch preflight on the full package list and summarize what's blocked, what needs caution, and what's clean?"}],"resultDescription":"Returns a per-package verdict for each submitted package (blocked, caution, or safe) along with supply-chain indicator details, plus an aggregated batch summary showing counts and highlights across all packages. Results are advisory indicators, not guarantees.","failureModes":["Batch exceeds 100 packages — request rejected with limit error","Malformed or unparseable manifest input — returns parsing error","Unknown or very new packages may lack sufficient supply-chain data — low-confidence verdicts","Network or upstream data source unavailability — 5xx error","Payment not fulfilled via x402 — 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need to screen a full dependency list or parsed manifest in a single call rather than checking packages one by one. It is ideal for CI/CD pipeline gates, pre-install checks, and bulk audits where up to 100 packages must be evaluated quickly. Prefer it over single-package endpoints when processing requirements.txt, package.json, or lockfiles wholesale.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:07:28.905Z","isFirstParty":false}