withdraw_cc

Withdraw Capability Credits from the platform to your Polygon wallet address. Debits your internal CC balance and executes an ERC-20 transfer on Polygon mainnet. Minimum 1 CC (10,000 cogs). Returns tx_hash and Polygonscan link.

SERVERAi Agent Bank SOURCEhttps://tdueqhfxyojmjgactdyc.supabase.co/functions/v1/mcp-server
Critical RISK CLASS
Category Financial
Parameters 43 required
Recommended Approval-gatedsee the rule below
Registry record Grade F, identity unverified Pull the record →

This record as markdown: /tools/io-github-wirternow-agent-bank/withdraw-cc.md

What withdraw_cc does on Ai Agent Bank

AI agents use withdraw_cc to commit financial operations through Ai Agent Bank, usually the final step of a payment, billing, or trading workflow. A call moves real money.

ParameterTypeRequiredDescription
api_key string Yes Your api_key
agent_id string Yes Your agent UUID
to_address string Polygon wallet address to send to (optional — defaults to your registered wallet)
cogs_amount number Yes Amount to withdraw in cogs (10,000 = 1 CC)

Parameters from the server's own tool schema.

Why withdraw_cc is rated Critical

This tool directly moves financial assets (Capability Credits denominated in cogs) from an internal platform balance to a user's blockchain wallet, executing an irreversible ERC-20 transfer on Polygon. This is a classic financial transaction that commits monetary value.

From the tool's definition Withdraw Capability Credits from the platform to your Polygon wallet address. Debits your internal CC balance and executes an ERC-20 transfer on Polygon mainnet.

Risk signalsHandles credentials or secrets (api_key)

Questions about withdraw_cc

What does the withdraw_cc tool do? +

Withdraw Capability Credits from the platform to your Polygon wallet address. Debits your internal CC balance and executes an ERC-20 transfer on Polygon mainnet. Minimum 1 CC (10,000 cogs). Returns tx_hash and Polygonscan link. It is categorised as a Financial tool in the Ai Agent Bank MCP Server, which means it involves financial transactions. Block by default and require explicit approval.

What parameters does withdraw_cc accept? +

withdraw_cc accepts 4 parameters: api_key, agent_id, to_address, cogs_amount. Required: api_key, agent_id, cogs_amount. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on withdraw_cc? +

Register the Ai Agent Bank MCP server in PolicyLayer and add a rule for withdraw_cc: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Ai Agent Bank. Nothing to install.

What risk level is withdraw_cc? +

withdraw_cc is a Financial tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.

Can I rate-limit withdraw_cc? +

Yes. Add a rate_limit block to the withdraw_cc rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block withdraw_cc completely? +

Set action: deny in the PolicyLayer policy for withdraw_cc. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides withdraw_cc? +

withdraw_cc is provided by the Ai Agent Bank MCP server (https://tdueqhfxyojmjgactdyc.supabase.co/functions/v1/mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on Ai Agent Bank, and thousands of servers like it.

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of Ai Agent Bank's. Pull the full record:

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.