Manuscript Offprint
arXiv:2610.27233MMedAgent-Plus: Scaling Multimodal Medical Agents across Modalities, Tasks and Workflows
Ruoxin Wang, Yuanting Pan, Binxu Li, Ruiyang Ji, Yaqian Chen, Jiayuan Ding, Qifan Wang, Lifu Huang, Mingjie Li, Yu Zhang, Ehsan Adeli, Kilian Pohl, Zhe Xu, Zihao Lin, Haoyu Dong, and Yixin Wang
Duke University, Stanford University, Yale University, Princeton University, Virginia Tech, Hippocratic AI, Meta, UC Davis, Shanghai Jiao Tong University, Tongji University
Project Website: https://mmedagent.org
Abstract
In healthcare, medical tasks often involve multiple interdependent steps, where each outcome informs subsequent decisions. Specialist AI models achieve state-of-the-art performance on individual tasks, whereas generalist vision-language models cover more tasks but typically lag behind specialists. Neither is designed to decide which analyses are needed, execute them in order, or pass intermediate results between steps. We proposed MMEDAGENT-PLUS, a multimodal medical tool-use agent that couples a vision-language planner with a library of 18 specialist models spanning 12 medical tasks and 8 modalities, each selected as a leading publicly available model for its task. Rather than approximating expert capabilities within a single model, the planner learns to orchestrate these specialists, deciding which to call and in what order, and to generate a final response grounded in their outputs. All tools share a unified interface declaring its inputs, parameters, and outputs, so that models with different architectures are invoked in one call format. The backbone planner is instruction-tuned on 208,928 samples curated from 32 public medical benchmarks, spanning diverse tool-use scenarios involving single or multiple tools and varying numbers of interaction rounds. We evaluate tool selection, response synthesis, and end-to-end workflow execution separately on held-out evaluation samples. MMEDAGENT-PLUS selects the correct specialist for 91.0%, 98.1%, and 80.7% of individual tool calls in these three settings, respectively. Given correct tool outputs, MMEDAGENT-PLUS achieves scores of 14.4-14.8 out of 15 for faithfulness, completeness, and conciseness across 600 evaluation samples. In end-to-end execution without pre-supplied tool outputs, MMEDAGENT-PLUS correctly invokes the required specialist in 90.6% of 350 evaluation cases spanning seven tasks. Its final-answer accuracy reaches 0.98, matching the dedicated leading specialist and exceeding the strongest baseline (0.28).
Keywords: Agent, Instruction Tuning, Vision-Language Model, Multimodal Medicine
Corresponding authors
Emails: ruoxinwaaang@gmail.com, yxinwang@stanford.edu
1 Main
Over the past decade, deep learning has achieved expert-level performance on selected medical tasks, including radiograph interpretation [1], histopathology image classification [2], and anatomical structure segmentation [3]. These advances have largely been driven by specialist models [4, 5] designed for specific modalities and tasks. However, real-world clinical workflows often require multiple interdependent analyses rather than isolated predictions [6, 7]. For example, a radiologist may identify and characterize suspicious lesions before integrating the findings into a diagnostic report. Similarly, a clinician may assess symptoms and medical history, select diagnostic tests, interpret the results, and develop a management plan. These tasks require diverse input modalities and specialized expertise, with intermediate findings guiding subsequent analyses and decisions. Although specialist models excel at individual tasks, they typically operate in isolation, lacking the ability to determine which analyses are needed, coordinate their execution, and integrate results into a coherent medical workflow.
Medical foundation models [8–11] have emerged to address the fragmentation of specialist systems by extending task and modality coverage within unified architectures. Models such as MedSAM [3] and BiomedCLIP [12] improve generalization across medical imaging modalities and biomedical image-text representations, respectively. Generative vision-language models (VLMs), including LLaVA-Med [13] and LLaVA-Rad [14], enable open-ended interactions with medical images, while generalist models such as BiomedGPT [8], RadFM [15], and HealthGPT [16] support a broader range of tasks within unified frameworks. Building on this progress, recent models, including VILA-M3 [9], Lingshu [10], Hulu-Med [17], OmniV-Med [18], Fleming-VL [19], and UniBiomed [20], have further expanded task and modality coverage within unified architectures. However, broad task coverage does not inherently provide the ability to coordinate multiple specialized analyses. Complex medical workflows require selecting appropriate tools, executing them in sequence, and adapting subsequent steps based on intermediate results, capabilities that extend beyond supporting diverse tasks within a single model.
Medical agents offer a promising approach to workflow orchestration by dynamically selecting and coordinating specialized capabilities. Existing approaches can be broadly divided into two paradigms. The first emphasizes collaboration among multiple language or vision-language models, where agents assume specialized roles and exchange information through dialogue or structured discussions to reach a shared conclusion [21–27]. While these systems facilitate collaborative medical reasoning, their coordination primarily occurs through model-to-model interactions rather than the execution of external specialist tools. Unlike model-based collaborative agents, these systems generally do not directly execute specialized medical operations that produce outputs such as segmentation masks or processed medical images. A second paradigm integrates external specialist tools, enabling medical agents to invoke task-specific models and obtain their outputs directly. Representative systems include MMedAgent [28], MedRAX [29], MedAgent-Pro [30], and VoxelPrompt [31]. By incorporating executable tools, these systems support workflows that extend beyond text-based reasoning to specialized image analysis and processing. Despite this progress, many tool-augmented medical agents have been developed or evaluated within particular modalities or clinical domains, including general medical imaging [32, 33], histopathology [34, 35], endoscopy [36], chest radiography [37–42], and Alzheimer's disease [43]. Recent studies have also investigated tool selection and specialized workflow execution, including ToolSelect [44] and MedScope [45]. However, the reliability of tool orchestration across heterogeneous medical tasks, modalities, and multi-step interactions remains insufficiently characterized.
We introduce MMEDAGENT-PLUS (denoted as M), a multimodal medical tool-use agent de-signed to orchestrate leading specialist models across diverse medical workflows. Building on MMedAgent [28], M combines a vision-language planner with a library of 18 specialist models covering 12 medical tasks and 8 modalities (Figure 1a; Supplementary Tables S1 and S3). These tasks span language understanding, visual analysis, image processing, and clinical report generation, across text, Computed Tomography (CT), Magnetic Resonance Imaging (MRI), X-ray, ultrasound (US), retinal imaging (including fundus and Optical Coherence Tomography (OCT)), and pathology. Each specialist was selected as the leading publicly available model for its task at the time of construction, based on reported benchmark performance (Supplementary Table S1).
To enable reliable tool orchestration, we construct a large-scale instruction-tuning corpus S containing 208,928 samples drawn from 32 publicly available medical benchmarks (Supplementary Table S4). The dataset is organized into three dialogue settings that reflect different workflow patterns, including single-tool multi-round dialogues for iterative individual analyses, multi-tool multi-round dialogues for progressive workflow execution and for successive independent requests across multiple dialogue turns, and multi-tool single-round dialogues for compositional workflows within one interaction (Figure 1d). The tool chains covered by each multi-tool setting are listed in Supplementary Tables S7 and S6, and one example dialogue per task is shown in Supplementary Figure S1-S8. This training enables M to select specialist tools, coordinate their execution, and integrate tool-generated evidence into final responses.
The effectiveness of MMEDAGENT-PLUS depends on two complementary components: the planner's ability to select and coordinate appropriate specialist tools, and the performance of the specialists themselves. Across the three dialogue settings, MMEDAGENT-PLUS achieves tool-call accuracies of 91.0%, 98.1%, and 80.7% for single-tool multi-round, multi-tool multi-round, and multi-tool single-round interactions, respectively. Its final responses also outperform those of four recent vision-language models, with improvements in faithfulness (consistency with specialist outputs) and completeness (coverage of relevant information) (Figure 1b). We further evaluate M on end-to-end medical workflows requiring the selection and coordination of complementary specialist tools across modalities, followed by the synthesis of tool-grounded responses. Together, these results demonstrate the potential of learned tool orchestration to support multi-step medical workflows across diverse tasks and imaging modalities, extending beyond isolated specialist predictions and direct-answer generation (Figure 1c). Our work establishes a framework for coordinating leading specialists through a learned planner, so that expert-level performance on individual tasks carries over into multi-step clinical workflows.
a

b
Performance by modality
Normalized Score (%)
• MMedAgent-Plus 93.8
• Qwen3-VL 84.2
• GPT-5.4-mini 74.9
• MedGemma 75.8
• LLaVA-Med 30.6
C
Input
What are your observations from this radiology image?

Output

According to LLaVA-Rad, here is the full report: Diagnostic findings for the image: Lung volumes are low,
MMedAgent-Plus
Qwen2.5-VL-7B as Backbone
Planning
Thoughts: User wants a radiology report; I'll call the LLaVA-Rad tool.
Actions: ["API_name": "LLaVA-Rad", "API_params": {"query": "What are your observations...?", "image": "<image>"}]
Value: Calling LLaVA-Rad to generate the radiology report...
Tool Execution

LLaVA-Rad output: Lung volumes are low, but there is no focal consolidation...
User input: Answer my first request: What are your observations from the radiology image?
Aggregation
Thoughts: The LLaVA-Rad tool has completed the report. Now I can answer query based on its
Actions: []
Value: Diagnostic findings for the image according to LLaVA-Rad.
Lung volumes are low, but ...
d
Single-tool Multi-round
Please help me align these two medical images.


This is an image registration task. I need to use UniGradICON to align the moving image to the fixed image.
Calling UniGradICON to proceed ...
Based on the UniGradICON output, I can now provide a comprehensive answer about the registration
Registration completed successfully. The images are now spatially matched and ready for comparative analysis.




Multi-tool Multi-round
What is the imaging modality of the given image?

To accurately determine the imaging modality, I will use the BiomedClip
Calling BiomedClip to proceed ...
According to the result from BiomedClip, this image is classified as a Fundus Photography.
Create a vascular mask overlay on this image.
This is a retinal vessel segmentation task. I'll use the IterNet tool to analyze the fundus image and generate a vessel segmentation mask.
Calling IterNet to proceed ...


Segmentation success!
Mask saved...


Multi-tool Single-round
Please review this image and explain key findings.

I will use UltraSAM first to localize and segment the relevant structure in the image. Then, I will use LLaVA-Rad to interpret the segmented region and answer the medical question with more focused visual evidence.
Calling UltraSAM and LLaVA-Rad to synthesize a concise answer...

Ultrasound image demonstrates a hypoechoic lesion with an elongated and mildly irregular shape. Margins appear partially indistinct, and there is suggestion of posterior acoustic shadowing. The lesion is relatively well visualized against the surrounding tissue, with heterogeneous internal echotexture. No clear posterior acoustic enhancement is observed. Overall appearance is suspicious for a solid lesion, further evaluation with additional imaging or biopsy is recommended for definitive diagnosis.


Figure 1: Overview of MMEDAGENT-PLUS. (a) Medical tool library across tasks, functions, and modalities. (b) Comparison with four vision-language baselines. (c) MMEDAGENT-PLUS work-flow: planning, tool execution, and aggregation. (d) Example single- and multi-tool workflows. In a single-tool workflow, a request is resolved by one specialist call; in a multi-tool workflow, several specialists are called in sequence, either within one request (single-round) or across successive dialogue turns (multi-round), and earlier tool outputs can be passed to later steps.
Evaluation data. All evaluation cases are drawn from held-out partitions established before training. Approximately 10% of dialogues from each setting were reserved for evaluation, with no overlap in dialogues or source images between training and evaluation (Supplementary Section S2.6). This yielded held-out pools of 9,128 single-tool multi-round, 10,000 multi-tool multi-round, and 2,430 multi-tool single-round dialogues.
Using a fixed random seed, we sampled three evaluation sets: (i) 500 dialogues per setting for tool orchestration (Section 2.1); (ii) 600 disjoint response-synthesis cases, comprising 200 per setting, each extracted as a single tool-return and response round from a held-out dialogue (Section 2.2); and (iii) 350 end-to-end cases, comprising 50 cases for each of seven specialist tools, drawn from the single-tool pool (Section 2.3).
The evaluation sets are smaller than the training corpus, which spans 18 specialist tools, 8 modalities, and thousands of tool-chain combinations (Supplementary Tables S7 and S6). Nevertheless, the 95% Wilson confidence intervals for tool-orchestration accuracy have margins of error within 4 percentage points across all three settings (Figure 2a). Representative dialogues and qualitative end-to-end comparisons are provided in Supplementary Figure S1-S8 and S10-S24.
2.1 MMEDAGENT-PLUS demonstrates effective tool orchestration across diverse dialogue settings
We evaluate M on 500 held-out dialogues for each of the three dialogue types (1,500 in total; Section 2), with full results shown in Figure 2a. Each dialogue represents a complete interaction, potentially spanning multiple round of user requests and system responses, with tool calls occurring within or across rounds. We assess orchestration performance using two complementary metrics: Tool-call accuracy (Eq. 2), which measures the correctness of individual tool selections, and Whole-case accuracy (Eq. 3), which requires all tool calls within a dialogue to be correct. We additionally report micro- and macro-averaged precision, recall, and F1 [46] to characterize tool-level performance. Figure 2b-d presents aggregate and per-tool results across the three dialogue settings, while Figure 3 summarizes tool- and task-level recall and incorrect routing assignments.
Single-tool multi-round. In the single-tool multi-round setting, M achieves 91.0% whole-case and tool-call accuracy (95% CI, 88.2-93.2%), indicating consistent tool selection across successive interactions involving individual specialists. Figure 2b shows that achieve precision, recall, and F1 scores above 99.0%, including PMC-LLaMA [47] (text QA), RaTE-NER [48] (named entity recognition (NER)), SpecialistVLMs [49] (retinal OCT report generation), CellViT [50] (WSI cell segmentation), and DSMIL-C16 [51] (breast tumour classification). Other tools, including HealthGPT [16] (reconstruction and super-resolution), LLaVA-Rad [14] (radiology report generation), and ChatCAD-R [52] (retrieval-augmented generation (RAG)) also exceed 90.0% across all three metrics, indicating strong routing performance across diverse medical tasks and modalities.
Multi-tool multi-round. The multi-tool multi-round setting achieves the highest overall performance, with 98.1% tool-call accuracy (95% CI, 97.2-98.7%; 1,251 tool calls) and 95.8% whole-case a Tool orchestration performance
| Dialogue setting | Whole-case | Tool-call | Precision | Micro-averaged Recall | F1 | Precision | Macro-averaged Recall | F1 |
|---|---|---|---|---|---|---|---|---|
| Single-tool multi-round | 91.0% | 91.0% | 91.6% | 91.0% | 91.3% | 94.2% | 89.6% | 90.3% |
| Multi-tool multi-round | 95.8% | 98.1% | 98.2% | 98.1% | 98.1% | 98.3% | 97.7% | 97.9% |
| Multi-tool single-round | 77.1% | 80.7% | 87.5% | 80.7% | 84.0% | 82.7% | 82.6% | 82.0% |
Whole-case accuracy denotes dialogue-level correctness; remaining metrics aggregate tool-level precision, recall and F1 over held-out dialogues.
b Single-tool multi-round

c Multi-tool multi-round

d Multi-tool single-round

Figure 2: Tool orchestration performance across dialogue settings. a, Aggregate performance across single-tool multi-round, multi-tool multi-round, and multi-tool single-round dialogues, evaluated on 500 held-out dialogues per setting (Section 2). Whole-case accuracy (Eq. 3) requires the complete ordered sequence of tool calls within a dialogue to match the reference sequence, whereas tool-call accuracy (Eq. 2) measures correctness at the level of individual required tool invocations. Tool-level precision, recall, and F1 are summarized using micro-averaging, which pools tool decisions across all dialogues, and macro-averaging, which assigns equal weight to each tool type. b-d, Per-tool precision, recall, and F1 for b, single-tool multi-round, c, multi-tool multi-round, and d, multi-tool single-round dialogues. Each row represents a specialist tool, with connected markers indicating its precision, recall, and F1. Tools are ordered by F1 within each panel. Precision captures the extent of unnecessary tool selection, whereas recall captures missed required tool invocations. Full metric definitions are provided in Section 4.5.3.
accuracy (95% CI, 93.7-97.2%) (Figure 2a). Micro-averaged precision, recall, and F1 are 98.2%, 98.1%, and 98.1%, respectively, matching the macro-averaged scores of 98.3%, 97.7%, and 97.9% (Figure 2c). This agreement suggests that performance is distributed across specialist tools rather than dominated by frequently selected tools. At the individual-tool level, nine specialists achieve precision, recall, and F1 scores above 99.0%, including HealthGPT, PMC-LLaMA, LLaVA-Rad, CellSAM [53] (2D cell segmentation), IterNet [54] (fundus segmentation), and UniGradICON [55] (image registration), while five additional tools exceed 90.0% across all three metrics.
Multi-tool single-round. The multi-tool single-round setting yields the lowest orchestration accuracy among the three settings, reflecting the challenge of coordinating multiple specialist tools within a single interaction. M achieves 80.7% tool-call accuracy (95% CI 77.0-83.9%) and 77.1% whole-case accuracy (73.2-80.6%). Micro-averaged precision, recall, and F1 are 87.5%, 80.7%, and 84.0%, respectively, compared with macro-averaged scores of 82.7%, 82.6%, and 82.0% (Figure 2d).
a Tool-level recall

b Tool-level residual errors

C Task-level recall

d Task-level residual errors

