Scan project for Nanostores usage
nanostores_scan_projectScan your project to identify Nanostores stores, subscribers, and dependencies. Use compact mode for directory-level overview or full mode for detailed analysis.
Instructions
Returns the complete store/subscriber/relation index for the project. Use compact:true for a token-efficient directory-level overview (store counts by folder). Use the full mode (default) when you need to iterate over every entity or build a complete picture. Example: {compact: true} for directory overview, {force: true} to bypass cache.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "nanostores_scan_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rootUri | No | ||
| force | No | Force a fresh scan, bypassing the cache. | |
| compact | No | Return a compact directory-level summary instead of full store/subscriber lists. Use when you need a token-efficient overview of where stores live, not individual store details. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | Yes | ||
| filesScanned | Yes | ||
| stores | No | ||
| subscribers | No | ||
| mutators | No | ||
| relations | No | ||
| totals | No | ||
| byDir | No | ||
| errors | No |