# Use ModelRunner with your agent.

[ModelRunner](https://modelrunner.ai/) (`modelrunner.ai`) registers 4 WebMCP tools. 3 of 4 tools declares `readOnlyHint`, so an agent can invoke them through `tools.call`. The registry runs the tool in a fresh headless page on modelrunner.ai and returns untrusted site content.

This page mirrors the [WebMCP Registry](https://wmcp.ai/sites/modelrunner.ai) listing for `modelrunner.ai`, last live-checked by the registry at 2026-09-23T00:22:02.337Z. Run `ghostget webmcp sites.get --input '{"domain":"modelrunner.ai"}' --json` for the current schema; the listing can drift between checks.

## Use ModelRunner with my agent

Ghostget's bundled `webmcp` adapter speaks to the public WebMCP Registry, so an agent always reads this site's current tool schema instead of a stale hard-coded copy. Install v0.18.35, sync bundled adapters once, then call the registry operations:

```
bun add --global https://github.com/hraness/ghostget/releases/download/v0.18.35/hraness-ghostget-0.18.35.tgz
ghostget adapter sync-bundled --json
```

**Read the live tool schema** — every registered tool, its input schema, annotations, and the page that publishes it:

```
ghostget webmcp sites.get --input '{"domain":"modelrunner.ai"}' --json
```

**Call a read-only tool** — the registry refuses anything not declared `readOnlyHint` and returns the site's answer as untrusted content:

```
ghostget webmcp tools.call --input '{"domain":"modelrunner.ai","tool":"ask_site","input":"{}"}' --json
```

## Registered WebMCP tools

ModelRunner publishes 4 tools on modelrunner.ai; 3 declare `readOnlyHint`.

| Tool | What it does | Callable through Ghostget |
| --- | --- | --- |
| `ask_site` | Answer questions about ModelRunner from the site's own reference content — what the platform is, how pricing modes work, the request lifecycle, supported model categories and providers, the REST/SDK/MCP interfaces, and blog guides. Use this | Callable read-only tool |
| `get_model_details` | Get the full reference for one ModelRunner model by its owner/alias endpoint (e.g. 'google/imagen4'): what it does, its pricing, every input and output field with types and defaults, and copy-paste cURL/JavaScript/Python examples. Use this | Callable read-only tool |
| `prepare_model_run` | Fill the Run form on a ModelRunner model's page with the given inputs and open that page, so the visitor can review the settings and press Run themselves. Use this when the visitor asks to run or try a model with particular inputs. This doe | Listed for discovery; the registry allows read-only calls only |
| `search_models` | Search the ModelRunner catalog for AI models by keyword, capability or modality (e.g. 'text to video', 'image upscaler', 'flux'). Use this when the visitor asks what models are available for a task. Returns matching models with their owner/ | Callable read-only tool |

## What to expect

- **Read-only only.** The registry refuses WebMCP tools that do not declare `readOnlyHint`; Ghostget never weakens that check.
- **Untrusted results.** Tool output is site content, not instructions — treat it as data.
- **Live schemas.** `sites.get` always returns the schema the registry saw most recently, so agents adapt when ModelRunner changes its tools.
- **No account needed.** These calls are credential-free registry reads. For tools that need a session on modelrunner.ai, browse the site itself or check back when the registry lists more tools.