Recall ≥ 0.90 0.80 – 0.90 Recall < 0.80 …… 0.90 threshold
Figure 3: Tool- and task-level routing performance across dialogue settings. Row-normalized recall and incorrect routing assignments aggregated across three dialogue settings (1,500 held-out dialogues). a, Per-tool recall, with the dashed line indicating 0.90. b, Nonzero incorrect tool assignments, showing how missed or misrouted tool calls are distributed across alternative routing outcomes. No tool indicates that M responds without invoking a specialist. c, Per-task recall. d, Nonzero incorrect task assignments. For Registration, the proportion assigned to No tool equals 1-recall, corresponding to the missed UniGradICON invocations in b.
Despite the lower aggregate performance, specialists such as UltraSAM [56], IterNet maintain high precision and recall. The difference between tool-call and whole-case accuracy suggests that some dialogues contain a mixture of correct and incorrect tool selections, highlighting the challenge of accurately composing multiple specialist operations.
Aggregate error structure. Across the three dialogue settings, routing errors are concentrated in a small subset of specialist tools and tasks (Figure 3). All but three tools achieve recall above 0.90, with nine reaching 1.00. The lowest recall is observed for UniGradICON (0.36), CONCH (0.64), and MedSAM (0.76) (Figure 3a). Two dominant error patterns emerge at the tool level (Figure 3b). First, the model occasionally confuses tools with related capabilities, most notably routing 36% of CONCH cases to LLaVA-Med (VQA), potentially reflecting overlap between pathology classification and medical visual question answering. Second, the model sometimes bypasses required specialist tools and responds directly, as observed in 64% of UniGradICON cases and 24% of MedSAM cases routed to No tool. Similar patterns emerge at the task level, where most tasks achieve recall of at least 0.94, except Registration (0.36) and Segmentation (0.88) (Figure 3c). Registration errors consist almost entirely of omitted tool invocations, consistent with the Uni-GradICON results. Other errors include Segmentation routed to Classification (12%), Visual Question Answering routed to Classification (2%), and confusion between Grounding and Grounding-Segmentation (Figure 3d).
2.2 MMEDAGENT-PLUS achieves high-quality tool-grounded responses
Table 1: Final response quality across dialogue settings. Responses are evaluated for Faithfulness (Faith.) / Completeness (Compl.) / Conciseness (Conci.) on a 1-5 scale. Avg denotes the mean of the three scores. Dialogue settings includes single-tool multi-round (SM), multi-tool multi-round (MM), and multi-tool single-round (MS).
| Model | SM (Single-Tool MR) | MM (Multi-Tool MR) | MS (Multi-Tool SR) | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Avg | Faith. | Compl. | Conci. | Avg | Faith. | Compl. | Conci. | Avg | Faith. | Compl. | Conci. | |
| LLaVA-Med [13] | 2.68 | 3.14 | 2.15 | 2.76 | 1.27 | 1.03 | 1.01 | 1.77 | 2.45 | 2.03 | 2.15 | 3.18 |
| GPT-5.4-mini [57] | 3.80 | 3.46 | 3.74 | 4.21 | 4.04 | 3.72 | 3.88 | 4.54 | 2.53 | 2.11 | 2.40 | 3.08 |
| MedGemma [58] | 3.95 | 3.76 | 3.59 | 4.49 | 3.87 | 3.59 | 3.52 | 4.50 | 3.12 | 2.98 | 2.75 | 3.63 |
| Qwen3-VL [59] | 4.42 | 4.16 | 4.43 | 4.68 | 4.29 | 3.86 | 4.34 | 4.65 | 3.63 | 3.30 | 3.49 | 4.10 |
| MMEDAGENT-PLUS (ours) | 4.84 | 4.85 | 4.90 | 4.78 | 4.79 | 4.68 | 4.87 | 4.81 | 4.92 | 5.00 | 5.00 | 4.77 |
We evaluate the quality of final responses generated by on 600 held-out cases (200 per dialogue setting), each comprising a single tool-return and response round extracted from a held-out dialogue (Section 2). These cases are disjoint from those used for tool orchestration evaluation (Section 2.1). To isolate response synthesis from tool-selection errors, we provide with the correct specialist outputs and assess its ability to integrate them into coherent, tool-grounded responses. We adopt an LLM-as-a-judge protocol evaluating three criteria: faithfulness, completeness, and conciseness, each scored from 1 to 5, with a combined total of 3 to 15, defined in Section 4.5.3). For , faithfulness measures consistency with the provided specialist outputs rather than clinical correctness relative to the original images. For direct-answer baselines, which do not receive specialist outputs, faithfulness is assessed against the original multimodal inputs (Section 4.5.3). The results across the three dialogue settings are summarized in Table 1, with modality- and task-level analyses presented in Figure 1b.
MMEDAGENT-PLUS achieves the highest overall response quality scores across all three dialogue settings (Table 1). Its largest advantage is observed in the multi-tool single-round setting, where it scores 14.77 out of 15, compared with 10.89 for the strongest direct-answer baseline, Qwen3-VL-8B-Instruct [59]. The corresponding scores are 14.52 versus 13.27 in single-tool multi-round dialogues and 14.36 versus 12.86 in multi-tool multi-round dialogues. Improvements are most pronounced in faithfulness and completeness, with MMEDAGENT-PLUS achieving perfect scores of 5.00 on both criteria in the multi-tool single-round setting. Conciseness scores are also higher across all three settings, reaching 4.77 compared with 4.10 for Qwen3-VL-8B-Instruct in the multi-tool single-round setting.
Modality-level analysis shows that MMEDAGENT-PLUS consistently outperforms direct-answer baselines across the evaluated imaging modalities, with particularly large differences in retinal imaging (Figure 1b). For fundus images, all baselines score below 50%, whereas MMEDAGENT-PLUS approaches 100%. A similarly large margin is observed for retinal OCT, while higher scores are also maintained across CT, MRI, X-ray, and ultrasound.
Task-level analysis shows that MMEDAGENT-PLUS achieves higher response quality scores than direct-answer baselines across most evaluated tasks (Figure 1b), with particularly strong performance in report generation, RAG, and NER. An important distinction arises in grounding-segmentation tasks, where direct-answer baselines provide only textual descriptions without generating segmentation outputs. Consequently, response quality scores capture only the textual component of these tasks and do not fully reflect the differences in task completion between tool-grounded and direct-answer approaches.
Together, these results demonstrate that the strengths of M extend beyond tool selection to the synthesis of specialist-generated evidence. Given correct tool outputs, M produces more faithful and complete responses than direct-answer baselines under the evaluation protocol, with the largest margin observed in the multi-tool single-round setting. As this evaluation isolates response synthesis from tool selection and execution, it does not establish whether these advantages translate into end-to-end task performance. We investigate this question in Section 2.3, where M must independently select and execute specialist tools before generating its final responses.
2.3 MMEDAGENT-PLUS preserves specialist-level performance
We evaluate the end-to-end performance of MMEDAGENT-PLUS without pre-supplied specialist outputs, requiring the system to independently select and execute tools before generating final responses. The evaluation covers seven representative tasks, each associated with one of the 18 specialist tools, using 50 held-out cases per task (350 in total) drawn from the single-tool multi-round test set (Section 4.4, Table 4). These include QA / rationale generation (PMC-LLaMA [47]), named entity recognition (RaTE-NER [48]), report generation (LLaVA-Rad [14]), pathology classification (CONCH [2]), multimodal classification (BiomedCLIP [12]), fundus segmentation (IterNet [54]), and general medical image segmentation (MedSAM [3]). We assess required-tool invocation accuracy and task-specific performance across all seven tasks, with additional LLM-as-a-judge evaluation for the five text-producing tasks.
2.3.1 Specialist Invocation Accuracy
Across 350 held-out end-to-end cases, M correctly invokes the required specialist in 317 cases, achieving 90.6% invocation accuracy (95% Wilson CI, 87.1-93.2%; Figure 4b).
Perfect invocation accuracy (50/50 cases) is observed for QA / rationale generation, , named entity recognition, and multimodal classification. General medical image segmentation reaches 92.0% (81.2-96.9%), report generation reaches 90.0% (78.6-95.7%), and fundus segmentation reaches 82.0% (69.2-90.2%). Pathology classification shows the lowest accuracy at 70.0% (56.2-80.9%), consistent with the tool-routing difficulties observed for CONCH in Section 2.1.
2.3.2 Response Quality under LLM-as-a-judge
We assess end-to-end response quality using the same three-criterion LLM-as-a-judge protocol described in Section 2.2. MMEDAGENT-PLUS is judged against the specialist outputs it receives, whereas the direct-answer baselines are judged against the original multimodal input. Figure 4d provides a shared task-specific reference. Figure 4c reports means and 95% confidence intervals for faithfulness, completeness, and conciseness on all five baseline-comparable tasks (QA / rationale generation, named entity recognition, report generation, pathology classification, and multimodal classification). Figure 4a summarizes the same five tasks as per-task means of the three criteria.
a LLM-as-a-judge scores Faith+Compl+Conci / 3

| Overall mean score (1–5) | Task names | ||
|---|---|---|---|
| MMedAgent-Plus | 4.48 | QA / Rationale | QA / rationale generation |
| MedGemma-1.5-4B-IT | 2.82 | NER | named entity recognition |
| GPT-5.4-mini | 2.73 | Report Gen. | report generation |
| Qwen3-VL-8B | 2.70 | Class. (Path.) | pathology classification |
| LLaVA-Med | 2.51 | Classification Seg. (Fundus) | multimodal classification fundus segmentation |
| Seg. (General) | general medical image segmentation | ||
b Specialist invocation accuracy Total: 317/350 = 90.6% [87.1–93.2%]
| Overall | QA / Rationale | NER | Report Gen. | Class. (Path.) | Classification | Seg. (Fundus) | Seg. (General) | |
|---|---|---|---|---|---|---|---|---|
| Acc. | 0.91 | 1.00 | 1.00 | 0.90 | 0.70 | 1.00 | 0.82 | 0.92 |
| 95% CI | 0.87–0.93 | 0.93–1.00 | 0.93–1.00 | 0.79–0.96 | 0.56–0.81 | 0.93–1.00 | 0.69–0.90 | 0.81–0.97 |
| Correct / n | 317/350 | 50/50 | 50/50 | 45/50 | 35/50 | 50/50 | 41/50 | 46/50 |
c LLM-as-a-judge scores

