Download MyChart Test Result as PDF
mychart_download_test_resultSave a lab result from your MyChart portal as a PDF file, ready for offline review or AI analysis.
Instructions
Save one test result as a PDF file on disk (rendered from the result detail page). Requires a logged-in session.
Args:
result_id (string): An id from mychart_list_test_results (e.g. "r3"), or a full result-detail URL.
filename (string, optional): Base filename for the PDF; defaults to " .pdf".
Files are saved to ~/.mychart-mcp/downloads. Returns: { path, bytes, id, name, date }.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"result_id": "<result_id>"
},
"name": "mychart_download_test_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | Optional base filename for the saved PDF | |
| result_id | Yes | Result id from mychart_list_test_results (e.g. "r3") or a full result URL |