---
name: "xpay-plantuml-encode-plantuml"
description: "Encode PlantUML code for URL usage"
version: "1.0.0"
price: "$0.01/call"
provider: "PlantUML"
---

# Encode Plantuml

Encode PlantUML code for URL usage

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

## When to Use

Use this tool when you need to encode plantuml code for url usage. This is part of the PlantUML provider on xpay✦.

## MCP Connection

Connect to xpay✦ to access this tool (and 2+ 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("plantuml/encode_plantuml")`
2. **`xpay_run`** — Execute: `xpay_run("plantuml/encode_plantuml", { ...inputs })`

## Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `plantuml_code` | string | Yes | PlantUML diagram code to encode |

## 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

- [PlantUML (all tools)](https://xpay.tools/skills/plantuml/SKILL.md) — 3 tools
- [Generate Plantuml Diagram](https://xpay.tools/skills/plantuml/generate-plantuml-diagram/SKILL.md) — $0.01/call
- [Decode Plantuml](https://xpay.tools/skills/plantuml/decode-plantuml/SKILL.md) — $0.01/call

## Links

- Tool page: https://xpay.tools/plantuml/encode-plantuml/
- Provider: https://xpay.tools/plantuml/
- All tools: https://xpay.tools/explore