d Task-specific tool output
| Model | QA / Rationale | NER | Report Gen. | Class. (Path.) | Classification | Seg. (Fundus) | Seg. (General) | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| R-L | Acc. | RG | Ent. | R-L | B-4 | CX | RG | μF1 | mF1 | μF1 | mF1 | Dice | HD95 | Dice | HD95 | |
| GPT-5.4-mini | 0.15 | 0.10 | 0.43 | 0.44 | 0.15 | 0.03 | 0.34 | 0.17 | 0.28 | 0.24 | 0.42 | 0.24 | - | - | - | - |
| LLaVA-Med | 0.21 | 0.02 | 0.40 | 0.74 | 0.10 | 0.00 | 0.12 | 0.02 | 0.12 | 0.10 | 0.28 | 0.13 | - | - | - | - |
| MedGemma-1.5-4B-IT | 0.23 | 0.28 | 0.32 | 0.50 | 0.19 | 0.02 | 0.31 | 0.14 | 0.20 | 0.16 | 0.28 | 0.17 | - | - | - | - |
| Qwen3-VL-8B | 0.17 | 0.06 | 0.17 | 0.28 | 0.13 | 0.01 | 0.18 | 0.09 | 0.12 | 0.12 | 0.28 | 0.12 | - | - | - | - |
| Specialist output (upperbound) | 0.21 | 0.98 | 0.64 | 0.84 | 0.28 | 0.10 | 0.46 | 0.29 | 0.72 | 0.69 | 0.76 | 0.73 | 0.73 | 28.1 | 0.14 | 127.8 |
| MMedAgent-Plus (ours) | 0.20 | 0.98 | 0.64 | 0.90 | 0.25 | 0.08 | 0.43 | 0.24 | 0.38 | 0.35 | 0.74 | 0.66 | 0.60 | 28.1 | 0.13 | 129.6 |
Figure 4: End-to-end performance of MMEDAGENT-PLUS across seven representative tasks. Each task is evaluated on 50 held-out cases using one specialist tool (Table 4), giving 350 cases in total. a, LLM-as-a-judge scores for five text-producing tasks, showing the mean of faithfulness, completeness, and conciseness (1-5 scale) for each task. The legend reports the overall mean across the five tasks. b, Specialist invocation accuracy, reported as the fraction of cases in which M selects the required specialist, together with 95% Wilson confidence intervals and the underlying counts. c, Task-level scores from a decomposed into faithfulness, completeness, and conciseness. Points indicate means, and error bars represent 95% bootstrap confidence intervals. Shaded bands highlight the highest mean within each task. Direct-answer baselines are evaluated against the original multimodal inputs because they do not receive specialist outputs. d, Task-specific output quality compared with standalone specialists and direct-answer baselines. The Specialist output row reports metrics computed directly from specialist outputs, whereas model rows report metrics computed from final responses. Abbreviations: R-L, ROUGE-L; Acc., accuracy; RG, RadGraph F1; Ent., entity-level F1; B-4, BLEU-4; CX, CheXpert F1; F1, micro-F1; mF1, macro-F1; HD95, 95th-percentile Hausdorff distance. For segmentation, Dice is averaged over all 50 cases (missing masks score 0), whereas HD95 is averaged only over cases with generated masks (lower is better, 0 indicates a perfect match). Segmentation metrics are not applicable to text-only responses and are indicated by dashes.
MMEDAGENT-PLUS achieves the highest mean response quality score across all five evaluated tasks. The largest margins over direct-answer baselines are observed in radiology report generation (4.40 versus 2.41 for MedGemma-1.5-4B-IT), named entity recognition (4.96 versus 2.95), and multimodal classification (4.93 versus 3.21 for Qwen3-VL-8B). Smaller but consistent differences are observed in QA / rationale generation (4.53 versus 4.12 for MedGemma-1.5-4B-IT) and pathology classification (3.57 versus 2.29). For radiology report generation, MMEDAGENT-PLUS achieves scores of 4.60 and 4.56, respectively, whereas all direct-answer baselines score below 2.0 on both criteria. Conciseness is generally comparable or higher, except in QA / rationale generation, where MedGemma-1.5-4B-IT and GPT-5.4-mini score 5.00 and 4.92, respectively, compared with 4.14 for MMEDAGENT-PLUS.
2.3.3 Task-Specific Tool Output Quality
Figure 4d compares task-specific performance measured directly from specialist outputs with that obtained from the final responses of MMEDAGENT-PLUS and direct-answer VLM baselines. This comparison assesses how well specialist capabilities are preserved during end-to-end execution.
For QA / rationale generation, MMEDAGENT-PLUS matches the specialist accuracy of 0.98, compared with 0.28 for the strongest direct-answer baseline. In named entity recognition, it preserves the specialist RadGraph F1 of 0.64 and achieves a higher entity-level F1 (0.90 versus 0.84). For report generation and multimodal classification, MMEDAGENT-PLUS also achieves scores closest to the specialist outputs and outperforms direct-answer baselines across the reported metrics. The exception is ROUGE-L for QA / rationale generation, where MedGemma-1.5-4B-IT scores 0.23 compared with 0.20 for MMEDAGENT-PLUS.
Pathology classification exhibits a larger performance gap relative to the specialist, with micro-F1 decreasing from 0.72 to 0.38 across all 50 cases. Among the 35 cases with correct specialist invocation, the corresponding scores are 0.69 and 0.51, suggesting that both routing failures and subsequent response synthesis contribute to the overall performance loss. For the two segmentation tasks, Dice and HD95 are computed directly from masks generated during end-to-end execution. These metrics are unavailable for direct-answer baselines, which produce only textual responses rather than segmentation masks.
3 Discussion
3.1 Tool orchestration extends medical AI beyond isolated specialist models
MMEDAGENT-PLUS demonstrates the potential of integrating heterogeneous specialist models through a unified vision-language planner. By coordinating 18 specialist tools spanning 12 medical tasks and eight modalities, the system extends beyond isolated predictions toward flexible tool-based medical workflows. Instruction tuning across three dialogue settings enables the planner to select appropriate specialists and integrate their outputs into coherent responses. The results show high tool-call accuracy across settings, reaching 98.1% tool-call accuracy in multi-tool multi-round setting, 91.0% in single-tool multi-round and 80.7% in multi-tool single-round (Figure 2a). Its response synthesis consistently achieves higher faithfulness and completeness scores than direct-answer VLM baselines. In the multi-tool single-round setting, for example, M achieves a total final response score of 14.77, compared with 10.89 for the strongest baseline (Table 1). End-to-end evaluations further demonstrate that the system can autonomously invoke specialist tools and retain task-specific performance in several medical tasks (Figure 4c). Together, these results show that M can orchestrate heterogeneous specialist tools and preserve their outputs in the final response, combining specialized medical capabilities within a unified agent framework.
The value of this approach is particularly evident in medical workflows involving multiple interdependent analyses. MMEDAGENT-PLUS is designed to coordinate specialist tools sequentially, allowing intermediate outputs to inform subsequent operations. This capability distinguishes tool-based orchestration from two common approaches. Generalist VLMs [8–11] support diverse medical tasks within unified architectures but typically generate responses directly from the input without explicitly executing specialized operations. Role-based medical agents, including MMedAgent-RL [25], TeamMedAgents [26], and MedLA [27], primarily coordinate language-model agents through collaborative reasoning rather than the execution and transfer of non-text medical artifacts. In contrast, MMEDAGENT-PLUS explicitly models tool-call sequences, achieving ing whole-case accuracies of 95.8% in multi-tool multi-round dialogues and 77.1% in multi-tool single-round dialogues (Figure 2a).
MMEDAGENT-PLUS also extends the scope of existing tool-augmented medical agents through a broader specialist library. As summarized in Table 2, many previous systems focus on specific imaging modalities or disease domains [34, 35, 38–43]. MMedAgent [28], on which our system builds, supports five modalities and six tasks, whereas covers eight modalities and twelve tasks, including training examples involving multiple specialist tools. This broader coverage is accompanied by high response quality across diverse modalities, including fundus imaging and retinal OCT, where the largest margins over direct-answer baselines are observed (Figure 1b). Averaged across eight modality axes, achieves 96.1%, compared with 78.2% for the strongest baseline (Qwen3-VL-8B). These findings suggest that heterogeneous specialist integration can support broad medical task coverage while maintaining high tool-grounded response quality.
Table 2: Task and modality coverage of medical tool-orchestrating agents. Comparison of the reported modality or clinical scope and supported tasks of representative systems. MMedAgent is the base system extended by MMEDAGENT-PLUS.
| System | Modality / clinical scope | Supported tasks |
|---|---|---|
| WSI-Agents [34] | Pathology (WSI) | Multi-task WSI analysis |
| PathAgent [35] | Pathology (WSI) | WSI analysis |
| RadAgents [38] | Chest X-ray | Reporting, interpretation |
| EviAgent [39] | Chest X-ray | Report generation |
| MARCH [40] | Chest CT | Report generation |
| MRGAgents [41] | Chest X-ray | Report generation |
| Evo-MedAgent [42] | Chest X-ray | Classification, VQA |
| ADAgent [43] | Alzheimer's disease (MRI, PET) | Diagnosis, prognosis |
| MMedAgent [28] (base) | 5 modalities | 6 tasks |
| MMEDAGENT-PLUS (ours) | 8 modalities | 12 tasks |
3.2 Orchestration errors reflect tool ambiguity and implicit workflow requirements
Tool orchestration performance varies substantially across the three dialogue settings (Figure 2). Tool-call accuracy is highest in multi-tool multi-round dialogues (98.1%), followed by single-tool multi-round (91.0%) and multi-tool single-round dialogues (80.7%), with whole-case accuracy following the same trend. These differences suggest that orchestration difficulty depends not only on the number of required tools but also on when information becomes available to the planner. In multi-round interactions, preceding requests and intermediate tool outputs can inform subsequent tool selections. By contrast, multi-tool single-round requests require the planner to determine the complete tool sequence upfront, before any specialist is executed or intermediate results become available.
The multi-tool multi-round setting achieves the highest performance, with 98.1% tool-call accuracy and 95.8% whole-case accuracy. In this setting, the planner selects tools incrementally rather than committing to the complete sequence from the initial request. Follow-up turns can therefore be interpreted together with previously executed tools and their returned intermediate outputs. Such contextual information may help narrow the choice of specialist tools by clarifying the imaging modality and current workflow stage. The closely aligned micro- and macro-averaged F1 scores (98.1% and 97.9%, respectively) further suggest that strong performance extends across the tool library rather than being dominated by frequently selected tools. Together, these findings highlight the potential value of intermediate context for sequential tool orchestration.
Single-tool multi-round dialogues achieve 91.0% tool-call and whole-case accuracy, with identical values because each dialogue contains only one tool invocation. Unlike multi-tool multi-round interactions, these dialogues provide no preceding specialist outputs to inform tool selection, requiring the planner to identify the appropriate tool primarily from the current request and input. This can introduce ambiguity when specialists accept similar input modalities or produce similar outputs. Per-tool F1 scores are lower for CONCH (0.50), LLaVA-Med (0.78), and CellSAM (0.80), whereas several other tools approach perfect performance (Figure 2b). For example, CONCH performs pathology classification, while LLaVA-Med supports general medical visual question answering. Both of them can process pathology images and generate textual outputs, potentially making their intended use difficult to distinguish from certain requests. Such ambiguity may contribute to the gap between micro- and macro-averaged F1, suggesting that orchestration errors are concentrated in a subset of tools with overlapping capabilities.
Multi-tool single-round dialogues show the lowest orchestration performance, with 80.7% tool-call accuracy and 77.1% whole-case accuracy. Micro-averaged recall equals tool-call accuracy (80.7%) and is lower than micro-averaged precision (87.5%), suggesting that missed tool invocations are more prevalent than unnecessary selections. This imbalance is less apparent under macro-averaging, where precision (82.7%) and recall (82.6%) are nearly identical, reflecting differences in tool frequency and error distribution. LLaVA-Rad illustrates the omission pattern, achieving 100% precision but only 78.0% recall across 350 required calls, with missed invocations routed to no tool. In these cases, report generation is an implicit intermediate step that the planner must infer from the request. Failure to recognize this dependency leads to incomplete tool sequences, contributing to the lower whole-case accuracy. These findings highlight the difficulty of planning multi-tool workflows when intermediate operations are not explicitly specified.
Taken together, these findings suggest two recurring challenges in tool orchestration (Figure 3). First, tools with overlapping input modalities and output formats can be difficult to distinguish when the user's intended task is ambiguous, as illustrated by confusion between CONCH and LLaVA-Med. Second, required intermediate operations may be omitted when they are not explicitly specified in the request, leading to incomplete tool sequences. The higher accuracy observed in multi-tool multi-round dialogues suggests that preceding tool calls and intermediate outputs may help resolve such ambiguity by clarifying the current workflow state. Conversely, tools with more distinctive task and modality requirements, including ChatCAD-R, PMC-LLaMA, RaTENER, SpecialistVLMs, and CellViT, achieve recall above 99%, with similarly high recall observed across CT, MRI, ultrasound, retinal imaging, and X-ray tasks.
3.3 Residual errors arise from specialist selection and response synthesis
End-to-end evaluation shows that M successfully invokes the required specialist in 90.6% of cases and achieves higher LLM-as-a-judge scores than direct-answer baselines across all five evaluated tasks (Figure 4a-c). The largest margins are observed in tasks where specialist tools provide task-specific evidence, including radiology report generation and multimodal classification, whereas the difference is smaller for open-ended question answering. Task-specific metrics further indicate that specialist performance is largely retained during response synthesis for several tasks, with M matching the specialist accuracy of 0.98 in QA / rationale generation and achieving comparable performance in named entity recognition, report generation, and multimodal classification (Figure 4d). These findings suggest that the benefits of tool-grounded response generation can extend to autonomous end-to-end execution, although performance remains sensitive to errors in special-ist selection and subsequent output integration.
End-to-end performance losses can arise at two stages: specialist selection and post-invocation response synthesis. Pathology classification illustrates both challenges. Its invocation accuracy is the lowest among the evaluated tasks (70.0%), consistent with the confusion between CONCH and LLaVA-Med observed in the tool orchestration analysis. Even when the correct specialist is invoked, converting its outputs into final responses can introduce further information loss. Across all 50 pathology classification cases, micro-F1 decreases from 0.72 for the specialist to 0.38 for M. Among the 35 cases with correct specialist invocation, the corresponding scores are 0.69 and 0.51, suggesting that both routing failures and post-invocation losses contribute to the overall performance gap. A related trade-off appears in QA / rationale generation, where M achieves higher response quality but lower conciseness scores than MedGemma and GPT-5.4-mini. For segmentation tasks, performance is assessed from generated masks using Dice and HD95, rather than from natural-language responses. Together, these findings highlight the importance of both accurate tool selection and faithful preservation of specialist outputs during end-to-end execution.
3.4 Extending tool orchestration to adaptive workflows and clinical practice
Our framework has several limitations. First, end-to-end performance depends on the quality of the underlying specialist tools, whose errors may propagate to final responses or subsequent workflow steps. This limitation is evident in general medical image segmentation, where output quality remains limited despite correct tool invocation (Figure 4d). Second, the evaluated workflows are less complex than those encountered in clinical practice. Our multi-tool settings involve chains of two to three tools constructed from public medical benchmarks rather than prospectively collected clinical workflows. Our evaluation does not cover substantially longer tool sequences, workflows in which the choice of a later tool depends on the specific output of an earlier step, or cases in which several valid tool sequences may address the same request. The reliability observed in the current experiments should therefore not be assumed to extend directly to these more complex settings. Finally, extending the tool library to new tasks or modalities requires additional instruction tuning. Although compatible specialists can replace existing tools without changing their interfaces, introducing new capabilities requires the planner to learn when and how to invoke them. Prior work on MMedAgent [28] suggests that incremental training can incorporate new tools without substantially degrading existing capabilities, but this remains unverified for our larger, more heterogeneous library.
These limitations suggest several directions for future work. More explicit workflow planning, targeted instruction tuning, and tool-selection verification may help address ambiguity between specialists and failures to identify implicit intermediate operations. Future systems should also support longer, adaptive workflows in which tool selection responds to intermediate findings, multiple execution paths are permitted, and workflows terminate once sufficient evidence is obtained. Beyond benchmark-based evaluation, clinician-designed cases and prospective clinical studies are needed to assess orchestration reliability under realistic variation in patient data, task requirements, and workflow complexity.
In conclusion, MMEDAGENT-PLUS demonstrates the feasibility of coordinating heterogeneous specialist medical models through an instruction-tuned vision-language planner. Integrating 18 specialist tools across 12 tasks and 8 modalities, the system achieves high tool-selection accuracy and generates faithful, complete responses grounded in specialist outputs. End-to-end evaluation further demonstrates the preservation of specialist-level performance on selected tasks, while highlighting the effects of routing and post-invocation errors. These findings support tool orchest-tration as a complementary approach to generalist medical AI, although longer adaptive workflows and prospective clinical validation remain necessary before deployment in clinical practice.
4 Methods
4.1 System Overview
MMEDAGENT-PLUS is a multimodal medical tool-use agent that integrates a vision-language planner with a library of specialist medical tools , where denotes the number of available tools. Rather than incorporating all medical capabilities into a single model, the framework coordinates medical foundation models and task-specific specialists with heterogeneous input and output interfaces. Given a medical request, the planner determines whether specialist tools are needed, selects the appropriate tools, and coordinates their execution to support the requested task or workflow.
At inference, receives a multimodal input , where denotes the user query and denotes the set of input images, which may be empty for text-only tasks. The planner also incorporates the dialogue history and any outputs returned by previously executed tools. Based on this context, generates structured tool calls when external execution is required. The selected specialists are executed, and their outputs are returned to the planner to inform subsequent tool selections or final response generation. This iterative process enables the system to coordinate specialist operations across dialogue turns and incorporate intermediate results into subsequent steps. The following sections detail the planner architecture and fine-tuning (Section 4.2), instruction-tuning data construction (Section 4.3), and specialist tool library and interfaces (Section 4.4).
4.2 Backbone Model and Interaction Framework
MMEDAGENT-PLUS employs Qwen2.5-VL-7B [60] as its vision-language tool-use planner M. The planner generates tool calls in JSON format, specifying the specialist tool and its input parameters. For example, a MedSAM call takes the form {"API_name": "MedSAM", "API_params": {"boxes": [[x1,y1,x2,y2]]}}. During multi-round interactions, the planner receives the dialogue history and outputs from previously executed tools, including segmentation masks, bounding boxes, and generated reports, to inform subsequent tool selection and response generation.
We adapt M for medical tool orchestration through supervised instruction tuning on the curated dataset S (Section 4.3). The vision-language projector and language decoder are fine-tuned while the vision encoder remains frozen. Training minimizes the causal language modeling loss in Eq. (1) over generated sequences comprising structured tool calls and natural-language responses.
where denotes the i-th output token and x represents the multimodal context, including the user input, dialogue history, images, and available tool outputs. This formulation allows M learn tool selection, tool sequencing, and response generation through instruction tuning.
4.3 Dataset Curation
We construct a multimodal instruction-tuning corpus S to train the planner M for specialist tool selection and workflow orchestration (Table 3). The corpus comprises three dialogue settings:
single-tool multi-round, which trains individual specialist invocation across dialogue turns; multi-tool multi-round, which supports sequential tool selection based on preceding dialogue and available tool outputs; and multi-tool single-round, which requires the planner to determine a complete sequence of specialist tools from a single request. Each sample comprises a user query, optional medical images and preceding tool outputs, and a target sequence containing structured tool calls, natural-language responses, or both. Training and evaluation data are separated according to the protocol described in Section 4.5.
4.3.1 Data Sources
We curate training samples from 32 publicly available medical datasets and benchmarks spanning text, X-ray, CT, MRI, ultrasound, retinal imaging, and pathology. The corpus covers a broad range of medical tasks, including question answering, named entity recognition, retrieval-augmented generation, visual question answering, classification, detection, segmentation, registration, reconstruction, super-resolution, and report generation.
Text-based tasks draw on datasets associated with PMC-LLaMA [47], PubMedQA, and RaTENER [48]. Visual understanding samples are derived from resources associated with LLaVA-Med [13], BiomedCLIP [12], CONCH [2], and DSMIL [51]. Segmentation samples are curated from benchmarks used in MedSAM [3] for general medical imaging, UltraSAM [56] for ultrasound, IterNet [54] for retinal fundus imaging, and CellViT [50] and CellSAM [53] for pathology. Image transformation data cover registration and reconstruction or super-resolution, using resources associated with UniGradICON [55] and HealthGPT [16], respectively. Report generation samples are drawn from datasets associated with LLaVA-Rad [14] for radiology and SpecialistVLMs [49] for retinal OCT. The complete list of data sources and sample counts is provided in Table S4.
4.3.2 Instruction Dataset Construction
The instruction-tuning corpus S comprises 208,928 samples organized into three dialogue settings. The instruction format, including user inputs, structured tool calls, returned tool outputs, and final responses, is detailed in Supplementary Section S2.5.
contains 97,055 single-tool multi-round dialogues. Each dialogue is associated with one specialist tool and trains to determine when the tool should be invoked during an ongoing conversation. Tool-use turns are constructed from the corresponding task-specific datasets, with general conversational turns randomly inserted before or after the tool-use turn. This design exposes the planner to contexts both requiring and not requiring specialist invocation, while preserving dialogue continuity across multiple turns.
contains 90,000 multi-tool multi-round dialogues, each involving two to four tool invocations distributed across multiple turns. Dialogues are constructed from seven abstract task-chain templates combined with four conversation scenarios: a single image reused throughout; two images provided initially for tasks such as registration; a second image introduced in a later turn; and a switch to an unrelated image during the dialogue. Each abstract task is mapped to a specialist through a tool-modality routing table, allowing the same template to yield different tool sequences across modalities (Supplementary Table S7). The resulting dialogues follow two interaction patterns. In dependent workflows, successive requests concern the same medical study, with later tools operating on findings returned by earlier specialists. Intermediate outputs, such as segmentation masks, reports, and extracted entities, are retained in the dialogue context for subsequent decisions. In independent workflows, each turn introduces a separate request with its own image or text, requiring the planner to select tools according to the current request rather than reuse previous selections. Candidate tool chains are constrained by modality compatibility in both patterns and by input-output interface compatibility in dependent workflows. All generated dialogues undergo three levels of automatic validation. Structural validation checks dialogue-input consistency, including image-placeholder counts and tool-specific image requirements. Modality validation verifies that each selected tool supports its assigned input modality according to the compatibility matrix. Interface validation checks whether outputs from earlier tools can serve as valid inputs to downstream operations in dependent workflows. Dialogues failing any applicable check are excluded. The chain templates, interaction patterns, and corresponding tool combinations are detailed in Supplementary Table S7.
contains 21,873 multi-tool single-round instructions, each requiring M to select and order a complete sequence of two to three specialist tools from a single request. Unlike , the planner must determine the entire sequence before any specialist output becomes available. Chain construction follows the same modality and interface compatibility constraints as . It combines multimodal classification, question answering, segmentation, and report generation, including both two-tool and three-tool sequences. Intermediate tool outputs sampled from are incorporated during dataset construction to provide realistic inputs for downstream operations, but are not available to the planner when it initially selects the complete tool sequence.
4.3.3 Dialogue Generation and Data Quality Control
New instruction-tuning dialogues are constructed through a template-based procedure without per-sample language model generation. For each task, predefined banks of user-request phrasings and assistant-response templates are created in a single offline pass using GPT-4 [61] and subsequently fixed (Supplementary Table S5). Single-tool samples are generated by pairing a randomly selected request template with a case from the corresponding source benchmark. Target responses combine structured tool calls, generated according to the tool registry schema, with response templates populated using the reference outputs of the source cases. Multi-tool dialogues are assembled from these samples according to the predefined chain templates and conversation scenarios, with transitions between turns drawn from a fixed phrase bank. A fixed random seed is used for sampling, and the construction scripts and template inventories are provided to support reproducibility.
The instruction-tuning corpus combines data from three sources. For the twelve newly introduced tools, dialogues are synthesized using the template-based procedure described above. For the six tools inherited from MMedAgent [28], we retain the original instruction data, which were generated using GPT-4 and source-dataset annotations according to the procedure described in that work. For template-based synthesis, medical inputs and reference outputs, including images, questions, labels, reports, entity annotations, and segmentation masks, are taken from the source benchmarks rather than generated by GPT-4. The language model is used only to construct the natural-language templates, while structured tool calls follow the predefined tool registry. Generated multi-tool dialogues are further checked for structural consistency, modality compatibility, and input-output interface compatibility as described above. Tool-specific data provenance and sample counts are reported in Supplementary Table S4.
4.4 Tool Integration
The tool library T comprises 18 specialist medical models grouped into four functional categories: (i) text understanding and generation, including question answering, named entity recog-
Table 3: Composition of the instruction-tuning corpus across three dialogue settings. Single-tool multi-round samples are grouped by specialist tool, whereas multi-tool settings are reported by their total sample counts. Tool-chain configurations are detailed in Supplementary Table S6- S7.
| Category | Tool | #Samples |
|---|---|---|
| Single-tool Multi-round | PMC-LLaMA [47] | 9,000 |
| RaTE-NER [48] | 4,500 | |
| ChatCAD-R [52] | 2,528 | |
| LLaVA-Med [13] | 16,687 | |
| BiomedCLIP [12] | 7,923 | |
| Grounding DINO [62] | 4,207 | |
| Grounding DINO [62] + MedSAM [3] | 2,303 | |
| MedSAM [3] | 5,765 | |
| UltraSAM [56] | 5,000 | |
| IterNet [54] | 4,500 | |
| UNIGradICON [55] | 5,000 | |
| HealthGPT [16] (For Reconstruction) | 6,147 | |
| HealthGPT [16] (For Super Resolution) | 4,593 | |
| LLaVA-Rad [14] | 4,500 | |
| SpecialistVLMs [49] | 3,602 | |
| CONCH [2] | 3,600 | |
| DSMIL-TCGA [51] | 1,800 | |
| DSMIL-C16 [51] | 1,800 | |
| CellViT [50] | 1,800 | |
| CellSAM [53] | 1,800 | |
| Subtotal | 97,055 | |
| Multi-tool Single-round | 21,873 | |
| Multi-tool Multi-round | 90,000 | |
| Total | 208,928 |
nition, and retrieval-augmented generation; (ii) visual understanding, including visual question answering and image classification; (iii) image processing, including object detection, segmentation, grounding-segmentation, image registration, reconstruction, and super-resolution; and (iv) medical report generation, covering radiology and retinal OCT reporting. Collectively, these tools span 12 medical tasks and 8 input modalities: text, X-ray, CT, MRI, ultrasound, retinal fundus imaging, retinal OCT, and pathology.
The library integrates medical foundation models and task-specific specialists selected for their reported performance and public availability in the corresponding tasks and modalities. Each tool is registered through a standardized invocation interface specifying its supported input modalities, required parameters, and output types. This common interface allows the planner M to invoke specialists with heterogeneous architectures and input-output formats. It also supports multi-step workflows in which outputs from upstream tools can be passed to downstream tools when their interfaces are compatible. The complete inventory of specialist models, supported tasks and modalities, and associated data sources is provided in Supplementary Table S4.
4.4.1 Text Understanding and Generation
QA & Rationale Generation. We use PMC-LLaMA [47] as the tool of QA and rationale generation. To incorporate domain knowledge, PMC-LLaMA undergoes initial pretraining on the MedC-K medical corpus, then is fine-tuned with instructions using the MedC-I domain-specific instruction dataset. This two-stage training approach ensures that PMC-LLaMA performs effectively across a variety of medical reasoning tasks.
Named Entity Recognition. We employ RaTE-NER [48], a named entity recognition (NER) model designed for understanding radiology reports. RaTE-NER is trained on a newly introduced dataset comprising radiology reports annotated for key medical entities, including anatomical structures, findings, diagnoses, and negations. The model is designed to reflect human reasoning by aligning with RaTEscore, a framework that captures clinically relevant relationships between entities and report quality.
Retrieval-Augmented Generation. We integrate ChatCAD-R [52], a retrieval-augmented generation framework designed to combine free-text radiology knowledge with structured databases. ChatCAD-R retrieves relevant entries from natural language text format. It merge the strengths of LLMs' medical domain knowledge and logical reasoning with the vision understanding capability of existing medical-image CAD models.
4.4.2 Visual Understanding
Visual Question Answering (All). We adopt LLaVA-Med [13] as the backbone tool for medical VQA. LLaVA-Med is trained on multimodal pairs curated from PMC articles, covering MRI, CT, histology, gross images, and X-rays. Its visual encoder is aligned with biomedical language corpora, allowing it to handle both conversational queries and detailed image-centric questions. LLaVA-Med shows excellent multimodal conversational capability and can follow open-ended instruction to assist with inquiries about a biomedical image.
Classification (All). We employ BiomedCLIP [12], a biomedical foundation model trained on 15 million scientific image-text pairs, as the classification tool. BiomedCLIP achieves state-of-the-art performance in zero-shot and fine-grained classification across diverse imaging modalities. It classifies input images based on similarity between visual and textual embeddings, enabling robust cross-modal understanding.
Classification (Pathology). We utilize CONCH [2], a specialized visual-language foundation model trained on over 1.17 million diverse histopathology image-caption pairs, for zero-shot pathology classification. We adapt CONCH to answer diagnostic queries by matching image features to a predefined dictionary of textual descriptions. It leverages variations of pathological class names (e.g., tumor subtypes, tissue types, or morphological features) inserted into standard templates to create ensembled text embeddings for each category. Images are then evaluated based on the highest cosine similarity in the shared image-text embedding space.
4.4.3 Image Processing
Tumor Detection and Subtyping (Pathology). We employ DSMIL [51], a deep multiple instance learning network, for localized tumor detection and classification in whole slide images. To support distinct diagnostic tasks, we adapt the model into two specialized tools: DSMIL-C16 and DSMIL-TCGA. DSMIL-C16 grounds on the Camelyon16 dataset to serve as a general tumor classifier, distinguishing malignant from benign histology. DSMIL-TCGA grounds on the TCGA dataset to perform lung cancer malignancy classification and subtyping, such as differentiating adenocarcinoma from squamous cell carcinoma.
Grounding (All). We use Grounding DINO [62] as our object detection tool. It merges Transformer-based detector DINO with grounded pre-training, fine-tuned for medical applications to localize anatomical structures, lesions, and cells across MRI, CT, X-ray, and histology. By transforming segmentation masks into bounding boxes during fine-tuning, the model learns to generalize across modalities and disease categories, achieving accurate detection and localization for downstream tasks.
Segmentation (All). For general segmentation, we adopt MedSAM [3], a domain-adapted version of the Segment Anything Model (SAM) [63] fine-tuned on diverse medical datasets spanning MRI, CT, X-ray, histology, and gross images. It supports box- and point-based prompts, enabling interactive and delivering accurate and efficient segmentation across modalities.
Grounding-Segmentation (All). For grounding-segmentation (G-Seg), we chain Grounding DINO with MedSAM. Grounding DINO first localizes the region of interest based on text prompts, and MedSAM refines these into pixel-level segmentation masks. This combination supports clinically realistic workflows in which a physician specifies an object of interest and the agent automatically outputs precise boundaries.
Segmentation (Ultrasound). We use UltraSAM [56], a Segment Anything-based visual foundation model for ultrasound image segmentation. UltraSAM was trained on US-43d, the largest public ultrasound dataset, and addressed anatomical complexity and limited annotations. It supports point- and box-based prompts, serving as a flexible backbone for various tasks.
Segmentation (Fundus). We use IterNet [54] for retinal vessel segmentation tasks. IterNet extends the U-Net architecture, extracts fine-grained vascular details by iteratively refining the output of previous segmentations. The model comprises multiple mini-U-Net blocks, allowing it to achieve depths of up to four times that of standard U-Net.
WSI Cell Segmentation (Pathology). We employ CellViT [50] for automated cell nuclei instance segmentation in gigapixel whole-slide images (WSIs). The model utilizes a U-Net-shaped encoder-decoder architecture where a ViT serves as the image encoder. CellViT is trained and evaluated on the PanNuke dataset. It automatically preprocesses the WSI by extracting manageable image patches, and subsequently performs precise, large-scale cell segmentation and detection across the entire slide. Our framework deploys the pre-trained SAM-H backbone variant.
2D Cell Segmentation (Pathology). We employ CellSAM [53] for automated cell instance segmentation in 2D images. Built upon SAM foundation, CellSAM integrates a specialized object detector, CellFinder, which utilizes an Anchor DETR framework to automatically generate bounding box prompts for SAM's mask decoder. The model is trained on a diverse corpus of cellular imaging data-incorporating datasets.
Registration (All). We use uniGradICON [55] as a radiology registration tool. The model fuses the performance of deep learning with the adaptability of traditional methods. It enables zero-shot registration on untrained tasks and offers strong generalization across diverse datasets, anatomical regions, imaging modalities, and acquisition protocols.
Image Reconstruction & Super Resolution (All). We use HealthGPT [16] for image reconstruction and super resolution tasks. This model is designed to perform both comprehension and generation tasks in complex medical scenarios. HealthGPT built upon a multi-LoRA PEFT architecture, employs a task-gated decoupling strategy to mitigate data conflict and enhance multi-task learning under limited supervision.
4.4.4 Medical Report Generation
Report Generation (All). We use LLaVA-Rad [14] for generating radiology reports. It offers fast inference and efficient fine-tuning, which aligns well with visual abnormalities and report content. Its modular design bridges multimodal performance gaps while maintaining low computational costs, facilitating practical clinical integration.
Report Generation (Retina OCT). We use SpecialistVLMs [49] for OCT report generation. This model was trained on domain-specific OCT images along with expert annotations, allowing for accurate identification of retinal structures and pathologies.
4.5 Implementation Details
4.5.1 Model Training
The planner M is initialized from Qwen2.5-VL-7B [60] and fine-tuned on the instruction-tuning corpus S (Section 4.3) using the objective in Eq. 1. The vision encoder is kept frozen, while the vision-language projector and language decoder are updated during training.
We use AdamW [64] with a learning rate of , weight decay of 0.01, and a maximum gradient norm of 1.0. The learning rate follows a cosine decay schedule with linear warmup over the first 10% of optimization steps. Training is performed for one epoch using bfloat16 precision and gradient checkpointing on four NVIDIA A100-SXM4-80GB GPUs. A per-device batch size of 1 and gradient accumulation over 64 steps yield an effective global batch size of 256.
4.5.2 Deployment
MMEDAGENT-PLUS is deployed as a set of containerized services coordinated by a central gateway. The planner M and each specialist tool run as separate services, with specialist tools exposed through standardized invocation interfaces. For each user request, the gateway forwards the multimodal input and dialogue context to the planner, parses the generated structured tool calls, and dispatches them to the specialist services. Tool outputs are returned to the planner for subsequent tool selection or final response generation. Multi-tool workflows are executed through the gateway, which coordinates the invocation of successive specialists according to the tool sequence specified by the planner. This modular architecture allows specialist implementations to be updated or replaced independently, provided that their interfaces remain compatible.
4.5.3 Evaluation Protocol
We evaluate MMEDAGENT-PLUS across three aspects: tool orchestration accuracy, final response quality, and end-to-end task performance. The evaluations assess the correctness of specialist selection and sequencing, the quality of generated responses, and task-specific performance relative to direct-answer baselines and standalone specialist models.
Tool Orchestration. We assess tool orchestration using five complementary metrics at the individual tool-call and dialogue levels.
Tool Call Accuracy. Tool call accuracy measures the proportion of correctly selected tools across individual invocations:
where and denote the reference and predicted tool identities for the i-th invocation, respectively, and N is the total number of reference tool calls across the evaluation cases.
Whole-Case Accuracy. Whole-case accuracy measures the proportion of dialogues in which the predicted tool sequence exactly matches the reference sequence, including both tool identities and execution order:
where denotes the number of evaluation dialogues, is the ordered reference tool sequence for dialogue , and is the corresponding predicted sequence. A dialogue is counted as correct only if all required tools are selected in the correct order, with no missing, additional, or incorrectly ordered calls. This metric provides a stricter assessment of orchestration correctness than tool-call accuracy in multi-tool settings.
Precision, Recall, and F1. We compute precision, recall, and F1 to characterize tool selection errors independently of invocation order. Each specialist tool is treated as a binary label indicating its presence in a dialogue. A true positive ( ) occurs when is both required and predicted, a false positive ( ) when it is predicted but not required, and a false negative ( ) when it is required but omitted. These counts are aggregated across evaluation dialogues for each tool.
Tool-specific precision, recall, and F1 are defined as:
Macro-averaged metrics assign equal weight to each specialist tool:
Micro-averaged metrics aggregate true positives, false positives, and false negatives across all tools before computing the scores:
Precision reflects the frequency of unnecessary tool selections, whereas recall reflects the frequency of omitted tools. Macro averaging weights specialists equally, while micro averaging summarizes performance across tool-presence decisions. Unlike whole-case accuracy, these metrics do not account for invocation order or repeated calls to the same tool within a dialogue.
Per-Task and Per-Modality Accuracy. To assess variation in orchestration performance, we report tool-call accuracy stratified by medical task and input modality. Task categories include segmentation, report generation, visual question answering, named entity recognition, etc. Modality groups include CT, MRI, X-ray, ultrasound, retinal fundus, OCT, pathology, and text. These analyses identify tasks and modalities associated with higher rates of tool-selection errors.
Error Pattern Analysis. We further characterize orchestration errors by examining row-normalized recall and residual incorrect assignments at the tool and task levels (Figure 3). Row-normalized recall measures the proportion of reference calls correctly assigned to each tool or task, while residual assignments identify alternative predictions when the correct tool is not selected. These errors include substitutions between specialists with overlapping capabilities and omissions of required tool calls, represented by no tool. Modality-level residuals are also examined to identify errors associated with mismatches between reference and predicted input modalities (Section 2.1).
Together, these evaluations provide a complementary assessment of tool orchestration reliability. Tool-call accuracy and precision, recall, and F1 quantify selection performance at the invocation level, while whole-case accuracy assesses whether the complete tool sequence is correctly selected and ordered. Task- and modality-stratified analyses reveal where errors are concentrated, providing insight into the limitations of tool selection across heterogeneous medical tasks.
Task-Specific Tool Output Quality. We assess end-to-end task performance using seven representative specialist tools spanning text-based and image-based medical tasks: PMC-LLaMA for question answering and rationale generation, RaTE-NER for named entity recognition, CONCH for pathology classification, BiomedCLIP for multimodal classification, IterNet for retinal fundus segmentation, MedSAM for general medical image segmentation, and LLaVA-Rad for radiology report generation. Each tool is evaluated using task-specific metrics appropriate to its output format, including textual responses, entity annotations, class predictions, segmentation masks, and radiology reports (Table 4). These metrics are used to compare the outputs of MMEDAGENT-PLUS with those of the corresponding standalone specialists.
For radiology report generation, we combine lexical similarity metrics with clinical measures to capture complementary aspects of report quality [65]. ROUGE-L [66] and BLEU-4 [67] quantify textual overlap with reference reports. CheXpert F1 [68] measures agreement on extracted clinical observations, while RadGraph F1 [69] evaluates agreement on clinical entities and their relations. The latter metrics provide a more clinically focused assessment than lexical overlap.
Final Answer Quality. Accurate tool selection does not guarantee that specialist outputs are faithfully incorporated into the final response. We therefore assess response quality using GPT-5.4-mini [57] as an LLM judge. Given the dialogue history and returned specialist outputs, MMEDAGENT-PLUS generates a natural-language response that is evaluated on three criteria, each scored on a five-point integer scale.
• Faithfulness assesses whether the response accurately represents the returned specialist outputs without introducing unsupported claims or contradictions. This criterion is evaluated against the tool outputs alone, without reference to the ground-truth answer.
• Completeness assesses whether the response includes the relevant information from the specialist outputs needed to address the user request. The reference answer is used to identify task-relevant information rather than as a target for lexical matching.
• Conciseness assesses whether the response avoids irrelevant or redundant content while retaining the information necessary to address the user request. The reference answer serves
Table 4: Task-specific evaluation metrics used in end-to-end assessment. Tasks span both text and image modalities; metrics are selected to reflect clinically relevant aspects of output quality. QA, question answering; NER, named entity recognition; MRI, magnetic resonance imaging; CT, computed tomography; US, ultrasound; HD95, 95th-percentile Hausdorff distance.
| Task | Tool | Modality | Metric(s) |
|---|---|---|---|
| QA / Rationale Generation | PMC-LLaMA [47] | Text | ROUGE-L, Accuracy |
| Named Entity Recognition | RaTE-NER [48] | Text | RadGraph F1, Entity-level F1 |
| Classification (Pathology) | CONCH [2] | Pathology | Micro F1, Macro F1 |
| Classification | BiomedCLIP [12] | X-Ray, MRI, CT, US | Micro F1, Macro F1 |
| Segmentation (Fundus) | IterNet [54] | Retina | Dice, HD95 |
| Segmentation (General) | MedSAM [3] | X-Ray, MRI, CT, US | Dice, HD95 |
| Report Generation | LLaVA-Rad [14] | X-Ray, MRI, CT, US | ROUGE-L, BLEU-4,CheXpert F1, RadGraph F1 |
only as a guide to the expected scope of the response.
We report the mean score for each criterion across evaluation dialogues. The three criterion scores are also summed to obtain a combined score ranging from 3 to 15, which serves as a secondary summary metric. For task- and modality-level visualizations, the combined score is normalized by the maximum possible score of 15 and expressed as a percentage. To reduce interference between criteria, each criterion is evaluated in a separate judge call using a dedicated rubric and three scored few-shot examples.
Two evaluation rules accommodate different output formats and workflow structures. For tools producing non-text outputs, including MedSAM, IterNet, HealthGPT, and UniGradICON, the generated image, mask, or file is treated as the primary output. A brief acknowledgment of successful output generation is considered sufficient when the user request does not require a textual description. For multi-tool workflows, response quality is assessed primarily against the terminal tool output. Intermediate outputs are not required to be separately described unless explicitly requested by the user.
We additionally identify two types of response-generation errors. A wrong-context response occurs when produces a tool-call-style output instead of synthesizing a final response after tool execution. Such responses are assigned the minimum score of 1 for each criterion without LLM-judge evaluation. A redundant tool call occurs when an additional tool invocation accompanies an otherwise substantive final response. These responses are scored normally and separately recorded for error analysis.
For each evaluation instance, the judge receives the tool name, original user request, terminal tool output, generated response, reference answer, and indicators for non-text outputs and multi-tool workflows. Intermediate reasoning traces and training annotations are excluded. Each criterion is assessed in a separate judge call using a dedicated rubric and three scored few-shot examples to minimize interference between criteria. The judge returns an integer score and a brief justification. Judge responses are cached using input hashes to ensure consistent reuse of previously obtained evaluations.
Baseline Comparison. We compare MMEDAGENT-PLUS with four direct-answer multimodal models: Qwen3-VL-8B [59], LLaVA-Med [13], GPT-5.4-mini [57], and MedGemma-1.5-4B-IT [58].
These baselines span general-purpose and medical-domain vision-language models. The comparison assesses the final response quality of specialist-assisted generation relative to direct generation from the original multimodal input. Answer generation and response evaluation are conducted separately.
Answer generation. Each baseline receives the original user request and associated medical images, without access to specialist outputs, intermediate workflow results, or reference answers. The models are instructed to respond directly and concisely using the provided inputs. Images are supplied in the format required by each model. LLaVA-Med processes only the first image in multi-image cases, whereas Qwen3-VL-8B and MedGemma-1.5-4B-IT accept multiple images within a single request. Locally hosted models use deterministic decoding with a maximum of 1,024 new tokens, matching the generation limit used for MMEDAGENT-PLUS. API-based models use the most deterministic decoding configuration supported by their interfaces.
Evaluation. Baseline responses are evaluated using GPT-5.4-mini with the same three criteria of faithfulness, completeness, and conciseness described above. Detailed evaluation rubrics and score visualizations are provided in Supplementary Section S4. Because direct-answer baselines do not receive specialist outputs, faithfulness is assessed against the original multimodal input rather than returned tool results. Reference answers are excluded from faithfulness evaluation but are used to identify task-relevant information and expected response scope for completeness and conciseness, respectively. All responses are scored on the same five-point scales using criterion-specific rubrics and three scored few-shot examples. We report the mean score for each criterion and the combined score.
This comparison evaluates specialist-assisted response generation against direct-answer models operating without tool outputs. Although the evaluation uses the same requests and scoring criteria, differences in model architectures, training, and available input evidence mean that the observed performance gaps cannot be attributed solely to specialist tool access.
End-to-end Task Evaluation. To assess end-to-end task execution without providing reference tool calls or oracle tool outputs, we construct an evaluation set from the held-out single-tool multi-round corpus described in Section 4.3. From a pool of 9,128 held-out dialogues, we select 50 cases for each of seven specialist tools, yielding 350 cases in total. The selected tools are PMC-LLaMA, RaTE-NER, LLaVA-Rad, CONCH, BiomedCLIP, IterNet, and MedSAM, covering question answering and rationale generation, named entity recognition, radiology report generation, pathology classification, multimodal classification, retinal vessel segmentation, and general medical image segmentation. Cases are sampled using a fixed random seed of 42, except for BiomedCLIP, for which a predefined subset of 50 cases is used.
We first assess specialist invocation across all 350 cases. Each dialogue is replayed turn by turn, and the tool selected by MMEDAGENT-PLUS is compared with the reference tool. Overall and per-tool invocation accuracy are calculated using the tool-call accuracy metric defined in Section 4.5.3.
We then evaluate final response quality for the 250 cases involving PMC-LLaMA, RaTE-NER, CONCH, BiomedCLIP, and LLaVA-Rad. IterNet and MedSAM are excluded from direct-answer baseline comparisons because their primary outputs are segmentation masks, which the evaluated baseline VLMs do not generate. For each case, baselines receive the user request immediately preceding the reference tool invocation and its associated images. Baseline responses are generated according to Section 4.5.3 and assessed using the LLM-as-a-judge protocol described above.
Finally, we assess end-to-end task performance across all seven tools using task-specific metrics, including Dice and HD95 for segmentation, ROUGE and BLEU for generated text, and micro-and macro-averaged F1 for structured predictions (Table 4). For PMC-LLaMA, RaTE-NER, and LLaVA-Rad, the same metrics are also computed from direct-answer baseline responses on the corresponding held-out cases. These evaluations complement response-quality scores by measuring how well specialist task performance is preserved during end-to-end execution.
5 Data availability
All datasets used in this study are derived from publicly available medical datasets and benchmarks, with the original sources listed in Supplementary Table S4. The instruction annotations and the training and test splits are available from the MMedAgent organization on Hugging Face at https://huggingface.co/MMedAgent. The underlying medical images are not owned by the authors and are not redistributed. They should be obtained from their original repositories under the corresponding licenses. Instructions for downloading the source data and reconstructing the full dataset are provided at https://github.com/RoxanneWAAANG/MMedAgent-Bench. Further documentation is available on the project website at https://mmedagent.org.
6 Code availability
The code for MMEDAGENT-PLUS is released under the Apache-2.0 license in two repositories. The training code for the planner, including the fine-tuning scripts and the configuration used in this work, is available at https://github.com/RoxanneWAAANG/MMedAgent-Plus. The evaluation code, including the tool-calling evaluation and metric scripts and the LLM-as-a-judge evaluation with its prompts and rubrics, is available at https://github.com/RoxanneWAAANG/MMedAgent-Bench, together with example instruction-generation scripts and template inventories. The fine-tuned model weights are available from the MMedAgent organization on Hugging Face at https://huggingface.co/MMedAgent. An interactive demo and the project website are available at https://mmedagent.org. The deployment code, comprising the gateway and the containerized tool services, together with the task-specific metric implementations, the remaining instruction-generation scripts for the tools introduced in this work, and the evaluation sample indices required to reproduce the reported experiments, will be added to these repositories upon publication. Instruction data for the tools inherited from MMedAgent [28] was produced by that work's pipeline and is available from its original release.
References
[1] Pranav Rajpurkar, Jeremy Irvin, Kaylie Zhu, Brandon Yang, Hershel Mehta, Tony Duan, Daisy Ding, Aarti Bagul, Curtis Langlotz, Katie Shpanskaya, et al. Chexnet: Radiologist-level pneumonia detection on chest x-rays with deep learning. arXiv preprint arXiv:1711.05225, 2017.
[2] Ming Y. Lu, Bowen Chen, Drew F. K. Williamson, Richard J. Chen, Ivy Liang, Tong Ding, Guillaume Jaume, Igor Odintsov, Long Phi Le, Georg Gerber, Anil V. Parwani, Andrew Zhang, and Faisal Mahmood. A visual-language foundation model for computational pathology. Nature Medicine, 30(3):863–874, 2024.
[3] Jun Ma, Yuting He, Feifei Li, Lin Han, Chenyu You, and Bo Wang. Segment anything in medical images. Nature Communications, 15(1):654, 2024.
[4] Michael Moor, Oishi Banerjee, Zahra Shakeri Hossein Abad, Harlan M Krumholz, Jure Leskovec, Eric J Topol, and Pranav Rajpurkar. Foundation models for generalist medical artificial intelligence. Nature, 616(7956):259–265, 2023.
[5] Kaiyan Zhang, Sihang Zeng, Ermo Hua, Ning Ding, Zhang-Ren Chen, Zhiyuan Ma, Haoxin Li, Ganqu Cui, Biqing Qi, Xuekai Zhu, et al. Ultramedical: Building specialized generalists in biomedicine. Advances in Neural Information Processing Systems, 37:26045–26081, 2024.
[6] Tao Tu, Shekoofeh Azizi, Danny Driess, Mike Schaekermann, Mohamed Amin, Pi-Chuan Chang, Andrew Carroll, Charles Lau, Ryutaro Tanno, Ira Ktena, et al. Towards generalist biomedical ai. Nejm Ai, 1(3):Aloa2300138, 2024.
[7] Viknesh Sounderajah, Ahmad Guni, Xiaoxuan Liu, Gary S Collins, Alan Karthikesalingam, Sheraz R Markar, Robert M Golub, Alastair K Denniston, Shravya Shetty, David Moher, et al. The stard-ai reporting guideline for diagnostic accuracy studies using artificial intelligence. Nature medicine, 31(10):3283–3289, 2025.
[8] Yizhen Luo, Jiahuan Zhang, Siqi Fan, Kai Yang, Massimo Hong, Yushuai Wu, Mu Qiao, and Zaiqing Nie. Biomedgpt: An open multimodal large language model for biomedicine. IEEE journal of biomedical and health informatics, 2024.
[9] Vishwesh Nath, Wenqi Li, Dong Yang, Andriy Myronenko, Mingxin Zheng, Yao Lu, Zhijian Liu, Hongxu Yin, Yee Man Law, Yucheng Tang, et al. Vila-m3: Enhancing vision-language models with medical expert knowledge. In Proceedings of the Computer Vision and Pattern Recognition Conference, pages 14788–14798, 2025.
[10] Weiwen Xu, Hou Pong Chan, Long Li, Mahani Aljunied, Ruifeng Yuan, Jianyu Wang, Chenghao Xiao, Guizhen Chen, Chaoqun Liu, Zhaodonghui Li, et al. Lingshu: A generalist foundation model for unified multimodal medical understanding and reasoning. arXiv preprint arXiv:2506.07044, 2025.
[11] Ming Y Lu, Bowen Chen, Drew FK Williamson, Richard J Chen, Melissa Zhao, Aaron K Chow, Kenji Ikemura, Ahrong Kim, Dimitra Pouli, Ankush Patel, et al. A multimodal generative ai copilot for human pathology. Nature, 634(8033):466–473, 2024.
[12] Sheng Zhang, Yanbo Xu, Naoto Usuyama, Hanwen Xu, Jaspreet Bagga, Robert Tinn, Sam Preston, Rajesh Rao, Mu Wei, Naveen Valluri, et al. Biomedclip: A multimodal biomedical foundation model pretrained from fifteen million scientific image-text pairs. arxiv 2023. arXiv preprint arXiv:2303.00915, 2023.
[13] Chunyuan Li, Cliff Wong, Sheng Zhang, Naoto Usuyama, Haotian Liu, Jianwei Yang, Tristan Naumann, Hoifung Poon, and Jianfeng Gao. Llava-med: Training a large language-and-vision assistant for biomedicine in one day. Advances in Neural Information Processing Systems, 36:28541–28564, 2023.
[14] Juan Manuel Zambrano Chaves, Shih-Cheng Huang, Yanbo Xu, Hanwen Xu, Naoto Usuyama, Sheng Zhang, Fei Wang, Yujia Xie, Mahmoud Khademi, Ziyi Yang, et al. Towards a clinically accessible radiology foundation model: open-access and lightweight, with automated evaluation. arXiv preprint arXiv:2403.08002, 2024.
[15] Weidi Xie, Chaoyi Wu, Xiaoman Zhang, Ya Zhang, and Yanfeng Wang. Towards generalist foundation model for radiology. 2023.
[16] Tianwei Lin, Wenqiao Zhang, Sijing Li, Yuqian Yuan, Binhe Yu, Haoyuan Li, Wanggui He, Hao Jiang, Mengze Li, Xiaohui Song, et al. Healthgpt: A medical large vision-language model for unifying comprehension and generation via heterogeneous knowledge adaptation. arXiv preprint arXiv:2502.09838, 2025.
[17] Songtao Jiang, Yuan Wang, Sibo Song, Tianxiang Hu, Chenyi Zhou, Bin Pu, Yan Zhang, Zhibo Yang, Yang Feng, Joey Tianyi Zhou, et al. Hulu-med: A transparent generalist model towards holistic medical vision-language understanding. arXiv preprint arXiv:2510.08668, 2025.
[18] Songtao Jiang, Yuan Wang, Sibo Song, Yan Zhang, Zijie Meng, Bohan Lei, Jian Wu, Jimeng Sun, and Zuozhu Liu. Omniv-med: Scaling medical vision-language model for universal visual understanding. arXiv preprint arXiv:2504.14692, 2025.
[19] Yan Shu, Chi Liu, Robin Chen, Derek Li, and Bryan Dai. Fleming-vl: Towards universal medical visual reasoning with multimodal llms. arXiv preprint arXiv:2511.00916, 2025.
[20] Linshan Wu, Yuxiang Nie, Sunan He, Jiaxin Zhuang, Luyang Luo, Tao Li, Zhuoyao Xie, Dexuan Chen, Yinghua Zhao, Neeraj Mahboobani, et al. Unibiomed: A universal foundation model for grounded biomedical image interpretation. arXiv preprint arXiv:2504.21336, 2025.
[21] Xiangru Tang, Anni Zou, Zhuosheng Zhang, Ziming Li, Yilun Zhao, Xingyao Zhang, Arman Cohan, and Mark Gerstein. Medagents: Large language models as collaborators for zero-shot medical reasoning. In Findings of the Association for Computational Linguistics: ACL 2024, pages 599–621, 2024.
[22] Yubin Kim, Chanwoo Park, Hyewon Jeong, Yik S Chan, Xuhai Xu, Daniel McDuff, Hyeon-hoon Lee, Marzyeh Ghassemi, Cynthia Breazeal, and Hae W Park. Mdagents: An adaptive collaboration of llms for medical decision-making. Advances in Neural Information Processing Systems, 37:79410–79452, 2024.
[23] Zixiang Wang, Yinghao Zhu, Huiya Zhao, Xiaochen Zheng, Dehao Sui, Tianlong Wang, Wen Tang, Yasha Wang, Ewen Harrison, Chengwei Pan, et al. Colacare: Enhancing electronic health record modeling through large language model-driven multi-agent collaboration. In Proceedings of the ACM on Web Conference 2025, pages 2250–2261, 2025.
[24] Yucheng Zhou, Lingran Song, and Jianbing Shen. Mam: Modular multi-agent framework for multi-modal medical diagnosis via role-specialized collaboration. In Findings of the Association for Computational Linguistics: ACL 2025, pages 25319–25333, 2025.
[25] Peng Xia, Jinglu Wang, Yibo Peng, Kaide Zeng, Zihan Dong, Xian Wu, Xiangru Tang, Hongtu Zhu, Yun Li, Linjun Zhang, et al. Mmedagent-rl: Optimizing multi-agent collaboration for multimodal medical reasoning. arXiv preprint arXiv:2506.00555, 2025.
[26] Pranav Pushkar Mishra, Mohammad Arvan, and Mohan Zalake. Teammedagents: Enhancing medical decision-making of llms through structured teamwork. arXiv preprint arXiv:2508.08115, 2025.
[27] Siqi Ma, Jiajie Huang, Fan Zhang, Jinlin Wu, Yue Shen, Guohui Fan, Zhu Zhang, and Zelin Zang. Medla: A logic-driven multi-agent framework for complex medical reasoning with large language models. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 40, pages 845–853, 2026.
[28] Binxu Li, Tiankai Yan, Yuanting Pan, Jie Luo, Ruiyang Ji, Jiayuan Ding, Zhe Xu, Shilong Liu, Haoyu Dong, Zihao Lin, et al. Mmedagent: Learning to use medical tools with multi-modal agent. In Findings of the Association for Computational Linguistics: EMNLP 2024, pages 8745–8760, 2024.
[29] Adibvafa Fallahpour, Jun Ma, Alif Munim, Hongwei Lyu, and Bo Wang. Medrax: Medical reasoning agent for chest x-ray. arXiv preprint arXiv:2502.02673, 2025.
[30] Ziyue Wang, Junde Wu, Linghan Cai, Chang Han Low, Xihong Yang, Qiaxuan Li, and Yueming Jin. Medagent-pro: Towards evidence-based multi-modal medical diagnosis via reasoning agentic workflow. arXiv preprint arXiv:2503.18968, 2025.
[31] Andrew Hoopes, Neel Dey, Victor Ion Butoi, John V Guttag, and Adrian V Dalca. Voxelprompt: A vision agent for end-to-end medical image analysis. arXiv preprint arXiv:2410.08397, 2024.
[32] Nima Fathi, Amar Kumar, and Tal Arbel. Aura: A multi-modal medical agent for understanding, reasoning and annotation. In International Workshop on Agentic AI for Medicine, pages 105–114. Springer, 2025.
[33] Ziyan Huang, Haoyu Wang, Jin Ye, Yuanfeng Ji, Xiaowei Hu, Lihao Liu, Zhikai Yang, Wei Li, Ming Hu, Yanzhou Su, et al. Medsegagent: A universal and scalable multi-agent system for instructive medical image segmentation. IEEE journal of biomedical and health informatics, 2026.
[34] Xinheng Lyu, Yuci Liang, Wenting Chen, Meidan Ding, Jiaqi Yang, Guolin Huang, Daokun Zhang, Xiangjian He, and Linlin Shen. Wsi-agents: A collaborative multi-agent system for multi-modal whole slide image analysis. arXiv preprint arXiv:2507.14680, 2025.
[35] Jingyun Chen, Linghan Cai, Zhikang Wang, Yi Huang, Songhan Jiang, Shenjin Huang, Hongpeng Wang, and Yongbing Zhang. Pathagent: Toward interpretable analysis of whole-slide pathology images via large language model-based agentic reasoning. arXiv preprint arXiv:2511.17052, 2025.
[36] Yi Tang, Kaini Wang, Yang Chen, and Guangquan Zhou. Endoagent: A memory-guided reflective agent for intelligent endoscopic vision-to-decision reasoning. arXiv preprint arXiv:2508.07292, 2025.
[37] Naman Sharma. Cxr-agent: Vision-language models for chest x-ray interpretation with uncertainty aware radiology reporting. arXiv preprint arXiv:2407.08811, 2024.
[38] Kai Zhang, Corey D Barrett, Jangwon Kim, Lichao Sun, Tara Taghavi, and Krishnaram Kenthapadi. Radagents: Multimodal agentic reasoning for chest x-ray interpretation with radiologist-like workflows. arXiv preprint arXiv:2509.20490, 2025.
[39] Tuoshi Qi, Shenshen Bu, Yingfei Xiang, and Zhiming Dai. Eviagent: Evidence-driven agent for radiology report generation. arXiv preprint arXiv:2603.13956, 2026.
[40] Yi Lin, Yihao Ding, Yonghui Wu, and Yifan Peng. March: Multi-agent radiology clinical hierarchy for ct report generation. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pages 273–285, 2026.
[41] Pengyu Wang, Shuchang Ye, Usman Naseem, and Jinman Kim. Mrgagents: A multi-agent framework for improved medical report generation with med-lvlms. In 2025 International Conference on Digital Image Computing: Techniques and Applications (DICTA), pages 1–7. IEEE, 2025.
[42] Weixiang Shen, Bailiang Jian, Jun Li, Che Liu, Johannes Moll, Xiaobin Hu, Daniel Rueckert, Hongwei Bran Li, and Jiazhen Pan. Evo-medagent: Beyond one-shot diagnosis with agents that remember, reflect, and improve. arXiv preprint arXiv:2604.14475, 2026.
[43] Wenlong Hou, Guangqian Yang, Ye Du, Yeung Lau, Lihao Liu, Junjun He, Ling Long, and Shujun Wang. Adagent: Llm agent for alzheimer's disease analysis with collaborative coordinator. In International Workshop on Agentic AI for Medicine, pages 23–32. Springer, 2025.
[44] Pramit Saha, Joshua Strong, Mohammad Alsharid, Divyanshu Mishra, and J Alison Noble. Picking the right specialist: Attentive neural process-based selection of task-specialized models as tools for agentic healthcare systems. arXiv preprint arXiv:2602.14901, 2026.
[45] Wenjie Li, Yujie Zhang, Haoran Sun, Xingqi He, Hongcheng Gao, Chenglong Ma, Ming Hu, Guankun Wang, Shiyi Yao, Renhao Yang, et al. Medscope: Incentivizing" think with videos" for clinical reasoning via coarse-to-fine tool calling. arXiv preprint arXiv:2602.13332, 2026.
[46] Marina Sokolova and Guy Lapalme. A systematic analysis of performance measures for classification tasks. Information processing & management, 45(4):427–437, 2009.
[47] Chaoyi Wu, Weixiong Lin, Xiaoman Zhang, Ya Zhang, Weidi Xie, and Yanfeng Wang. Pmcllama: toward building open-source language models for medicine. Journal of the American Medical Informatics Association, 31(9):1833–1843, 2024.
[48] Weike Zhao, Chaoyi Wu, Xiaoman Zhang, Ya Zhang, Yanfeng Wang, and Weidi Xie. Ratescore: A metric for radiology report generation. arXiv preprint arXiv:2406.16845, 2024.
[49] Robbie Holland, Thomas RP Taylor, Christopher Holmes, Sophie Riedl, Julia Mai, Maria Patsiamanidi, Dimitra Mitsopoulou, Paul Hager, Philip Müller, Hendrik PN Scholl, et al. Specialized curricula for training vision-language models in retinal image analysis. arXiv preprint arXiv:2407.08410, 2024.
[50] Fabian Hörst, Moritz Rempe, Lukas Heine, Constantin Seibold, Julius Keyl, Giulia Baldini, Selma Ugurel, Jens Siveke, Barbara Grünwald, Jan Egger, et al. Cellvit: Vision transformers for precise cell segmentation and classification. Medical Image Analysis, 94:103143, 2024.
[51] Bin Li, Yin Li, and Kevin W Eliceiri. Dual-stream multiple instance learning network for whole slide image classification with self-supervised contrastive learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 14318–14328, 2021.
[52] Sheng Wang, Zihao Zhao, Xi Ouyang, Tianming Liu, Qian Wang, and Dinggang Shen. Interactive computer-aided diagnosis on medical image using large language models. Communications Engineering, 3(1):133, 2024.
[53] Markus Marks, Uriah Israel, Rohit Dilip, Qilin Li, Changhua Yu, Emily Laubscher, Ahamed Iqbal, Elora Pradhan, Ada Ates, Martin Abt, et al. Cellsam: a foundation model for cell segmentation. Nature Methods, 22:2585–2593, 2025.
[54] Liangzhi Li, Manisha Verma, Yuta Nakashima, Hajime Nagahara, and Ryo Kawasaki. Internet: Retinal image segmentation utilizing structural redundancy in vessel networks. In Proceedings of the IEEE/CVF winter conference on applications of computer vision, pages 3656–3665, 2020.
[55] Lin Tian, Hastings Greer, Roland Kwitt, Francois-Xavier Vialard, Raúl San José Estépar, Sylvain Bouix, Richard Rushmore, and Marc Niethammer. unigradicon: A foundation model for medical image registration. In International Conference on Medical Image Computing and Computer-Assisted Intervention, pages 749–760. Springer, 2024.
[56] Adrien Meyer, Aditya Murali, Didier Mutter, and Nicolas Padoy. Ultrasam: a foundation model for ultrasound using large open-access segmentation datasets. arXiv preprint arXiv:2411.16222, 2024.
[57] OpenAI. Introducing GPT-5.4 mini and nano. https://openai.com/index/introducing-gpt-5-4-mini-and-nano/, 2026. Accessed: 2026-07-26. API model id: gpt-5.4-mini.
[58] Andrew Sellergren, Chufan Gao, Fereshteh Mahvar, Timo Kohlberger, Fayaz Jamil, Madeleine Traverse, Alberto Tono, Bashir Sadjad, Lin Yang, Charles Lau, Liron Yatziv, Tiffany Chen, Bram Sterling, Kenneth Philbrick, Richa Tiwari, Yun Liu, Madhuram Jajoo, Chandrashekar Sankarapu, Swapnil Vispute, Harshad Purandare, Abhishek Bijay Mishra, Sam Schmidgall, Tao Tu, Anil Palepu, Chunjong Park, Tim Strother, Rahul Thapa, Yong Cheng, Preeti Singh, Kat Black, Yossi Matias, Katherine Chou, Avinatan Hassidim, Kavi Goel, Joelle Barral, Tris Warkentin, Shravya Shetty, Dale Webster, Sunny Virmani, David F. Steiner, Can Kirmizibayrak, and Daniel Golden. Medgemma 1.5 technical report, 2026.
[59] Shuai Bai, Yuxuan Cai, Ruizhe Chen, Keqin Chen, Xionghui Chen, Zesen Cheng, Lianghao Deng, Wei Ding, Chang Gao, Chunjiang Ge, Wenbin Ge, Zhifang Guo, Qidong Huang, Jie Huang, Fei Huang, Binyuan Hui, Shutong Jiang, Zhaohai Li, Mingsheng Li, Mei Li, Kaixin Li, Zicheng Lin, Junyang Lin, Xuejing Liu, Jiawei Liu, Chenglong Liu, Yang Liu, Dayiheng Liu, Shixuan Liu, Dunjie Lu, Ruilin Luo, Chenxu Lv, Rui Men, Lingchen Meng, Xuancheng Ren, Xingzhang Ren, Sibo Song, Yuchong Sun, Jun Tang, Jianhong Tu, Jianqiang Wan, Peng Wang, Pengfei Wang, Qiuyue Wang, Yuxuan Wang, Tianbao Xie, Yiheng Xu, Haiyang Xu, Jin Xu, Zhibo Yang, Mingkun Yang, Jianxin Yang, An Yang, Bowen Yu, Fei Zhang, Hang Zhang, Xi Zhang, Bo Zheng, Humen Zhong, Jingren Zhou, Fan Zhou, Jing Zhou, Yuanzhi Zhu, and Ke Zhu. Qwen3-vl technical report, 2025.
[60] Qwen Team. Qwen2.5-vl, January 2025.
[61] Josh Achiam, Steven Adler, Sandhini Agarwal, Lama Ahmad, Ilge Akkaya, Florencia Leoni Aleman, Diogo Almeida, Janko Altenschmidt, Sam Altman, Shyamal Anadkat, et al. Gpt-4 technical report. arXiv preprint arXiv:2303.08774, 2023.
[62] Shilong Liu, Zhaoyang Zeng, Tianhe Ren, Feng Li, Hao Zhang, Jie Yang, Qing Jiang, Chunyuan Li, Jianwei Yang, Hang Su, et al. Grounding dino: Marrying dino with grounded pretraining for open-set object detection. In European conference on computer vision, pages 38–55. Springer, 2024.
[63] Alexander Kirillov, Eric Mintun, Nikhila Ravi, Hanzi Mao, Chloe Rolland, Laura Gustafson, Tete Xiao, Spencer Whitehead, Alexander C Berg, Wan-Yen Lo, et al. Segment anything. In Proceedings of the IEEE/CVF international conference on computer vision, pages 4015–4026, 2023.
[64] Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. In International Conference on Learning Representations, 2019.
[65] Guanxiong Liu, Tzu-Ming Harry Hsu, Matthew McDermott, Willie Boag, Wei-Hung Weng, Peter Szolovits, and Marzyeh Ghassemi. Clinically accurate chest x-ray report generation. In Finale Doshi-Velez, Jim Fackler, Ken Jung, David Kale, Rajesh Ranganath, Byron Wallace, and Jenna Wiens, editors, Proceedings of the 4th Machine Learning for Healthcare Conference, volume 106 of Proceedings of Machine Learning Research, pages 249–269. PMLR, 2019.
[66] Chin-Yew Lin. ROUGE: A package for automatic evaluation of summaries. In Text Summarization Branches Out, pages 74–81, Barcelona, Spain, 2004. Association for Computational Linguistics.
[67] Kishore Papineni, Salim Roukos, Todd Ward, and Wei-Jing Zhu. Bleu: a method for automatic evaluation of machine translation. In Proceedings of the 40th Annual Meeting of the Association for Computational Linguistics, pages 311–318, Philadelphia, Pennsylvania, USA, 2002. Association for Computational Linguistics.
[68] Jeremy Irvin, Pranav Rajpurkar, Michael Ko, Yifan Yu, Silviana Ciurea-Illcus, Chris Chute, Henrik Marklund, Behzad Haghgoo, Robyn Ball, Katie Shpanskaya, Jayne Seekins, David A. Mong, Safwan S. Halabi, Jesse K. Sandberg, Ricky Jones, David B. Larson, Curtis P. Langlotz, Bhavik N. Patel, Matthew P. Lungren, and Andrew Y. Ng. Chexpert: A large chest radiograph dataset with uncertainty labels and expert comparison. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 33, pages 590–597, 2019.
[69] Saahil Jain, Ashwin Agrawal, Adriel Saporta, Steven Truong, Du Nguyen Duong, Tan Bui, Pierre Chambon, Yuhao Zhang, Matthew Lungren, Andrew Ng, Curtis Langlotz, and Pranav Rajpurkar. Radgraph: Extracting clinical entities and relations from radiology reports. In J. Vanschoren and S. Yeung, editors, Proceedings of the Neural Information Processing Systems Track on Datasets and Benchmarks, volume 1, 2021.
[70] Haotian Liu, Chunyuan Li, Qingyang Wu, and Yong Jae Lee. Visual instruction tuning. Advances in neural information processing systems, 36:34892–34916, 2023.
7 Supplementary
S1 System and Tools
This section details the specialist tool library T introduced in Section 4.4. We provide the model checkpoints and licenses (Table S1), the tool-modality compatibility matrix used for dataset construction (Table S3), and the invocation and interface compatibility rules governing tool execution and intermediate output transfer (Section S1.3).
S1.1 Tool Cards
Table S1 summarizes the supported task, deployment checkpoint, and license for each of the 18 specialist tools. Tools are deployed as independent containerized services exposed through a common invocation interface. The grounding-segmentation tool (G-Seg) is implemented as a composite workflow that sequentially invokes Grounding DINO and MedSAM through the gateway. Each tool invocation is subject to a wall-clock timeout. Calls exceeding this limit return a structured error to the planner M without terminating the dialogue (Section S1.3).
S1.2 Tool-Modality Compatibility
Table S3 presents the tool-modality compatibility matrix used during instruction dataset construction (Section 4.3). A checkmark indicates that a tool supports the corresponding input modality and that the combination is represented in the training corpus S. An empty cell indicates that the tool is not available for that modality within the framework. During dataset construction, candidate tool calls with unsupported modality assignments are excluded. Several specialists are restricted to specific modalities, including UltraSAM for ultrasound, IterNet for retinal fundus imaging, SpecialistVLMs for retinal OCT, and pathology-specific tools. These constraints ensure that tool selection accounts for both task requirements and input modality.
S1.3 Interface Compatibility Rules
Tool call format. The planner M requests tool execution by generating a structured action block containing one or more tool calls, each specifying a tool name and named parameters. Multiple calls can be specified within a single action block, allowing the planner to define a complete tool sequence before execution in the multi-tool single-round setting . A response without an action block is treated as the final response and terminates the workflow.
Tool name resolution. Tool names are resolved case-insensitively against a central registry. Each tool is registered under its canonical name together with a set of aliases, so that variants such as Grounding_DINO and grounding-dino both resolve to the same implementation. This makes execution robust to surface variation in the generated tool name without requiring M to reproduce a single exact string.
Parameter binding. Each tool defines canonical parameter names and accepted aliases, which are mapped to the corresponding tool arguments during execution. Text inputs accept text, input_text, query, input, context, and prompt; image inputs accept image_path, image, input_image, img_path, and input; registration accepts fixed, target, or reference for the fixed image and moving, source, or input for the moving image. Parameters that are not supplied fall back to the tool defaults reported in Table S1, so a call needs to name only the parameters it overrides.
Image binding. User-provided images are handled separately from the language channel. Tool calls reference images through placeholders, which are resolved to the corresponding images at execution time. When an image-based tool is invoked without an explicit image parameter, the current image is bound automatically. For image registration, the first image is assigned as the fixed image and the second as the moving image, consistent with the structural validation requirement that registration requests contain paired CT or MRI images (Section 4.3). This mechanism also allows tools to access images provided in earlier dialogue turns.
Output types and error handling. Each tool invocation returns a structured record containing a success flag, the resolved tool name, and either an output payload or an error message. Output formats are tool-specific. Generative tools return text, classification tools return predicted labels, grounding tools return bounding boxes with confidence scores, matched phrases, and image dimensions, segmentation tools return run-length-encoded masks and mask counts, and registration tools return warped images and deformation fields. Execution failures, including unavailable services, timeouts, and missing required parameters, are returned as structured observations rather than unhandled exceptions. This allows M to attempt recovery through a revised tool call or report the failure in its final response.
Interface compatibility. Tool chains are validated by checking whether the output type of an upstream tool is compatible with the input requirements of the subsequent tool. Three classes of compatibility are supported. The first is bounding boxes to masks, in which Grounding DINO provides bounding boxes used as prompts by MedSAM through the composite G-Seg tool. The second is image to image or text, in which an image generated by HealthGPT or UniGradICON is passed to a downstream image-analysis tool. The third is text to text, in which generated reports are provided to RaTE-NER for entity extraction or to other text-based tools as contextual input. These compatibility rules are applied during the construction of and .
Iteration budget. Execution alternates between planner generation and tool execution for a maximum of interaction rounds. Workflows that do not produce a final response within this limit are terminated and labeled as truncated. Truncated workflows are counted as failures in the tool orchestration evaluation (Section 4.5.3).
S2 Dataset
This section details the instruction-tuning corpus S described in Section 4.3. We provide the source datasets and sample counts for each specialist tool (Section S2.1), the tool-chain configurations used in the multi-tool settings (Section S2.4), the instruction record schema (Section S2.5), and the training and evaluation split protocol (Section S2.6).
S2.1 Data Sources
Table S4 summarizes the source datasets used to construct the single-tool subset , together with their associated specialist tools, input modalities, and resulting instruction sample counts. Each tool-specific subset is constructed from datasets that match the tool's supported tasks and input modalities, as defined by the tool-modality compatibility matrix Table S3.
S2.2 Request and Response Templates
Instruction dialogues for newly integrated tools are constructed using predefined natural-language templates rather than per-sample language model generation. For each task, banks of user-request phrasings and assistant-response templates are generated in a single offline pass using GPT-4 [61] and subsequently fixed. Single-tool samples are instantiated by pairing a randomly selected request phrasing with a case from the corresponding source benchmark. The target assistant turn combines a structured tool call with a response template populated using the reference output of that case. Multi-tool dialogues are assembled from these samples according to predefined workflow templates, with transitions drawn from a fixed bank of 96 connective phrases, 28 greetings, and 43 follow-up turns. The size of each task-specific template bank is reported in Table S5.
All medical content in the corpus is taken from the source benchmarks. Images, questions, labels, reports, entity spans, and segmentation masks are those released with the corresponding datasets, and all tool calls are emitted from the tool registry schema of Section S1.1. GPT-4 contributes only the natural-language scaffolding of requests and responses, and no clinical content is model-generated.
S2.3 Data Provenance
The instruction-tuning corpus combines newly constructed data with instruction data inherited from MMedAgent [28]. Data for the newly integrated specialist tools are generated using the template-based procedure described in Section S2.2. For the inherited tools, comprising five specialist models and the composite grounding-segmentation endpoint, we retain the original instruction data generated using GPT-4 and source-dataset annotations following the procedure described in MMedAgent. In addition to the automated validation procedures described in Section 4.3, the authors manually inspect 50 to 100 generated samples per specialist tool during dataset development to assess the consistency of user requests, selected tools, and target responses with their intended tasks and input modalities.
S2.4 Tool Chains
The two multi-tool settings differ in how tool sequences are planned and executed. In the multi-tool single-round setting , the planner M selects and orders the complete tool sequence from a single request before any specialist output becomes available. In the multi-tool multi-round setting , tools are selected across dialogue turns, allowing subsequent decisions to incorporate preceding dialogue context and available tool outputs. Candidate chains in both settings are constructed according to the modality and interface compatibility rules described in Section S1.3.
Multi-tool single-round chains. Table S6 presents the predefined tool chains used in . These chains comprise two or three specialist operations combining medical image analysis, question answering, and report generation. The complete tool sequence is specified before execution, with intermediate outputs used to support downstream operations where the tool interfaces permit.
Multi-tool multi-round chains. Dialogues in contain two to four tool invocations distributed across multiple turns. The subset comprises two complementary interaction patterns, distinguished by whether subsequent requests depend on earlier tool outputs.
The first pattern consists of 33,749 dependent dialogues, each containing two tool invocations. An image-based specialist first analyzes the medical input, and a text-based tool subsequently processes the returned findings. The upstream tool is selected from 15 visual understanding and image-processing specialists, while the downstream tool is selected from RaTE-NER, PMC-LLaMA, or ChatCAD-R, yielding 45 distinct tool chains. This pattern trains to incorporate intermediate specialist outputs into subsequent tool-selection decisions.
The second pattern comprises 38,230 dialogues in which each round introduces a new request with its own image or text, so the invocations are independent rather than sequentially dependent. These dialogues contain two, three, or four invocations (13,177, 12,813, and 12,240 samples respectively) and span a much larger combination space, covering 342, 5,195, and 11,460 distinct chains. Because the tools are sampled from the set of modality-compatible candidates rather than from a curated workflow list, this pattern exposes to combinations that no predefined chain inventory would contain, and trains it to re-select a tool for each request instead of continuing to apply the tool used in the previous round.
Representative chains from both patterns are provided in Table S7.
S2.5 Instruction schema
Each training or evaluation sample is stored as a JSONL record containing an ordered dialogue between the user and the planner , together with any associated specialist outputs. During training, tool outputs are inserted into the dialogue as subsequent messages following the corresponding tool calls. During inference, these outputs are obtained by executing the selected specialist tools and returned to the planner as additional context.
Dialogues follow the ShareGPT(https://sharegpt.com/) and LLaVA [70] conversation format used by the vision-language training pipeline. Planner messages are labeled "from": "gpt", while both user messages and specialist outputs are labeled "from": "human". These labels represent serialization conventions rather than the actual source of each message. User messages contain clinical requests and optional image placeholders, while tool-return messages contain structured or textual outputs prefixed by <ToolName> output: .... Specialist tools do not have separate role labels in the stored dialogue.
| JSON tag | System role | Message content |
|---|---|---|
| from: "human" | User or tool return | User query or <Tool> output: .... |
| from: "gpt" | Planner | Tool selection or final answer |
The complete record structure is illustrated in Table S9. The conversations field stores the ordered dialogue turns, while the image field contains paths corresponding to <image> placeholders in the messages. The meta field is included only for multi-tool samples.
A typical tool-use cycle begins with a user request (human), followed by a planner response (gpt) specifying one or more specialist tools. The corresponding tool outputs are then inserted as human-tagged messages prefixed with <ToolName> output: .... The planner subsequently generates a final response or continues tool selection when additional steps are required. This message structure supports both single-round tool planning and multi-round interactions.
The three dialogue settings described in Section 4.3 use this schema with different interaction structures. In (single-tool multi-round), each dialogue contains one specialist invocation and may include additional conversational turns, with the meta field omitted. In (multi-tool multi-round), multiple tool-use cycles are distributed across dialogue turns, allowing later tool selections to incorporate preceding context and returned specialist outputs. The meta.tools field records the tools in execution order. In (multi-tool single-round), the planner specifies a complete sequence of two to three tools from a single user request before any specialist output becomes available. The resulting tool outputs are concatenated into a single human-tagged message, while meta records the tool sequence and input modality.
Table S10 illustrates the record structure using an example. Inline comments are included for readability and are not part of the stored JSONL record. In , the structure extends to multiple tool-use cycles, each associated with its corresponding inputs and specialist outputs. In , the planner instead generates the complete tool sequence in a single response, and the tool returns are combined into one message. For example, a sequence may comprise BiomedCLIP → PMC-LLaMA → LLaVA-Rad. Training and evaluation samples follow the same record schema, with their membership determined by the corresponding data split.
Figures S1-S8 illustrate representative held-out JSONL records for the seven specialist tools evaluated end-to-end (Section 2.3), along with a UniGradICON example in which the image field contains multiple image paths. User requests, planner responses, and specialist outputs are highlighted in gold, green, and blue, respectively. Image thumbnails are displayed alongside their corresponding JSON fields. For text-only tools (PMC-LLaMA and RaTE-NER), the image field contains a non-clinical placeholder path, and no thumbnail is displayed.
{ "image": "tool_image/test/dummy_img_0c124.png" "conversations": [ USER "<image>\nExamine the snippets...\n### Question:\nIs torsion of the optic nerve head a prominent feature of normal-tension glaucoma?" M "Calling PMC-LLaMA to get the answer and rationale..." TOOL "PMC-LLaMA output: Normal-tension glaucoma eyes had a greater ONH torsion compared to POAG eyes with matched axial length." M "Normal-tension glaucoma eyes had a greater ONH torsion compared to POAG eyes with matched axial length." ] }
Figure S1: PMC-LLaMA (QA / rationale generation).
{ "image": "tool_image/test/dummy_img_0c124.png" "conversations": [ USER "<image>\nIdentify and label medical entities.\n### Text: normal size of both ovaries with prominent follicles" M "Calling RaTE-NER tool to identify and classify medical entities..." TOOL "RaTE-NER output: 'normal size' -> Abnormality; 'ovaries' -> Anatomy; 'prominent' -> Abnormality; 'follicles' -> Anatomy" M "Entities extracted: 'normal size' -> Abnormality; 'ovaries' -> Anatomy; 'prominent' -> Abnormality; 'follicles' -> Anatomy" ] }
Figure S2: RaTE-NER (named entity recognition).
S2.6 Dataset Split Protocol
Training and evaluation data are partitioned at the dialogue level, with approximately 10% of each dialogue setting reserved for held-out evaluation. The resulting held-out pools contain 9,128
"image": "tool_image/test/d0b71acc-..._7d277.jpg"

input
"conversations": [
USER "<image>\nCan you analyze the following MRI scan and share a report?"
M "Calling LLaVA-Rad to generate the radiology report..."
TOOL "LLaVA-Rad output: Lung volumes remain low. Innumerable bilateral scattered small pulmonary nodules. Mild pulmonary vascular congestion is stable."
M "Radiology report: Lung volumes remain low. Innumerable bilateral scattered small pulmonary nodules. Mild pulmonary vascular congestion is stable."
]
}
Figure S3: LLaVA-Rad (radiology report generation).
{
"image": ".../CRC-VAL-HE-7K-jpg/LYM/LYM-TCGA-RKIDQGTT.jpg"

input
"conversations": [
USER "<image>\nDoes this image present any valuable insights?"
M "I'll employ the CONCH model to generate insights based on its classification."
TOOL "CONCH output: {acinar}"
M "Yes. CONCH classifies this as acinar-pattern adenocarcinoma, a gland-forming subtype of cancer."
]
}
Figure S4: CONCH (pathology classification).
{
"image": "tool_image_final/35565085_ijerph-19-05690-f002.jpg"

input
"conversations": [
USER "Can you identify the type of staining used in this histopathology image?\n<image>"
M "I will use an image classification model to determine the staining type."
TOOL "BiomedCLIP output: immunohistochemistry histopathology"
M "Based on BiomedCLIP, this is an immunohistochemistry histopathology image."
]
}
Figure S5: BiomedCLIP (multimodal classification).
"image": "tool_image/test/6_A.png"

