verify_identifier
Verify if a package or file path exists in its authoritative source to avoid using non-existent identifiers. Returns whether the identifier exists, is deprecated, or cannot be verified.
Instructions
Check whether a model-emitted identifier actually EXISTS in its authoritative source, before you rely on it. Call this before recommending or installing a package, or before editing a file path, to catch hallucinated or slop-squatted identifiers. Returns exists / not-found / deprecated / cannot-verify.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | base dir for relative paths when kind=path | |
| kind | Yes | identifier class: pypi package, npm package, or filesystem path | |
| value | Yes | the identifier to verify (package name or path) |