check_library_usage
Check external library calls for deprecation issues using documented signatures; surface current docs and flag deprecated dependencies to guide code updates.
Instructions
Dependency-contract check for the code's EXTERNAL library calls, from the SCIP oracle's external symbol info. For each resolved-external call site it surfaces the dependency's CURRENT signature + docs as inline context (judge arity / misuse yourself) and ASSERTS a deprecated verdict when the docs mark it so. Filter by path, package, or deprecated_only. Requires an oracle run; returns a NoOracleRun / NoExternalSymbols status otherwise. Does NOT assert arity or removed/renamed drift (not instrumented / needs a cross-version baseline) — those stay context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Restrict to external call sites in this exact file or under this directory prefix (e.g. `src/net`). Omit for the whole checkout. | |
| limit | No | Max dependency-symbol entries returned; summary counts always cover the full set. | |
| package | No | Restrict to one dependency package — the moniker's package component, e.g. `ky` / `tokio`. | |
| worktree | No | Absolute path of the checkout to scope reads to — pass a linked worktree to read its branch overlay. Defaults to the server's working directory. A path that is not a linked worktree of this repo is silently ignored: results then come from the indexed checkout, with no error. | |
| deprecated_only | No | Only surface contracts flagged deprecated (the asserted verdict). |