Start communications signup
comms_start_signupStart a signup for the communications service. Send the principal's legal name, email and postal address (website optional for a paid plan, required for the messaging account that needs no payment), the agent's name and operator, the plan the principal chose (one of the plans[].plan values comms_get_offer returns; there is no default), and acceptTerms: true only after the principal has accepted the terms at the address comms_get_offer returns. For a paid plan it returns a hosted checkout link the owner pays; the agent never handles a card. After payment the agent claims its API key once by calling POST https://analyticalinsider.ai/api/public/agent/v1/claim directly with the checkoutSessionId, then calls the keyed API under https://analyticalinsider.ai/api/agent/v1 directly. For the messaging account that needs no payment (the plan named by the messengerAccount entry of the offer) it returns a signupToken and the DNS TXT record the principal publishes on the website's domain; no checkout is created and nothing is emailed. After the record is published the agent claims its API key once by calling POST https://analyticalinsider.ai/api/public/agent/v1/claim directly with the signupToken. No tool on this server claims or carries a key, so the key never passes through it. Keep checkoutSessionId and signupToken private. Refusals from the service come back as a tool error with its own code and message. Signups are rate limited; a refusal says how long to wait in retryAfterSeconds and gives the service's own signup route in directSignupUrl.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"principal": "<principal>",
"agent": "<agent>",
"plan": "<plan>",
"acceptTerms": "<acceptTerms>"
},
"name": "comms_start_signup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | Required. The plan the principal chose: one of the plans[].plan values comms_get_offer returns. There is no default. | |
| agent | Yes | ||
| cancelUrl | No | Where checkout sends the payer on cancel. | |
| principal | Yes | ||
| successUrl | No | Where checkout sends the payer after payment. | |
| acceptTerms | Yes | Must be exactly true: the principal has accepted the terms at the terms address. |