# Use 1inch with your agent.

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

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

## Use 1inch 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":"1inch.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":"1inch.com","tool":"get_wallet_status","input":"{}"}' --json
```

## Registered WebMCP tools

1inch publishes 13 tools on 1inch.com; 5 declare `readOnlyHint`.

| Tool | What it does | Callable through Ghostget |
| --- | --- | --- |
| `connect_wallet` | Opens the wallet-connection panel so the user can connect a wallet. The user completes the connection manually; this tool never selects a wallet or signs anything. Calling it again while the panel is already open (or a wallet is already con | Listed for discovery; the registry allows read-only calls only |
| `get_wallet_status` | Returns the connected EVM and Solana wallet addresses (null when not connected) and the currently selected chain. | Callable read-only tool |
| `limit_order_cancel` | Starts cancellation of an active limit order by its hash (from limit_order_list). The user confirms the on-chain cancellation in their wallet. | Listed for discovery; the registry allows read-only calls only |
| `limit_order_configure` | Updates the visible limit-order form: tokens, amount, limit price, and expiry. Returns the resulting state. | Listed for discovery; the registry allows read-only calls only |
| `limit_order_create` | Creates the currently configured limit order. The user signs the order in their wallet; this tool can never place an order silently. | Listed for discovery; the registry allows read-only calls only |
| `limit_order_get_market_price` | Returns the current market price for the limit-order token pair, for comparison with the limit price. | Callable read-only tool |
| `limit_order_list` | Lists the connected wallet's active (open) limit orders with their hash, tokens, status, and fill percentage. | Callable read-only tool |
| `open_page` | Navigates to a 1inch.com page. Page-scoped tools (swap, limit orders, Aqua) become available after opening their page. | Listed for discovery; the registry allows read-only calls only |
| `search_tokens` | Searches the curated 1inch token list by symbol, name, or address and returns candidates with their exact addresses and decimals. Use the returned address in other tools. | Callable read-only tool |
| `swap_configure` | Updates the visible swap form: source/destination token (symbol or address), human-readable amount, and optionally the chain. Waits for the refreshed quote and returns the resulting form state. | Listed for discovery; the registry allows read-only calls only |
| `swap_execute` | Submits the currently configured swap through the standard flow. The user must confirm every transaction in their wallet; this tool can never move funds silently. | Listed for discovery; the registry allows read-only calls only |
| `swap_get_quote` | Returns the current swap quote for the visible form: tokens, amounts, swap type, quote errors, and whether the swap is ready to execute. | Callable read-only tool |
| `trade_set_mode` | Switches the advanced trade panel between "market" (instant swap) and "limit" (limit order). The corresponding form and its tools become available after switching. | 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 1inch changes its tools.
- **No account needed.** These calls are credential-free registry reads. For tools that need a session on 1inch.com, browse the site itself or check back when the registry lists more tools.
