begin_agent_link
Start an AgentPay browser session for AI assistant purchases, returning an approval URL to open and poll for confirmation.
Instructions
Start AgentPay browser connect. Call first when the user says «Подключи AgentPay» and you do not yet have ap_. Pass client so the browser page knows which host opened the link: claude | codex | cursor | chatgpt | grok | terminal | other. No API key required. Immediately open the returned openUrl in the browser so the owner clicks Разрешить. Then poll with poll_agent_link. Never ask the owner to copy ap_ from the cabinet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client | No | MCP host: claude | codex | cursor | chatgpt | grok | terminal | other |