{"at":"2026-11-23T01:03:26.549Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T01:03:26.836Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found: server/discover"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T01:03:26.937Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T01:03:27.259Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{"listChanged":false}},"instructions":"PanoOn street-view toolkit. Typical flow: panoon_status → panoon_area_scan (polygon) → panoon_area_result (PanoIDs) → panoon_download (panoids + outputDir) → panoon_job_status. Large downloads consume proxy quota; confirm outputDir and scope with the user.","protocolVersion":"2025-11-25","serverInfo":{"name":"panoon","version":"1.0.0"}}}}
{"at":"2026-11-23T01:03:27.259Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T01:03:27.259Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T01:03:27.260Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"description":"Check the PanoOn local service: reachability, version, area-metadata capabilities and supported strategies. Call this first when anything fails.","inputSchema":{"additionalProperties":false,"properties":{},"type":"object"},"name":"panoon_status"},{"description":"Start an Area PanoID scan: collect every Street View panorama inside a polygon and return their PanoIDs. The scan runs on the local service; poll with panoon_area_status (or pass waitSeconds) and fetch results with panoon_area_result.","inputSchema":{"additionalProperties":false,"properties":{"crawlingDistanceMeters":{"description":"Probe spacing in meters (default 463; smaller = denser probes).","type":"number"},"outputDir":{"description":"Optional directory for saved area output files.","type":"string"},"polygon":{"description":"Polygon outline, at least 3 { lat, lng } points.","items":{"properties":{"lat":{"type":"number"},"lng":{"type":"number"}},"required":["lat","lng"],"type":"object"},"type":"array"},"strategy":{"description":"Area strategy. Default fast-geophoto (coverage tiles). Others: dense-rpc-grid, official-metadata, hybrid, custom.","type":"string"},"waitSeconds":{"description":"0-600. Wait up to this long for completion before returning.","type":"integer"}},"required":["polygon"],"type":"object"},"name":"panoon_area_scan"},{"description":"Fetch the progress of an Area PanoID scan started with panoon_area_scan. Optional waitSeconds blocks until it finishes.","inputSchema":{"additionalProperties":false,"properties":{"jobId":{"type":"string"},"waitSeconds":{"description":"0-600. Wait up to this long for completion.","type":"integer"}},"required":["jobId"],"type":"object"},"name":"panoon_area_status"},{"description":"Fetch the final result of an Area PanoID scan: counts plus a preview of unique PanoIDs. Pass savePath to write the full JSON result to disk.","inputSchema":{"additionalProperties":false,"properties":{"jobId":{"type":"string"},"maxIds":{"description":"How many PanoIDs to include in the preview (default 2000).","type":"integer"},"savePath":{"description":"Optional file path to save the complete result JSON.","type":"string"}},"required":["jobId"],"type":"object"},"name":"panoon_area_result"},{"description":"Cancel a running Area PanoID scan.","inputSchema":{"additionalProperties":false,"properties":{"jobId":{"type":"string"}},"required":["jobId"],"type":"object"},"name":"panoon_area_cancel"},{"description":"Queue a street-view image download job for a list of PanoIDs. Images are written as JPEG under outputDir by the controller/workers. Returns a jobId; monitor with panoon_job_status. Confirm outputDir and scope with the user before large jobs.","inputSchema":{"additionalProperties":false,"properties":{"jpegQuality":{"description":"JPEG quality 1-100 (default 95).","type":"integer"},"namingTemplate":{"description":"Filename template. Default \"{lat},{lon}_{year}-{month}_{panoid}_d{heading}_z{zoom}.jpg\".","type":"string"},"outputDir":{"description":"Absolute output directory for the JPEG files.","type":"string"},"panoids":{"description":"PanoIDs to download (max 250000 per job).","items":{"type":"string"},"type":"array"},"serverUrl":{"description":"Distributed controller URL. Default: the local service.","type":"string"},"zoom":{"description":"Zoom level (default 3 → 2048x1024).","type":"integer"}},"required":["panoids","outputDir"],"type":"object"},"name":"panoon_download"},{"description":"Fetch progress of a download job started with panoon_download. Optional waitSeconds blocks until it reaches a terminal state.","inputSchema":{"additionalProperties":false,"properties":{"jobId":{"type":"string"},"serverUrl":{"type":"string"},"waitSeconds":{"description":"0-600. Wait up to this long for a terminal state.","type":"integer"}},"required":["jobId"],"type":"object"},"name":"panoon_job_status"},{"description":"List recent download jobs (newest first) from the local service or a distributed controller.","inputSchema":{"additionalProperties":false,"properties":{"limit":{"type":"integer"},"serverUrl":{"type":"string"}},"type":"object"},"name":"panoon_jobs"},{"description":"Show distributed worker nodes: online counts, running tasks and per-node throughput.","inputSchema":{"additionalProperties":false,"properties":{"serverUrl":{"type":"string"}},"type":"object"},"name":"panoon_workers"},{"description":"Cancel a download job (local service or distributed controller).","inputSchema":{"additionalProperties":false,"properties":{"jobId":{"type":"string"},"serverUrl":{"type":"string"}},"required":["jobId"],"type":"object"},"name":"panoon_cancel_job"}]}}}
