Zai Agent Chat
zai_agent_chatGeneral Translation API provides large model-based multilingual translation services, including general translation, paraphrase translation, two-step translation, and three-pass translation strategies. It supports automatic language detection, glossary customization, translation suggestions, and streaming output. Users only need to call the Translation API, input the text to be processed, specify the source language (auto-detection supported) and target language to receive high-quality translation results.
When to Use
Use this tool when you need to general translation api provides large model-based multilingual translation services, including general translation, paraphrase translation, two-step translation, and three-pass translation strategies. it supports automatic language detection, glossary customization, translation suggestions, and streaming output. users only need to call the translation api, input the text to be processed, specify the source language (auto-detection supported) and target language to receive high-quality translation results.. This is part of the Z.ai API provider on xpay✦.
MCP Connection
Connect to xpay✦ to access this tool (and 9+ others):
{
"mcpServers": {
"xpay": {
"url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
}
}
}
For Claude Code:
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:
xpay_details— Get full input schema:xpay_details("zai/zai_agent_chat")xpay_run— Execute:xpay_run("zai/zai_agent_chat", { ...inputs })
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
messages | array | Yes | Session message body. |
agent_id | string | Yes | Agent ID: general_translation. Available options: general_translation |
stream | boolean | No | False for sync calls (default). True for streaming. |
custom_variables | object | No |
Pricing
- Cost: $0.02/call
- Balance check: Use
xpay_balanceto check remaining credits - Get your API key at xpay.tools — $5 free credits included
Related Skills
- Z.ai API (all tools) — 10 tools
- Zai Generate Image — $0.02/call
- Zai Web Reader — $0.02/call
- Zai File Upload — $0.02/call
- Zai Chat Completion — $0.02/call
- Zai Retrieve Result — $0.01/call
Links
- Tool page: https://xpay.tools/zai/zai-agent-chat/
- Provider: https://xpay.tools/zai/
- All tools: https://xpay.tools/explore
How to Execute
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
messages | array | Yes | Session message body. |
agent_id | string | Yes | Agent ID: `general_translation`. Available options: `general_translation` |
stream | boolean | No | False for sync calls (default). True for streaming. |
custom_variables | object | No | - |
Install Skill
Pricing
Cost
$0.02/call
Model
Flat rate
Provider
Z.ai API

