Routes and handlers
snapshot_routesSummarize every HTTP route in a repository from decorators, framework attributes, and route tables, with the declaring file and part. Read-only.
Instructions
Every route a summary recorded - HTTP methods from decorators, framework attributes and route tables - with the file and part that declare it. Read-only.
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": "snapshot_routes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Repository root. Defaults to the directory this server was started in. | |
| outDir | No | Snapshot directory, relative to the root, and it must resolve inside the served repository. Defaults to the project configuration's outDir. | |
| pattern | No | Only routes whose text matches this regular expression. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | No | ||
| routes | No |