Description of the MCP tool call
Raw response data from the MCP tool
Unique identifier for this response (e.g. dok_id, table_id, country code)
Override for the data root directory (for testing)
Optionalriksmote: stringThe absolute path where the response was written.
Persist a generic MCP tool response. Supports any MCP server (riksdag, SCB, World Bank, etc.). Responses are stored under:
analysis/data/mcp-responses/{server}/{tool}/{id}.jsonThe response data is stored as-is (no metadata injection). A sidecar
.meta.jsontracks provenance.