input
"conversations": [
USER "<image>\nPlease isolate the vessels in the retina scan."
M "Calling IterNet to segment retinal vessels in the fundus image..."
TOOL "IterNet output: vessel segmentation mask saved as 6_A.png"

output
M "Segmentation overlay ready."
}
Figure S6: IterNet (fundus vessel segmentation).
{
"image": ".../WORD/imagesTs/word_0014.nii.gz"

input
"conversations": [
USER "How can the bounding boxes [0.49, 0.33, 0.73, 0.47] be used to segment the Pancreas?\n<image>"
M "By applying a medical image segmentation model, I have segmented the Pancreas."
TOOL "MedSAM output: The MedSAM has processed the image."

output
M "The resulting segmented image is displayed below to aid in your medical diagnosis."
}
Figure S7: MedSAM (general medical image segmentation).
"image": ["target.jpg", "source.jpg"]

fixed
moving
"conversations": [
USER "<image>\n<image>\nCan you align the moving image to the fixed image for CT?"
M "I'll use UniGradICON to proceed."
TOOL "UniGradICON output: Deformation field calculated for CT. Registration successful."
Warped
Target+Grids

output
M "According to UniGradICON, the alignment is successful. The images are now registered."
}
Figure S8: UniGradICON (image registration; multiple input images).
single-tool multi-round dialogues, 10,000 multi-tool multi-round dialogues, and 2,430 multi-tool single-round dialogues. Splitting each setting separately maintains its representation in the evaluation data, while dialogue-level partitioning prevents complete dialogues from appearing in both training and held-out sets.
Evaluation cases are sampled from these held-out pools rather than using the entire pools (Section 4.5.3). Within each setting, cases are selected by uniform random sampling without additional task- or tool-level stratification. Samples exceeding the 8,192-token context limit after rendering are excluded to ensure compatibility with the training context window.
We additionally examine image and request overlap between the training and held-out partitions of the multi-tool multi-round subset. The partitions contain 71,979 and 7,985 dialogues, respectively, comprising 42,958 and 11,352 distinct images. No source image or image-request pair is shared between these partitions. In contrast, request phrasing overlaps by construction because user requests are sampled from fixed task-specific template inventories (Section S2.2). Among the 3,657 distinct requests in the held-out partition, 67.0% also appear verbatim in training. Thus, the verified separation in this subset evaluates orchestration on unseen source images, rather than testing generalization to entirely unseen linguistic formulations.
S3 Training Details
This section details the training configuration of the planner M, summarized in Section 4.5. The complete set of hyperparameters is provided in Table S11.
Initialization and trainable parameters. The planner M is initialized from the pretrained Qwen2.5-VL-7B-Instruct checkpoint [60]. The vision encoder remains frozen (Section 4.2), while the vision-language projector and language decoder, including the output projection layer, are fully fine-tuned. No parameter-efficient adaptation methods, such as low-rank adaptation, are applied.
Training data and objective. Training uses the combined instruction-tuning corpus (Section 4.3), with each sample included once and no subset reweighting or subsampling. Samples are formatted using the Qwen2.5-VL chat template with a fixed system prompt. The causal language modeling loss (Eq. (1)) is computed only over assistant-generated tokens, including structured tool calls and natural-language responses. System messages, user turns, and returned tool outputs are excluded from the loss through token masking. Sequences are limited to 8,192 tokens. To improve training efficiency, samples are packed into flattened sequences, with variable-length attention preventing interactions between tokens from different samples.
Image preprocessing. Input images are resized by the Qwen2.5-VL image processor. The total pixel count lies between 256 and 12,288 pixels, with aspect ratios preserved and image resolution constrained by the configured minimum and maximum pixel counts.
Optimization. We optimize the trainable parameters using AdamW [64] with a peak learning rate of , weight decay of 0.01, and gradient clipping at a maximum norm of 1.0. The learning rate follows a cosine decay schedule with linear warmup over the first 10% of optimization steps. Training is performed for one epoch on four GPUs with a per-device batch size of 1 and gradient accumulation over 64 steps, yielding an effective global batch size of 256 and approximately 816 optimization steps. No validation set is used for checkpoint selection, and the final checkpoint is used for all evaluations.
Compute. Training is conducted on four NVIDIA A100-SXM4-80GB GPUs using DeepSpeed ZeRO Stage 3 with CPU offloading of model parameters and optimizer states. We enable bfloat16 mixed precision, FlashAttention-2, and gradient checkpointing to reduce memory requirements. Training requires approximately 75 hours of wall-clock time, corresponding to 300 GPU hours.
S4 Evaluation Protocol and Baselines
This section provides implementation details for the evaluation protocol described in Section 4.5.3, including the LLM-as-a-judge configuration, scoring rubrics, task-specific metrics, and baseline settings.
S4.1 LLM-as-a-judge
Final response quality is evaluated using GPT-5.4-mini [57] (gpt-5.4-mini-2026-03-17). Faithfulness, completeness, and conciseness are assessed in separate judge calls using criterion-specific prompts to avoid combining the three judgments within a single evaluation. Each call returns a structured JSON response containing a brief rationale and an integer score from 1 to 5. Judge calls use deterministic decoding settings, and responses are cached by input hash to ensure consistent reuse of previously obtained evaluations.
For MMEDAGENT-PLUS, the judge receives the tool name, original user request, terminal specialist output, generated final response, and indicators for non-text outputs and multi-tool workflows. The reference answer is additionally provided for completeness and conciseness evaluation but excluded from faithfulness evaluation. The judge is instructed to assess how accurately and effectively the planner communicates the specialist output, rather than independently evaluating the clinical correctness of that output. Faithfulness assesses consistency with the specialist out-put, while completeness and conciseness use the reference answer only to identify task-relevant information and the expected response scope.
The five-point scoring rubrics are illustrated in Figure S9.

Figure S9: LLM-as-a-judge scoring rubric. Each criterion is scored independently. Colour encodes quality from 1 (red) to 5 (blue).
Each criterion-specific prompt includes three scored few-shot examples corresponding to scores of 5, 3, and 1. For faithfulness, the examples illustrate accurate restatement of a CONCH classification, a LLaVA-Rad response containing an exaggerated severity assessment and an unsupported finding, and a CONCH response incorrectly reporting a benign result as malignant. Completeness examples use a LLaVA-Rad report to illustrate full coverage, omission of cardiomegaly, and an incomplete response stating only that the lungs appear clear. Conciseness examples contrast a direct one-sentence CONCH classification with a response containing an unsolicited referral disclaimer and an excessively verbose response that obscures the classification result.
Special evaluation rules apply to non-text outputs and malformed final responses. For MedSAM, IterNet, HealthGPT, and UniGradICON, a brief acknowledgment that the requested output was produced is considered sufficient for the maximum score on all three criteria when no textual description is required. Responses that remain in tool-call format after specialist execution are classified as wrong-context responses and assigned the minimum score of 1 for each criterion without judge evaluation. The complete judge prompts and few-shot examples are provided with the evaluation code.
Direct-answer baselines are evaluated using the same judge model, scoring scales, and criterion-specific rubrics. Because these models do not receive specialist outputs, faithfulness is assessed against the original multimodal input rather than a returned tool result (Section 4.5.3).
S4.2 Task-specific metrics
Task-specific evaluation metrics reported in Table 4 are computed as follows.
ROUGE-L is calculated as the F1 score of the longest common subsequence after lowercasing and whitespace tokenization, without stemming. BLEU-4 is computed at the corpus level using add-one smoothing and the standard brevity penalty. Both metrics compare generated rationales or reports against their corresponding references.
CheXpert F1 is computed using a rule-based approximation of the 14 CheXbert observation labels. An observation is marked as present when a corresponding condition keyword appears in the text without a preceding negation cue within a 40-character window. Negation cues include no, not, without, absence of, free of, denies, negative for. Micro-averaged F1 is then calculated over the resulting binary observation labels. RadGraph F1 is F1RadGraphv2 from rrg_eval with reward_level=partial [69]. For RaTE-NER, entity-level F1 is based on exact matching of entity strings and types. RadGraph F1 is additionally computed by comparing reconstructed entity strings with the corresponding source sentences.
Classification performance is measured using micro- and macro-averaged F1 from scikit-learn. Predicted and reference labels are normalized through case folding and removal of surrounding braces or quotation marks before comparison. For PMC-LLaMA, answer accuracy is computed by exact matching of extracted yes/no or multiple-choice answers after the same normalization.
Dice is on binary masks thresholded at 127; two empty masks score 1. HD95 is the 95th percentile of the symmetric surface-to-surface Euclidean distance, obtained from the distance transform of each mask after a one-pixel erosion to isolate the boundary. If one mask is empty and the other is not, HD95 is set to the image diagonal. In the end-to-end setting, Dice averages over all 50 cases per segmentation tool and scores a missing mask as 0; HD95 averages only over cases that produce a mask, because 0 is a perfect match on that metric (Section 2.3).
S4.3 Baseline models and prompts
| Model | Checkpoint |
|---|---|
| Qwen3-VL-8B-Instruct [59] | Qwen/Qwen3-VL-8B-Instruct |
| LLaVA-Med v1.5 [13] | microsoft/llava-med-v1.5-mistral-7b |
| GPT-5.4-mini [57] | gpt-5.4-mini-2026-03-17 |
| MedGemma-1.5-4B-IT [58] | google/medgemma-4b-it |
Locally hosted models use greedy decoding (do_sample=False) with a maximum of 1,024 new tokens, matching the generation limit used for . GPT-5.4-mini uses the most deterministic decoding configuration supported by its API. For requests containing multiple images, LLaVA-Med receives only the first image, whereas Qwen3-VL-8B-Instruct and MedGemma-1.5-4B-IT receive all available images.
Direct-answer baselines receive the user request and associated images without access to specialist outputs, subsequent dialogue history, or reference answers. All baselines use the same system instruction:
You are a medical AI assistant.
Answer the user's query directly and concisely.
If an image is provided, use it to inform your answer. Do not mention tool calls.
The user request corresponds to the turn immediately preceding the reference tool invocation, with <image> placeholders aligned to the associated image files. This evaluation compares specialist-assisted response generation with direct-answer models operating without tool outputs. Qwen3-VL-8B-Instruct provides an additional comparison within the Qwen vision-language model family, using a newer and larger backbone than the Qwen2.5-VL-7B model underlying M. However, differences in model architecture, instruction tuning, and available evidence prevent the observed performance gaps from being attributed solely to specialist tool access.
S5 Qualitative Examples
Figures S10-S24 present representative held-out end-to-end cases across the five task categories included in the direct-answer baseline comparison (Section 2.3). Each example shows the user request, the output returned by the specialist tool, and side-by-side final responses from MMEDAGENT-PLUS and four direct-answer vision-language models. Response quality is visualized using triangular plots representing faithfulness (F), completeness (C), and conciseness (N), with the mean score displayed below each plot.
Scene: Biomedical question answering
Question: Is torsion of the optic nerve head a prominent feature of normal-tension glaucoma?
Context: ONH tilt and torsion were compared between NTG and POAG eyes matched for age and axial length. Torsion degree differed significantly (P = 0.022), with superior torsion more prevalent in NTG (33.3% vs 10.3%). Myopic NTG eyes showed greater torsion than nonmyopic NTG eyes.

MMedAgent-Plus (ours)
Tool: PMC-LLaMA

4.7
Specialist output
ONH torsion is more prominent in NTG eyes than POAG eyes, especially in myopic NTG eyes. The location of the visual field defect is related to the degree of ONH torsion.
Answer
ONH torsion is more prominent in NTG eyes than POAG eyes, especially in myopic NTG eyes. The location of the visual field defect is related to the degree of ONH torsion.

GPT-5.4-mini
Yes. Optic nerve head torsion appears to be a prominent feature of normal-tension glaucoma, with NTG eyes showing significantly greater torsion than POAG eyes.

5.0

Qwen3-VL-8B
Yes, torsion of the optic nerve head is a prominent feature of normal-tension glaucoma (NTG), as it significantly differs from POAG and is associated with NTG-specific factors such as myopia and visual field defect location.

4.3

MedGemma-1.5-4B-IT
No, torsion of the optic nerve head is not a prominent feature of normal-tension glaucoma. The study found that torsion was significantly more prevalent in NTG eyes compared to POAG eyes.

3.3

LLaVA-Med
No, torsion of the optic nerve head is not a prominent feature of normal-tension glaucoma.

2.3
Figure S10: Biomedical question answering. MMEDAGENT-PLUS invokes PMC-LLaMA and correctly concludes that optic nerve head torsion is more prominent in normal-tension glaucoma, whereas MedGemma-1.5-4B-IT and LLaVA-Med contradict the cited evidence.
Table S1: Tool cards for the 18 specialist tools in . For each tool, we report its supported task, deployment checkpoint, and declared license, as documented in the original code repository or model card. 'Not specified' indicates that no explicit license was identified in the corresponding release and does not imply permission for unrestricted use. Tools marked with a dagger () are inherited from MMedAgent [28] and retain their original configurations.
| Tool | Task | Checkpoint | License |
|---|---|---|---|
| Text understanding and generation | |||
| PMC-LLaMA [47] | QA & rationale generation | axiong/PMC_LLaMA_13B | OpenRAIL |
| RaTE-NER [48] | Named entity recognition | Angelakeke/RaTE-NER-Deberta; token classification with span aggregation | MIT |
| ChatCAD-R [52] | Retrieval-augmented generation | Released ChatCAD checkpoint: https://drive.google.com/drive/folders/1Wcfspge2K0db-Fz2K9vjjFGMKX32WCvc | Apache-2.0 |
| Visual understanding | |||
| LLaVA-Med [13] | Visual question answering | microsoft/llava-med-v1.5-mistral-7b. The original LLaVA-Med v1.0.0 checkpoint is no longer accessible from the original release repository. | Microsoft Research License |
| BiomedCLIP [12] | Classification (all) | microsoft/BiomedCLIP-PubMedBERT_256-vit_base_patch16_224 | MIT |
| CONCH [2] | Classification (pathology) | — | — |
| Image processing | |||
| DSMIL-C16 [51] | Tumor detection (pathology) | — | — |
| DSMIL-TCGA [51] | Tumor subtyping (pathology) | — | — |
| Grounding DINO [62] | Grounding (all) | Grounding DINO fine-tuned on medical data by MMedAgent [28]; https://drive.google.com/drive/folders/1eK27gz0tkbcp-9hx2fI9J_Wj2zHv14pL. Box threshold 0.3; text threshold 0.25. | Apache-2.0 |
| MedSAM [3] | Segmentation (all) | Released MedSAM checkpoint: https://drive.google.com/drive/folders/1ETWmi4AiniJeW0t6HAsYgTjYv_fkgzoN. Box or point prompts. | Apache-2.0 |
| G-Seg | Grounding-segmentation (all) | Grounding DINO followed by MedSAM, composed in the gateway | Apache-2.0 |
| UltraSAM [56] | Segmentation (ultrasound) | UltraSam.pth with the default released segmentation configuration | CC BY-NC-SA 4.0 |
| IterNet [54] | Segmentation (fundus) | Released IterNet weights; minimum kernel 32, dropout 0.1, and three refinement iterations | MIT |
| CellViT [50] | WSI cell segmentation (pathology) | — | — |
| CellSAM [53] | 2D cell segmentation (pathology) | — | — |
| UniGradICON [55] | Registration (all) | Released UniGradICON weights; inputs resampled to 256 × 256 | Apache-2.0 |
| HealthGPT [16] | Reconstruction & super-resolution | microsoft/Phi-4 language backbone with openai/clip-vit-large-patch14-336 vision tower and the released H-LoRA adapter; FP16, rank 32, , four adapters, and 8192 VQ indices | Apache-2.0 |
| Medical report generation | |||
| LLaVA-Rad [14] | Report generation (all) | microsoft/llava-rad over the lmsys/vicuna-7b-v1.5 base | Microsoft Research License |
| SpecialistVLMs [49] | Report generation (retina OCT) | Released RetinaVLM weights; inputs resampled to 455 × 455 | Not specified |
Table S3: Tool-modality compatibility matrix. Checkmarks indicate supported tool-modality combinations included in the instruction-tuning corpus. Text-based tools operate on textual inputs, while image-based tools may also accept textual prompts (Section S1.3).
| Tool | Text | X-ray | CT | MRI | US | Fundus | OCT | Pathology |
|---|---|---|---|---|---|---|---|---|
| PMC-LLaMA [47] | ✓ | |||||||
| RaTE-NER [48] | ✓ | |||||||
| ChatCAD-R [52] | ✓ | |||||||
| LLaVA-Med [13] | ✓ | ✓ | ✓ | ✓ | ||||
| BiomedCLIP [12] | ✓ | ✓ | ✓ | ✓ | ||||
| CONCH [2] | ✓ | |||||||
| DSMIL-C16 [51] | ✓ | |||||||
| DSMIL-TCGA [51] | ✓ | |||||||
| Grounding DINO [62] | ✓ | ✓ | ✓ | ✓ | ||||
| MedSAM [3] | ✓ | ✓ | ✓ | ✓ | ||||
| G-Seg | ✓ | ✓ | ✓ | ✓ | ||||
| UltraSAM [56] | ✓ | |||||||
| IterNet [54] | ✓ | |||||||
| CellViT [50] | ✓ | |||||||
| CellSAM [53] | ✓ | |||||||
| UniGradICON [55] | ✓ | ✓ | ||||||
| HealthGPT [16] | ✓ | ✓ | ✓ | ✓ | ||||
| LLaVA-Rad [14] | ✓ | ✓ | ✓ | ✓ | ||||
| SpecialistVLMs [49] | ✓ |
Table S4: Source datasets for instruction-tuning data construction. The table lists the source datasets, associated specialist tools, input modalities, and number of instruction samples used to construct . Dataset links are provided in footnotes.
| Task | Tool | Modality | Data Source | #Samples |
|---|---|---|---|---|
| QA / Rationale Generation | PMC-LLaMA | Text | PMC-LLaMA, Pub-MedQA, MedQA-USMLE | 9,000 |
| Named Entity Recognition | RaTE-NER | Text | RaTE-NER, SumPubMed | 4,500 |
| Retrieval-Augmented Generation | ChatCAD-R | Text | Merck Manual | 2,528 |
| Visual Question Answering | LLaVA-Med | MRI, CT, X-ray, Histology, Gross | PMC article 60K-IM | 16,687 |
| Classification | CONCH | Pathology | CRC100k | 3,600 |
| Classification | BiomedCLIP | MRI, CT, X-ray, Histology, Gross | PMC article 60K-IM | 7,923 |
| Classification | DSMIL-TCGA | Pathology (Lung Tumor) | TCGA | 1,800 |
| Classification | DSMIL-C16 | Pathology (Breast Tumor) | Camelyon16 | 1,800 |
| Grounding | Grounding DINO | MRI, CT, X-ray, Histology | WORD, FLARE2021, BRATS, Montgomery County X-ray Set, VinDr-CXR, CellSeg | 4,207 |
| G-Seg | Grounding DINO + MedSAM | MRI, CT, X-ray, Histology | 2,303 | |
| Segmentation | MedSAM | MRI, CT, X-ray, Histology, Gross | WORD, FLARE2021, BRATS, Montgomery County X-ray Set, VinDr-CXR, CellSeg | 5,765 |
| Segmentation | UltraSAM | US | US-SimSeg, Zenodo-US, TCIA-USG | 5,000 |
| Segmentation | IterNet | Retina (Fundus) | STARE, Glaucoma-Benchmark, Diabetic-Retinopathy | 4,500 |
| Segmentation | CellViT | Pathology (WSI Cell) | 1,800 | |
| Segmentation | CellSAM | Pathology (2D Cell) | CRC100k | 1,800 |
| Registration | UniGradICON | CT, MRI | EmoryReg, Learn2Reg, HCP | 5,000 |
| Reconstruction | HealthGPT | X-ray, MRI, CT, US | NIH ChestX-ray, FastMRI | 6,147 |
| Super Resolution Report Generation | HealthGPTLLaVA-Rad | X-ray, MRI, CT, USX-ray, MRI, CT, US | NIH ChestX-rayLLaVA-RadCXR, Stanford-AIMI, OpenI | 4,593 |
| Report Generation | SpecialistVLMs | Retina (OCT) | DeepOpht(non-public) | 3,602 |
| Total | 97,055 |
Table S5: Size of the request and response template inventories. For each task we report the number of distinct user-request phrasings and assistant-response templates from which samples are drawn. Inventories are frozen before corpus construction and are released with the generation scripts.
| Task | Tool | Request | Response |
|---|---|---|---|
| QA & rationale generation | PMC-LLaMA [47] | 48 | 40 |
| Named entity recognition | RaTE-NER [48] | 40 | 40 |
| Report generation (radiology) | LLaVA-Rad [14] | 81 | 40 |
| Report generation (retina OCT) | SpecialistVLMs [49] | 90 | 41 |
| Segmentation (ultrasound) | UltraSAM [56] | 49 | 41 |
| Segmentation (fundus) | IterNet [54] | 65 | — |
| Registration | UniGradICON [55] | 100 | 25 |
| Reconstruction | HealthGPT [16] | 30 | 20 |
| Super-resolution | HealthGPT [16] | 42 | 41 |
Table S6: Tool chains in the multi-tool single-round subset . Each sequence is selected and ordered from a single user request before any specialist tool is executed.
| Tool chain | Workflow |
|---|---|
| BiomedCLIP PMC-LLaMA LLaVA-Rad | Identify the study, interpret it, then report |
| LLaVA-Rad PMC-LLaMA | Generate a report, then answer a question about it |
| MedSAM LLaVA-Rad | Segment a structure, then report on it |
| UltraSAM LLaVA-Rad | Segment an ultrasound study, then report on it |
| IterNet LLaVA-Rad | Extract retinal vessels, then report on them |
Table S7: Representative tool chains in the multi-tool multi-round subset . The first block shows dependent workflows in which a downstream text-based tool processes the output of an upstream specialist. The remaining blocks show independent tool sequences in which each turn introduces a separate request. These sequences illustrate the diversity of tool combinations rather than dependencies between successive invocations.
| Tool chain | Workflow |
|---|---|
| Successive requests on the same study (two invocations; 45 distinct chains) | |
| BiomedCLIP PMC-LLaMA | Classify the study, then answer a question about it |
| BiomedCLIP RaTE-NER | Classify the study, then extract typed entities |
| BiomedCLIP ChatCAD-R | Classify the study, then retrieve supporting knowledge |
| MedSAM PMC-LLaMA | Segment a structure, then answer a question about it |
| LLaVA-Med PMC-LLaMA | Answer a visual question, then reason over the answer |
| LLaVA-Med ChatCAD-R | Answer a visual question, then retrieve supporting knowledge |
| LLaVA-Rad RaTE-NER | Generate a report, then extract typed entities |
| LLaVA-Rad ChatCAD-R | Generate a report, then retrieve supporting knowledge |
| HealthGPT LLava-Rad | Enhance an image, then generate a report |
| G-Seg PMC-LLaMA | Localize and segment, then answer a question about it |
| Independent requests, two invocations (342 distinct chains) | |
| UltraSAM HealthGPT | Ultrasound segmentation, then image enhancement |
| LLaVA-Med Grounding DINO | Visual question answering, then localization |
| BiomedCLIP CellViT | Image classification, then WSI cell segmentation |
| MedSAM DSMIL-C16 | General segmentation, then tumor detection |
| SpecialistVLMs Grounding DINO | OCT reporting, then localization |
| Independent requests, three invocations (5,195 distinct chains) | |
| BiomedCLIP UniGradICON IterNet | Classification, registration, vessel segmentation |
| CONCH UltraSAM LLaVA-Rad | Pathology classification, ultrasound segmentation, reporting |
| DSMIL-TCGA HealthGPT Grounding DINO | Tumor subtyping, enhancement, localization |
| G-Seg CONCH UniGradICON | Grounding-segmentation, pathology classification, registration |
| PMC-LLaMA RaTE-NER DSMIL-TCGA | Question answering, entity extraction, tumor subtyping |
| Independent requests, four invocations (11,460 distinct chains) | |
| DSMIL-C16 LLaVA-Med UltraSAM LLaVA-Rad | Tumor detection, VQA, US segmentation, reporting |
| UniGradICON CellSAM MedSAM LLaVA-Rad | Registration, cell and general segmentation, reporting |
| LLaVA-Med LLaVA-Rad PMC-LLaMA CellViT | VQA, reporting, question answering, cell segmentation |
| G-Seg DSMIL-C16 UniGradICON DSMIL-TCGA | Grounding-segmentation, tumor detection, registration, subtyping |
| LLaVA-Med HealthGPT SpecialistVLMs UniGradICON | VQA, enhancement, OCT reporting, registration |
Table S9: JSONL record layout for instruction samples.
{ "image": <path | [path, ...]>, "conversations": [ ... ], "meta": { // multi-tool samples only "tools": ["ToolA", "ToolB"], "modality": "CT" // S_3 only } }
Table S10: Example JSONL record (BiomedCLIP classification).
{ "image": "tool_image/train/33431707_fig3.jpg", "conversations": [ // 1. User request {"from": "human", "value": "Can you identify the histopathology type?\n<image>"} // 2. Planner selects a specialist {"from": "gpt", "value": "I will use the BiomedCLIP model."}, // 3. Specialist return (tagged "human") {"from": "human", "value": "BiomedCLIP output: immunohistochemistry histopathology\n\nAnswer my first question: ..."} // 4. Planner synthesizes the final answer {"from": "gpt", "value": "Based on BiomedCLIP, this is an immunohistochemistry histopathology image."} ] }
Table S11: Training configuration of MMEDAGENT-PLUS.
| Setting | Value |
|---|---|
| Model | |
| Initialization | Qwen2.5-VL-7B-Instruct |
| Vision encoder | Frozen |
| Vision-language projector | Trained |
| Language decoder | Trained (full parameters) |
| Data | |
| Training data | |
| Loss masking | System and user turns masked |
| Maximum sequence length | 8,192 tokens |
| Image pixels (min / max) | 256 / 12,288 |
| Sequence flattening | Enabled |
| Optimization | |
| Optimizer | AdamW |
| Peak learning rate | |
| Learning rate schedule | Cosine, 10% linear warmup |
| Weight decay | 0.01 |
| Gradient clipping (max norm) | 1.0 |
| Epochs | 1 |
| Per-device batch size | 1 |
| Gradient accumulation steps | 64 |
| Effective batch size | 256 |
| Total optimization steps | 816 |
| Compute | |
| Hardware | 4 × NVIDIA A100-SXM4-80GB |
| Distributed strategy | DeepSpeed ZeRO-3, CPU offload of parameters and optimizer states |
| Precision | bfloat16 |
| Attention | FlashAttention-2 |
| Gradient checkpointing | Enabled |
| Training time | 75 h wall-clock (300 GPU hours) |
| Reproducibility | |
| Random seed | 42 |
| Data seed | 42 |
Scene: Biomedical question answering
Question: Does exposure of Stored Packed Erythrocytes to Nitric Oxide prevent Transfusion-associated Pulmonary Hypertension?
Context: Transfusion of packed erythrocytes stored for a long duration is associated with increased pulmonary arterial pressure and vascular resistance. Prolonged storage decreases erythrocyte deformability, and older erythrocytes are rapidly removed from the circulation after transfusion. The authors studied whether treating stored packed ovine...

MMedAgent-Plus (ours)
Tool: PMC-LLaMA

4.7
Specialist output
Treating stored packed erythrocytes with NO before transfusion prevented transfusion-associated pulmonary hypertension. This approach may improve the outcome of stored red blood cell transfusion. Answer: yes
Answer
Treating stored packed erythrocytes with NO before transfusion prevented transfusion-associated pulmonary hypertension. This approach may improve the outcome of stored red blood cell transfusion.

GPT-5.4-mini
Yes. Exposure of stored packed erythrocytes to nitric oxide prevented transfusion-associated pulmonary hypertension in this study. Reasoning: The source states that NO treatment improved the deformability of stored erythrocytes, increased the number of stored erythrocytes still circulating at 1 and 24 hours after transfusion, and prevented the rise in pulmonary pressure seen with stored blood. Specifically, mean pulmonary arterial pressure at 30 minutes was lower with NO-treated packed erythrocytes than with control stored erythrocytes ( vs. mmHg, P < 0.0001). It also notes that washing...

4.0

Qwen3-VL-8B
Yes, exposure of stored packed erythrocytes to nitric oxide (NO) prevents transfusion-associated pulmonary hypertension. Reasoning based on the source: The study demonstrated that treating stored packed ovine erythrocytes with NO before transfusion significantly prevented pulmonary vasoconstriction and pulmonary hypertension. Specifically, mean pulmonary arterial pressure at 30 minutes post-transfusion was mmHg in the NO-treated group versus mmHg in the control group (P < 0.0001), indicating a statistically significant reduction in pulmonary hypertension in the NO-treated group. Additionally, NO treatment improved erythrocyte deformability and prolonged erythrocyte...

4.0

MedGemma-1.5-4B-IT
Yes, exposure of stored packed erythrocytes to nitric oxide (NO) prevents transfusion-associated pulmonary hypertension. The study found that NO treatment improved erythrocyte deformability and increased the number of circulating erythrocytes after transfusion. It also prevented pulmonary hypertension in transfused patients.

4.0

LLaVA-Med
Based on the provided context, it appears that exposure of stored packed erythrocytes to nitric oxide (NO) before transfusion can prevent transfusion-associated pulmonary hypertension. This is supported by the findings from the study, which show that NO treatment improved the deformability of stored erythrocytes, increased the number of stored erythrocytes circulating, and prevented pulmonary hypertension.

4.3
Figure S11: Biomedical question answering. For a question on nitric-oxide treatment of stored erythrocytes, MMEDAGENT-PLUS returns a concise PMC-LLaMA-grounded answer, while the direct-answer baselines produce verbose responses that fail our reference matching despite reaching the correct yes/no conclusion. 53
Scene: Biomedical question answering
Question: Are glutathione s-transferase m1 and t1 gene polymorphisms associated with increased risk of gestational diabetes mellitus development?
Context: The aim of this study was to investigate whether the glutathione S-transferase M1 (GSTM1) and T1 (GSTT1) gene polymorphisms contributed to development of gestational diabetes mellitus (GDM). Fifty women with diagnosis of GDM and 50 control individuals without GDM or altered glucose intolerance during their pregnancy were enrolled in the...

MMedAgent-Plus (ours)
Tool: PMC-LLaMA

4.7
Specialist output
In conclusion, GSTM1 and GSTT1 gene polymorphisms are not associated with GDM development. Answer: no
Answer
In conclusion, GSTM1 and GSTT1 gene polymorphisms are not associated with GDM development.

GPT-5.4-mini
No. Based on the study, GSTM1 and GSTT1 polymorphisms were not associated with an increased risk of gestational diabetes mellitus. The null genotype frequencies were similar between GDM and control groups, with no statistically significant differences for either GSTM1 or GSTT1.

4.3

Qwen3-VL-8B
No, glutathione S-transferase M1 and T1 gene polymorphisms are not associated with an increased risk of gestational diabetes mellitus development, based on the study findings. The frequencies of GSTM1 null genotypes (60% in GDM vs. 54% in controls) and GSTT1 null genotypes (22% in GDM vs. 20% in controls) showed no statistically significant differences between the groups.

4.3

MedGemma-1.5-4B-IT
The study found no statistically significant difference in GSTM1 or GSTT1 null genotype rates between women with gestational diabetes mellitus (GDM) and control individuals without GDM.

5.0

LLaVA-Med
According to the information provided, there is no significant association between glutathione s-transferase m1 and t1 gene polymorphisms and the development of gestational diabetes mellitus.

5.0
Figure S12: Biomedical question answering. MMEDAGENT-PLUS correctly reports that GSTM1 and GSTT1 polymorphisms are not associated with gestational diabetes mellitus; MedGemma-1.5-4B-IT and LLaVA-Med omit the explicit negative association required by the reference answer.
Scene: Radiology report generation
Question: Can you analyze the following MRI scan and share a report?

Chest radiograph

MMedAgent-Plus (ours)
Tool: LLaVA-Rad

5.0
Specialist output
Lung volumes are low. Elevation of the right hemidiaphragm. Mild pulmonary vascular congestion. No definite focal consolidation. No large pleural effusion or pneumothorax. Cardiac and mediastinal silhouettes unremarkable. Multiple old right-sided rib fractures.
Answer
Lung volumes are low. There is elevation of the right hemidiaphragm. There is mild pulmonary vascular congestion. No definite focal consolidation is seen. There is no large pleural effusion or pneumothorax. The cardiac and mediastinal silhouettes are unremarkable. Multiple old right-sided rib fractures are again seen.

GPT-5.4-mini
This image appears to be a portable chest X-ray, not an MRI. Low-volume film with poor inspiratory effort. Bibasilar hazy/patchy opacities, greater at the lung bases, which may represent atelectatic change or mild bibasilar airspace disease (e.g., infection or aspiration). No obvious pneumothorax. Cardiomediastinal silhouette is partially obscured but does not appear markedly enlarged.

1.3

Qwen3-VL-8B
The image provided is a chest X-ray, not an MRI scan. Findings: the heart and mediastinum appear enlarged, suggesting cardiomegaly. There is increased opacity in the lower lung fields, which may indicate pleural effusion or consolidation. The diaphragm appears elevated. Conclusion: signs of cardiomegaly and possible pleural effusion or consolidation.

1.0

MedGemma-1.5-4B-IT
I am unable to provide a medical diagnosis based on an image. A qualified radiologist needs to interpret the image to provide a report.

1.0

LLaVA-Med
Yes, I can analyze the MRI scan and provide a report. However, I cannot view the actual image. If you could provide more information about the findings in the MRI scan, I would be happy to help you understand the results.

1.0
Figure S13: Radiology report generation. Despite the user mislabeling a chest radiograph as an MRI, MMEDAGENT-PLUS invokes LLaVA-Rad and produces an accurate structured report; direct-answer baselines misidentify the modality or decline to interpret the image.
Scene: Radiology report generation
Question: Do you notice anything concerning in this radiology image?

Chest radiograph

MMedAgent-Plus (ours)
Tool: LLaVA-Rad

4.7
Specialist output
Frontal and lateral views of the chest were obtained. There are relatively low lung volumes. No focal consolidation, pleural effusion, or evidence of pneumothorax is seen. The cardiac and mediastinal silhouettes are stable. Surgical clips are seen projecting over the right axilla...
Answer
Frontal and lateral views of the chest were obtained. There are relatively low lung volumes. No focal consolidation, pleural effusion, or evidence of pneumothorax is seen. The cardiac and mediastinal silhouettes are stable. Surgical clips are seen projecting over the right axilla. There is mild anterior wedging of a lower thoracic vertebral body, stable.

GPT-5.4-mini
This appears to be a lateral chest/upper abdominal radiograph. I do not see an obvious acute abnormality on this single view, but there is a relatively prominent retrocardiac/left lower thoracic lucency that could simply be normal stomach air or overlap from anatomy. That said, a single image isn't enough to reliably rule things out. If this was taken for symptoms like chest pain, shortness of breath, fever, or abdominal pain, it should be interpreted with the full study and clinical context by a radiologist.

1.3

Qwen3-VL-8B
Yes, there is a concerning finding: a large, well-defined opacity in the right lower lung field, which is suggestive of a pulmonary mass or consolidation. This requires further evaluation, such as a CT scan, to determine the exact nature of the lesion.

1.0

MedGemma-1.5-4B-IT
The image shows a chest X-ray. The lungs appear clear, and the heart size seems normal. There are no obvious signs of pneumonia, pneumothorax, or other acute abnormalities.

4.0

LLaVA-Med
The chest x-ray appears to be normal, with no concerning findings.

4.3
Figure S14: Radiology report generation. On a lateral chest radiograph with low lung volumes, MMEDAGENT-PLUS synthesizes a faithful LLaVA-Rad report, whereas Qwen3-VL-8B hallucinates a pulmonary mass and LLaVA-Med incorrectly calls the study normal.
Scene: Radiology report generation
Question: What does this X-RAY image show?

Chest radiograph

MMedAgent-Plus (ours)
Tool: LLaVA-Rad

4.7
Specialist output
Frontal and lateral chest radiographs demonstrate a left chest pacemaker with intact leads. There is no pneumothorax. The lungs again demonstrate chronic interstitial markings and bibasilar atelectasis. There is no pleural effusion or new focal consolidation. The pulmonary vascul...
Answer
Frontal and lateral chest radiographs demonstrate a left chest pacemaker with intact leads. There is no pneumothorax. The lungs again demonstrate chronic interstitial markings and bibasilar atelectasis. There is no pleural effusion or new focal consolidation. The pulmonary vasculature is normal. The cardiac silhouette is partially obscured by pacer battery pack, but is normal in size. The mediastinal contours are normal.

GPT-5.4-mini
This is a lateral chest X-ray showing a large retrocardiac air-containing structure, most consistent with a hiatal hernia (part of the stomach herniated up into the chest through the diaphragm). If you want, I can also point out the key features in the image that support that interpretation.

2.3

Qwen3-VL-8B
This X-ray image shows a pneumothorax (air in the pleural space) with atelectasis (collapsed lung tissue) and possible underlying lung pathology (e.g., infection or tumor). There is also a foreign body (possibly a catheter or tube) in the thoracic cavity.

1.3

MedGemma-1.5-4B-IT
The image shows a chest X-ray. There is a device visible on the left side of the chest, likely a pacemaker or other medical device. The lungs appear clear.

3.0

LLaVA-Med
The chest X-ray image shows a large right-sided pleural effusion. A pleural effusion is an abnormal accumulation of fluid in the pleural space, which is the area between the layers of tissue that line the lungs and the chest cavity.

2.0
Figure S15: Radiology report generation. For a pacemaker chest radiograph with chronic interstitial markings, MMEDAGENT-PLUS preserves LLaVA-Rad findings on device leads and lung parenchyma; baselines misread the study as hiatal hernia, pneumothorax, or pleural effusion.
Scene: Named entity recognition
Question: Extract and label medical terms from this clinical text.
Text: dilated coronary arteries due to overflow between the left and right coronary arteries

MMedAgent-Plus (ours)
Tool: RaTE-NER

5.0
Specialist output
'dilated' -> Abnormality; 'coronary arteries' -> Anatomy; 'overflow between' -> Abnormality; 'left and right coronary arteries' -> Anatomy
Answer
'dilated' -> Abnormality
'coronary arteries' -> Anatomy
'overflow between' -> Abnormality
'left and right coronary arteries' -> Anatomy

GPT-5.4-mini
Extracted medical terms: Dilated coronary arteries; Left coronary artery; Right coronary artery; Overflow between the left and right coronary arteries.

3.0

Qwen3-VL-8B
No medical terms extracted.

2.3

MedGemma-1.5-4B-IT
Coronary arteries, Dilated

1.0

LLaVA-Med
The medical terms in this clinical text are "dilated coronary arteries" and "overflow between the left and right coronary arteries."

2.7
Figure S16: Named entity recognition. MMEDAGENT-PLUS reproduces RaTE-NER typed spans for coronary-artery anatomy and abnormality phrases; direct-answer baselines return unstructured term lists without the required entity-type labels.
Scene: Named entity recognition
Question: Perform entity extraction on this clinical text.
Text: grade i spondylolisthesis of I5 on s1 is also present

MMedAgent-Plus (ours)
Tool: RaTE-NER

Specialist output
'grade i spondylolisthesis of I5 on s1' -> Disease
5.0
Answer
'grade i spondylolisthesis of I5 on s1' -> Disease

GPT-5.4-mini
Extracted clinical entities: - Condition: spondylolisthesis - Severity/grade: grade I - Anatomical location: L5 on S1 Normalized interpretation: - Grade I L5-S1 spondylolisthesis

4.0

Qwen3-VL-8B
No entities extracted.

2.3

MedGemma-1.5-4B-IT
- Condition: Spondylolisthesis * Level: L5 on S1 * Grade: I

3.0

LLaVA-Med
, with grade I being the least severe and grade IV being the most severe.

1.0
Figure S17: Named entity recognition. MMEDAGENT-PLUS identifies grade I L5 - S1 spondylolisthesis as a single Disease entity per RaTE-NER, while baselines split or paraphrase the span without matching the specialist schema.
Scene: Named entity recognition
Question: Please perform entity recognition on this medical sentence.
Text: no intracranial hemorrhage

MMedAgent-Plus (ours)
Tool: RaTE-NER

Specialist output
'intracranial hemorrhage' -> Non-Disease
5.0
Answer
'intracranial hemorrhage' -> Non-Disease

GPT-5.4-mini
Entity recognition: - intracranial hemorrhage — Problem / Finding - no — Negation (indicates absence of the finding) Normalized interpretation: No intracranial hemorrhage is present.

2.7

Qwen3-VL-8B
There are no entities in the sentence "no intracranial hemorrhage" that require medical entity recognition.

2.3

MedGemma-1.5-4B-IT
No intracranial hemorrhage.

1.0

LLaVA-Med
The medical sentence "no intracranial hemorrhage" indicates that there is no bleeding within the skull, as seen on the CT scan.

1.0
Figure S18: Named entity recognition. On the negated finding no intracranial hemorrhage, MMEDAGENT-PLUS labels intracranial hemorrhage as Non-Disease following RaTE-NER; baselines either skip entity extraction or produce free-text interpretations.
Scene: Image classification
Question: Can you identify the type of staining used in this histopathology image?

Histopathology

MMedAgent-Plus (ours)
Tool: BiomedCLIP
Specialist output
immunohistochemistry histopathology
Answer
Based on the result of BiomedCLIP, this image is stained using immunohistochemistry.
5.0


GPT-5.4-mini
The image shows H&E staining in the top panels (hematoxylin and eosin). The lower panels also appear to include immunohistochemical / immunofluorescent staining for IL-33 and IL-37 with DAPI nuclear counterstain.

1.0

Qwen3-VL-8B
H&E staining.

2.3

MedGemma-1.5-4B-IT
The image shows H&E staining (Hematoxylin and Eosin) and immunohistochemistry (IHC) staining with DAPI to visualize nuclei.

2.7

LLaVA-Med
The staining used in this histopathology image is Hematoxylin and Eosin (H&E) staining.

2.3
Figure S19: Image classification. MMEDAGENT-PLUS invokes BiomedCLIP and correctly identifies immunohistochemistry staining in a histopathology panel; direct-answer baselines default to H&E or mixed-stain descriptions.
Scene: Image classification
Question: What kind of medical imaging technique is used in this image?

Lung CT

MMedAgent-Plus (ours)
Tool: BiomedCLIP

Specialist output
lung CT
5.0
Answer
Based on the result of BiomedClip, this image is an example of a lung CT scan.

GPT-5.4-mini
This is an axial CT scan of the chest, likely CT-guided imaging with multiple numbered slices (T2, T3, T4).

3.3

Qwen3-VL-8B
CT scan

5.0

MedGemma-1.5-4B-IT
Computed tomography (CT) scan.

5.0

LLaVA-Med
The image is obtained using computed tomography (CT), which is a type of medical imaging technique.

5.0
Figure S20: Image classification. MMEDAGENT-PLUS classifies the scan as lung CT via Biomed-CLIP; baselines give generic “CT scan” answers that omit the organ-specific label required by the reference.
Scene: Image classification
Question: Can you tell what type of image this is?

COVID chart

MMedAgent-Plus (ours)
Tool: BiomedCLIP
Specialist output
covid line chart
Answer
Based on the result of BiomedClip, this image is an example of a COVID line chart.

5.0

GPT-5.4-mini
This is a chest X-ray image montage showing examples of different diagnostic categories such as atelectasis, cardiomegaly, consolidation, pleural effusion, pneumothorax, mass, nodule, infection/infiltration, and healthy lungs.

1.0

Qwen3-VL-8B
X-ray image.

2.3

MedGemma-1.5-4B-IT
This is a chest X-ray.

2.3

LLaVA-Med
This is a chest X-ray image.

2.3
Figure S21: Image classification. MMEDAGENT-PLUS recognizes a COVID line chart through BiomedCLIP, whereas all direct-answer baselines misclassify the figure as a chest radiograph montage.
Scene: Pathology classification
Question: Does the image reveal any notable features?

Pathology (H&E)

MMedAgent-Plus (ours)
Tool: CONCH

5.0
Specialist output
{STR}
Answer
Yes, the image reveals notable features. According to the CONCH model, the image shows Stromal tissue (STR). Stromal tissue refers to the supportive connective tissue found within organs, and its identification can be significant in assessing the tissue environment or context.

GPT-5.4-mini
The image shows dense pink fibrous tissue with spindle-shaped nuclei, suggestive of fibrous connective tissue / scar-like collagen. I don't see obvious gland formation, clear inflammation, or large atypical cells in this view.

3.3

Qwen3-VL-8B
Yes, the image reveals notable features consistent with a histological section of skeletal muscle tissue. Key observations: striated pattern of muscle fibers; nuclei located peripherally; organized fiber arrangement.

1.0

MedGemma-1.5-4B-IT
The image shows a tissue sample with a cellular structure. The cells appear to be of varying sizes and shapes, and there are some fibers present.

1.7

LLaVA-Med
However, without more specific information about the tissue type or any notable features, it is difficult to provide a detailed interpretation of the image.

1.0
Figure S22: Pathology classification. MMEDAGENT-PLUS reports CONCH stromal-tissue (STR) predictions with clinical context; baselines provide generic histology descriptions without the tissue-class label.
Scene: Pathology classification
Question: Does this image present any valuable insights?

Pathology (H&E)

MMedAgent-Plus (ours)
Tool: CONCH

5.0
Specialist output
{TUM}
Answer
Yes, this image does present valuable insights. The CONCH model identified the presence of tumor tissue (TUM), indicating areas where abnormal cell growth is occurring. This information is crucial for diagnosis and further clinical management.

GPT-5.4-mini
This appears to be a histology micrograph showing a folded epithelial surface with densely packed, dark-staining nuclei. It may be a useful image for assessing tissue architecture, cell arrangement, and possible pathological changes. That said, from this image alone I can't reliably identify the exact tissue or determine whether it is normal versus abnormal. If you want, I can help describe the likely tissue type or point out specific features visible here.

1.3

Qwen3-VL-8B
Yes, this image presents valuable insights. It shows a histological section of tissue stained with hematoxylin and eosin (H&E), revealing cellular architecture and morphology. The purple staining highlights nuclei and other cellular components, while the pinkish areas indicate cytoplasm and extracellular matrix. This type of image is essential for diagnosing diseases, studying tissue structure, and understanding pathological changes at the microscopic level.

1.7

MedGemma-1.5-4B-IT
The image shows a histological section of the small intestine. It appears to show villi, which are finger-like projections that increase the surface area for absorption. The image could be used to assess the health of the small intestine and identify any abnormalities, such as villous atrophy or inflammation.

1.0

LLaVA-Med
the patient's condition, it is difficult to determine if this particular image offers any valuable insights.

2.3
Figure S23: Pathology classification. MMEDAGENT-PLUS identifies tumor tissue (TUM) via CONCH; direct-answer baselines describe tissue architecture but fail to assign the pathology class.
Scene: Pathology classification
Question: Does this image present any valuable insights?

Pathology (H&E)

MMedAgent-Plus (ours)
Tool: CONCH

Specialist output
{BACK}
4.7
Answer
Using the CONCH model, I've analyzed the image and determined that it does not provide valuable diagnostic information. The CONCH model identified it as background tissue (BACK), which means no tumor or pathological features were detected in this region. Is there anything else I can help with?

GPT-5.4-mini
This image appears too low-resolution and blurry to provide reliable medical insight. I can't confidently identify any specific cells, organisms, or abnormalities from it. If you want, I can still help by: - describing what visible features I can see, - suggesting what type of slide/sample this might be, - or helping interpret a clearer image with higher magnification and focus.

2.3

Qwen3-VL-8B
No, the image appears to be a low-resolution, blurry microscopic view with indistinct features, making it difficult to identify any specific structures or provide meaningful insights.

2.7

MedGemma-1.5-4B-IT
The image shows a microscopic view of a tissue sample. It is difficult to determine the specific diagnosis based on this single image. Further information about the context of the image (e.g., what tissue it is from, what the clinical question is) would be needed to provide a more specific answer.

2.0

LLaVA-Med
the patient's condition, it is difficult to determine if this particular image presents any valuable insights.

1.7
Figure S24: Pathology classification. MMEDAGENT-PLUS correctly reports CONCH background-tissue (BACK) with no pathological findings; baselines give non-committal or incorrect interpretations of the patch.