Tool Skill
Validate Code
validate_codeValidate code for security and syntax issues without executing it
$0.01/call
Flat rate
Code Runner
When to Use
Use this tool when you need to validate code for security and syntax issues without executing it. This is part of the Code Runner provider on xpay✦.
MCP Connection
Connect to xpay✦ to access this tool (and 3+ 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("code-runner/validate_code")xpay_run— Execute:xpay_run("code-runner/validate_code", { ...inputs })
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
language | string | Yes | Programming language |
code | string | Yes | Code to validate |
Pricing
- Cost: $0.01/call
- Balance check: Use
xpay_balanceto check remaining credits - Get your API key at xpay.tools — $5 free credits included
Related Skills
- Code Runner (all tools) — 4 tools
- Execute Code — $0.01/call
- Execute Code With Variables — $0.01/call
- Get Capabilities — $0.01/call
Links
- Tool page: https://xpay.tools/code-runner/validate-code/
- Provider: https://xpay.tools/code-runner/
- All tools: https://xpay.tools/explore
How to Execute
// 1. Get full schema
xpay_details("code-runner/validate_code")// 2. Execute
xpay_run("code-runner/validate_code", { ...inputs })Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
language | string | Yes | Programming language |
code | string | Yes | Code to validate |
Related Tools from Code Runner
Install Skill
Claude Code
claude /install-skill https://xpay.tools/skills/code-runner/validate-code/SKILL.md
CLI
npx @xpaysh/cli install code-runner/validate-code
Manual
curl -o SKILL.md https://xpay.tools/skills/code-runner/validate-code/SKILL.md
Pricing
Cost
$0.01/call
Model
Flat rate
Provider
Code Runner

