librarian_locate
Locate exact current file and line for functions, routes, config keys, tools, or files using a fresh code index; use before grep-scanning, with a changed flag for recent edits.
Instructions
Find the EXACT, current location of something on this PC (file:line) - a
function, route, config key, catalog entry, tool, or file. AI sessions should
USE THIS BEFORE grep-scanning the codebase; the answer is generated from a fresh code index,
so line numbers are current and a [changed] flag warns when a file was just
edited. Pass a natural query like 'where is the catalog search code' or
'route that handles checkout'. caller is an optional caller label; leave it empty.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| caller | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |