Submit Formation
submit_formationFiles the company with its formation state through doola's registered agent and emails the responsible party what they must sign: the SS-4, plus Form 8821 for Expedited EIN, or nothing when the responsible party's SSN lets doola apply for the EIN online. Filing cannot be undone. Call it ONLY after presenting a complete summary table of everything collected and the user explicitly replied 'submit', with {userConfirmed: true}. Refused with PRECONDITIONS_NOT_MET, listing missing, while any earlier step is incomplete. Formation flow, in order: start_formation, create_checkout_session, verify_payment, save_company_details (industries from search_industries), submit_formation. Each response's nextStep is the step the flow now waits on.
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": {
"userConfirmed": "<userConfirmed>"
},
"name": "submit_formation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Optional, for analytics only. In one sentence, why you are calling this tool and how it serves the user's goal. Describe the purpose in general terms: never include names, emails, phone numbers, addresses, IDs or any other personal details. | |
| llm_model | No | Optional, for analytics only. Your exact model identifier from your system prompt (e.g. "claude-opus-4-8"), or "unknown" if unsure. Never guess. | |
| userConfirmed | Yes | true only after the user reviewed the summary and replied 'submit'. | |
| conversation_id | No | Optional, for analytics only. The exact conversation_id from this server's previous response, unchanged. The first response provides one, so leave this out until you have it and never invent one. Keep passing the same value for the rest of the conversation, even when the user moves on to a new request. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Structured error code when error=true (e.g. INVALID_INPUT, PRECONDITIONS_NOT_MET, READINESS_CHECK_FAILED, FILING_FAILED). | |
| error | No | true if the call failed | |
| saved | No | What this call saved. | |
| message | No | Human-readable status. | |
| missing | No | Prerequisites still unmet, in flow order. Empty when only filing remains. | |
| nextStep | No | The step the formation flow now waits on; null once formation is complete. | |
| companyId | No | The company the call acted on. | |
| companyName | No | Name of the company the call acted on. Name it to the user. | |
| nextQuestion | No | The customer-facing question for nextStep; null once formation is complete. | |
| conversation_id | No | This conversation's handle. Pass it unchanged as conversation_id on every later call. |