Prepare a business account application
prepare_business_accountPrefill the Nowacell business account (Konto firmowe, B2B prices) application for a company, on the user's behalf; the shop allows this. Fill in every field you already know about the user and their company (from the conversation or your memory of the user) and ask the user only for what is missing. Requires the tax ID (Polish NIP or EU VAT number); for a Polish NIP the shop fills the company name and address from the public VAT taxpayer register and prefers the register when it differs. The response lists missing_fields: ask the user and call again, or leave them for the user to type on the form. Returns a one-time continue_url (valid 24 h): the user reviews everything on one screen, sets their own password and presses one button; nothing is created before that, then the shop verifies the company. Pass cart_url (continue_url of create_cart) to have that cart ready after registration. Never ask the user for a password.
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": {
"nip": "<nip>"
},
"name": "prepare_business_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nip | Yes | Polish NIP (10 digits) or EU VAT number with country prefix, e.g. DE123456789 | |
| city | No | Billing city | |
| No | Contact e-mail (login of the account) | ||
| phone | No | Contact phone, e.g. +48 600 000 000 | |
| street | No | Billing street and number | |
| country | No | Billing country ISO code, default PL | PL |
| cart_url | No | Optional continue_url of a cart from create_cart | |
| last_name | No | Contact person last name | |
| first_name | No | Contact person first name | |
| postal_code | No | Billing postal code, e.g. 80-174 | |
| company_name | No | Company name as registered | |
| shipping_city | No | Delivery city | |
| shipping_phone | No | Delivery phone | |
| shipping_street | No | Delivery street and number | |
| shipping_company | No | Delivery company name | |
| shipping_country | No | Delivery country ISO code | |
| shipping_last_name | No | Delivery recipient last name | |
| shipping_first_name | No | Delivery recipient first name (only if delivery address differs) | |
| shipping_postal_code | No | Delivery postal code |