# AIP014: undefined-tool-reference
**Category:** Behavior
**Severity:** Warning
Flags tool or function names mentioned in the prompt that are not defined in a tool registry (e.g., `tools.json` or `tools.yaml` in the same directory).
## Status
v0: Registry discovery deferred. Always returns zero diagnostics to avoid false positives.
In v0.1, this rule will scan for patterns like:
- "call the <name> tool"
- "use the <name> function"
- "invoke <name>"
- "@<name>"
And validate against a `tools.json` or `tools.yaml` file in the document's sibling directory.
## Rationale
Referencing undefined tools leads to model confusion and broken tool calls.