# Use Batch Relay with your agent.

[Batch Relay](https://webmcp.batchrelay.com/) (`webmcp.batchrelay.com`) registers 11 WebMCP tools. 2 of 11 tools declares `readOnlyHint`, so an agent can invoke them through `tools.call`. The registry runs the tool in a fresh headless page on webmcp.batchrelay.com and returns untrusted site content.

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

## Use Batch Relay 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":"webmcp.batchrelay.com"}' --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":"webmcp.batchrelay.com","tool":"ask_storefront","input":"{}"}' --json
```

## Registered WebMCP tools

Batch Relay publishes 11 tools on webmcp.batchrelay.com; 2 declare `readOnlyHint`.

| Tool | What it does | Callable through Ghostget |
| --- | --- | --- |
| `add_to_cart` | Add a prepared visible draft to the demo cart, or show its proposal card when the shopper has not previewed it. Proposals stack and await the SHOPPER's decision; the agent must not resolve its own proposal. Accept draftId or draft_id from a | Listed for discovery; the registry allows read-only calls only |
| `ask_storefront` | Inspect the visible storefront or check one template and product for compatibility. Does not change the workbench. | Callable read-only tool |
| `configure_print` | Create or revise one print draft from visible tray photos. Assign published slots, apply per-slot text (set_text) or framing, and return the resulting draft, crop, and missing requirements. Use photo ordinals or returned photo IDs; face fra | Listed for discovery; the registry allows read-only calls only |
| `find_prints` | Find published print products by name, size, or type. Returns catalog facts and template requirements without changing what the shopper is looking at. | Callable read-only tool |
| `manage_cart` | Inspect or update the visible demo cart. Change a line quantity, remove a line, or clear the cart; use target most_recent when the shopper refers to the latest cart line. | Listed for discovery; the registry allows read-only calls only |
| `propose_prints` | Stage one draft and proposal card for each tray photo against one product. Use tray ordinals or returned photo IDs; omitted framing keeps the default 1.0x centered crop. Returns one result per photo and leaves each proposal awaiting the sho | Listed for discovery; the registry allows read-only calls only |
| `redo_last_change` | Reapply one or more workbench changes previously restored by undo_last_change. Use steps to redo up to five consecutive undos and return the exact restored state. | Listed for discovery; the registry allows read-only calls only |
| `resolve_cart_proposal` | Apply the shopper's stated decision to pending proposal cards. Only the shopper can accept or reject a proposal; asking to add a print is NOT confirmation of one. Accept or reject one card or a stack, accept ready cards, or update one card' | Listed for discovery; the registry allows read-only calls only |
| `revise_prints` | Apply one approved crop to several existing drafts. Target their default image slot or identify an individual or team slot, then return the per-draft framing result. | Listed for discovery; the registry allows read-only calls only |
| `search-print-formats` | Search the live print formats shown in the catalog chooser by size or name. Filters only the formats already visible on this page; it does not add anything to the cart. | Listed for discovery; the registry allows read-only calls only |
| `undo_last_change` | Restore the workbench to before its latest change, including drafts, framing, proposals, and cart lines. Use steps to undo up to five changes and return the restored change description. | Listed for discovery; the registry allows read-only calls only |

## 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 Batch Relay changes its tools.
- **No account needed.** These calls are credential-free registry reads. For tools that need a session on webmcp.batchrelay.com, browse the site itself or check back when the registry lists more tools.
