ToolSmith: An Automatic Tool-Generation Framework for Multimodal Search Agents
Organizations: University of California, Los Angeles · AWS GenAI
Abstract
Recent multimodal search agents use reasoning, vision, and live web search across many turns to answer questions beyond parametric knowledge by orchestrating a small library of hand-crafted search and visual tools. However, the library is laborious to create and maintain, and frozen when new query types, evidence formats, and failure modes are encountered in the wild. Human practitioners, by contrast, cope with insufficient tools by fashioning new ones from familiar parts and reusing them across tasks. Inspired by this, we propose ToolSmith, an automatic tool-generation framework that grows and reuses modules on top of a lean base tool library. We evaluate ToolSmith on three in-domain multimodal search benchmarks and ten out-of-domain benchmarks under a VLM-as-a-Judge protocol. ToolSmith consistently improves over the base library across deployed agents of varying scales, with larger backbones reaping greater gains, demonstrating the scalability of the approach. Our code and data are available at https://threesr.github.io/toolsmith/.
Figures & tables
| Tool | Description |
|---|---|
| Search | |
| Text Search | Web search with automatic query-intent routing. |
| Image Search | Reverse image search (image entities and URLs). |
| Webpage Visit | Fetch URL(s) and extract goal-relevant content. |
| Vision | |
| Zoom-in | Crop a region by normalized bounding box. |
| Model | FVQA | InfoSeek | Enc-VQA | Avg |
|---|---|---|---|---|
| Direct Inference | ||||
| Qwen3-VL-8B | 28.39 | 29.20 | 10.61 | 22.62 |
| Qwen3-VL-8B-T | 25.67 | 27.25 | 18.06 | 23.63 |
| Qwen3-VL-32B | 32.67 | 33.20 | 32.76 | 32.88 |
| GPT-5 | 54.67 | 53.67 | 43.33 | 50.46 |
| Agent Workflow w/ Base Tools | ||||
| Model | MM-BC | SVQA | MMS | MSP | HLE-VL | LVQA | BC-VL | RXB | VDR | VBB | Avg |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Direct Inference | |||||||||||
| Qwen3-VL-8B | 4.94 | 54.33 | 14.04 | 1.29 | 6.36 | 34.67 | 21.05 | 22.16 | 5.40 | 7.69 | 16.97 |
| Qwen3-VL-8B-T | 7.41 | 54.67 | 12.87 | 3.22 | 10.30 | 29.33 | 33.83 | 22.16 | 8.20 | 11.24 | 19.68 |
| Qwen3-VL-32B | 6.58 | 59.00 | 20.47 | 2.57 | 10.00 | 32.67 | 28.82 | 24.74 | 9.40 | 10.06 | 20.36 |
| GPT-5 | 8.64 | 66.33 | 36.84 | 14.79 | 23.33 | 42.33 | 42.11 | 34.54 | 14.20 | 28.40 | 30.41 |
| Agent Workflow w/ Base Tools | |||||||||||
| Inference model | ||||
|---|---|---|---|---|
| Benchmark | Generator | 8B | 32B | GPT-5 |
| FVQA | Base tools only | 55.00 | 62.67 | 55.00 |
| Qwen3-VL-8B | 52.00 | 60.67 | 54.00 | |
| Qwen3-VL-32B | 56.00 | 63.17 | 55.20 | |
| GPT-5 | 58.00 | 64.55 | 56.10 | |
| MMSearch | Base tools only | 51.46 | 62.57 | 56.14 |
| Trajectory source | FVQA | MMSearch | |
|---|---|---|---|
| Qwen3-VL-8B | 264 | 58.00 | 55.56 |
| Qwen3-VL-32B | 218 | 57.11 | 54.97 |
| GPT-5 | 173 | 56.50 | 54.39 |
| FVQA | MMSearch | ||
|---|---|---|---|
| 0 | 0 | 55.00 | 51.46 |
| 250 | 145 | 57.39 | 54.97 |
| 500 | 264 | 58.00 | 55.56 |
| 750 | 298 | 57.50 | 54.97 |
| New calls | Adoption | |
|---|---|---|
| In-domain | 27% | 40.9% |
| Out-of-domain | 15% | 16.3% |
Appendix figures & tables8 assets
Supplementary material from the paper’s appendix.
Appendix
| Benchmark | # Samples |
|---|---|
| In-domain (test splits of training-pool datasets) | |
| FVQA ( Wu et al., 2025 ) | 1800 |
| InfoSeek ( Chen et al., 2023 ) | 2000 |
| EncyclopedicVQA ( Mensink et al., 2023 ) | 1960 |
| Out-of-domain (multimodal search benchmarks) | |
| MM-BrowseComp ( Li et al., 2025 ) | 243 |
| Dataset | Split (size) |
|---|---|
| FVQA ( Wu et al., 2025 ) | train (3312) |
| InfoSeek ( Chen et al., 2023 ) | val (3000) |
| EncyclopedicVQA ( Mensink et al., 2023 ) | val (2862) |
| Generator | Trig. | Succ. (%) | Dedup | Cost |
|---|---|---|---|---|
| GPT-5 | 73 | 50 (68%) | 23 | $1.03 |
| Qwen3-VL-32B | 83 | 67 (81%) | 6 | $0.00 |
| Qwen3-VL-8B | 83 | 24 (29%) | 17 | $0.00 |
| Component | Calls | Prompt | Compl. | Cost |
|---|---|---|---|---|
| Generator (codegen) | 455 | 5.19M | 2.77M | $34.18 |
| Self-critique (trigger) | 446 | 0.25M | 0.70M | $7.26 |
| Classifier (local 8B) | — | 0.05M | 0.02M | $0.00 |
| Total | 5.49M | 3.48M | $41.44 |
Multimodal Tool Use
Multimodal tool use studies how AI systems select and combine external tools to reason over images, video, audio, and other data.
See all 68 papers