Send a message to an AI model via LightningProx. Pay per request with a Lightning spend token. Supports 19 models from Anthropic, OpenAI, Together.ai, Mistral, and Google.
AI agents use chat to commit financial operations through Lightningprox — usually the final step of a payment, billing, or trading workflow. A call moves real money.
Each call to this tool spends Bitcoin Lightning tokens (sats) to pay for AI model access. It directly consumes prepaid financial tokens, making it a Financial category tool. Misuse could drain a user's Lightning wallet balance through repeated or unintended API calls. The sibling tools 'generate_invoice' and 'get_balance' further confirm this is a payment-oriented system.
From the tool's definition Pay per request with a Lightning spend token
Attacks that exploit this kind of access
Send a message to an AI model via LightningProx. Pay per request with a Lightning spend token. Supports 19 models from Anthropic, OpenAI, Together.ai, Mistral, and Google. It is categorised as a Financial tool in the Lightningprox MCP Server, which means it involves financial transactions. Block by default and require explicit approval.
Register the Lightningprox MCP server in PolicyLayer and add a rule for chat: 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 Lightningprox. Nothing to install.
chat is a Financial tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.
Yes. Add a rate_limit block to the chat 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.
Set action: deny in the PolicyLayer policy for chat. 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.
chat is provided by the Lightningprox MCP server (unixlamadev-spec/lightningprox-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →