---
name: "xpay-jina-expand-query"
description: "Expand and rewrite search queries based on an up-to-date query expansion model. This tool takes an initial query and returns multiple expanded queries that can be used for more diversed and deeper searches. Useful for improving deep research results by searching broader and deeper."
version: "1.0.0"
price: "$0.01/call"
provider: "Jina AI"
---

# Expand Query

Expand and rewrite search queries based on an up-to-date query expansion model. This tool takes an initial query and returns multiple expanded queries that can be used for more diversed and deeper searches. Useful for improving deep research results by searching broader and deeper.

**Provider:** Jina AI
**Price:** $0.01/call
**Pricing model:** Flat rate per call

## When to Use

Use this tool when you need to expand and rewrite search queries based on an up-to-date query expansion model. this tool takes an initial query and returns multiple expanded queries that can be used for more diversed and deeper searches. useful for improving deep research results by searching broader and deeper.. This is part of the Jina AI provider on xpay✦.

## MCP Connection

Connect to xpay✦ to access this tool (and 19+ others):

```json
{
  "mcpServers": {
    "xpay": {
      "url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
    }
  }
}
```

For Claude Code:
```bash
claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
```

## How to Execute

Use the xpay✦ meta-tools to run this tool:

1. **`xpay_details`** — Get full input schema: `xpay_details("jina/expand_query")`
2. **`xpay_run`** — Execute: `xpay_run("jina/expand_query", { ...inputs })`

## Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `query` | string | Yes | The search query to expand (e.g., 'machine learning', 'climate change') |

## Pricing

- **Cost:** $0.01/call
- **Balance check:** Use `xpay_balance` to check remaining credits
- Get your API key at [xpay.tools](https://xpay.tools/account/settings/api-keys/) — $5 free credits included

## Related Skills

- [Jina AI (all tools)](https://xpay.tools/skills/jina/SKILL.md) — 20 tools
- [Show Api Key](https://xpay.tools/skills/jina/show-api-key/SKILL.md) — $0.01/call
- [Primer](https://xpay.tools/skills/jina/primer/SKILL.md) — $0.01/call
- [Guess Datetime Url](https://xpay.tools/skills/jina/guess-datetime-url/SKILL.md) — $0.01/call
- [Capture Screenshot Url](https://xpay.tools/skills/jina/capture-screenshot-url/SKILL.md) — $0.01/call
- [Read Url](https://xpay.tools/skills/jina/read-url/SKILL.md) — $0.01/call

## Links

- Tool page: https://xpay.tools/jina/expand-query/
- Provider: https://xpay.tools/jina/
- All tools: https://xpay.tools/explore
