{"at":"2026-11-23T05:35:24.017Z","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-23T05:35:24.548Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Unknown method server/discover"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T05:35:27.666Z","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-23T05:35:28.219Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{}},"protocolVersion":"2025-11-25","serverInfo":{"name":"flowr","version":"2.16.4"}}}}
{"at":"2026-11-23T05:35:28.219Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T05:35:28.219Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T05:35:28.220Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"annotations":{"readOnlyHint":true},"description":"Statically analyze R code and search R package signatures with flowR queries (https://github.com/flowr-analysis/flowr/wiki/Query-API). Common ones: {\"type\":\"static-slice\",\"criteria\":[\"12@x\"]} for the code affecting x in line 12, {\"type\":\"linter\"} for lint findings, {\"type\":\"dependencies\"} for loaded libraries, read and written files, {\"type\":\"guess-dep-versions\"} for the package versions the code works with, {\"type\":\"call-context\",\"callName\":\"^read_\"} for calls, and, needing no code, {\"type\":\"signature\",\"package\":\"dplyr\",\"function\":\"across\"} to search signatures and versions (globs allowed), {\"type\":\"function-info\",\"name\":\"filter\"} for the packages exporting a function. A query with wrong arguments is answered with its schema. Types: call-context (Call-Context Query), config (Config Query), control-flow (Control-Flow Query), call-graph (Call-Graph Query), dataflow (Dataflow Query), does-call (Does-Call Query), dataflow-lens (Dataflow Lens Query), absint (Abstract Interpretation Query), files (Files Query), id-map (Id-Map Query), normalized-ast (Normalized AST Query), dataflow-cluster (Dataflow Cluster Query), static-slice (Static Slice Query), provenance (Provenance Query), input-sources (Input Sources Query), dependencies (Dependencies Query), location-map (Location Map Query), search (Search Query), happens-before (Happens-Before Query), inspect-exception (Inspect Exceptions of Functions Query), inspect-higher-order (Inspect Higher-Order Functions Query), inspect-recursion (Inspect Recursive Functions Query), inspect-fn-props (Inspect Argument Roles Query), resolve-value (Resolve Value Query), project (Project Query), signature (Signature Query), origin (Origin Query), linter (Linter Query), dice (Dice Query), guess-dep-versions (Guess Dependency Versions Query), function-info (Function Info Query)","inputSchema":{"properties":{"code":{"description":"R code to analyze.","type":"string"},"files":{"description":"R files or project folders to analyze.","items":{"type":"string"},"type":"array"},"queries":{"items":{"type":"object"},"type":"array"}},"required":["queries"],"type":"object"},"name":"query"}]}}}
