bc_wizard_navigate
Advance, go back, finish, or cancel a Business Central wizard. Use after opening a modal wizard page to step through and complete multi-step setup wizards.
Instructions
Drive a Business Central NavigatePage / wizard by semantic step. Use after bc_open_page on a page whose response has isModal: true and pageType: "NavigatePage" (Continia activation wizards, BC setup wizards, request pages with multi-step layouts). The action argument is one of: "next" (advance), "back" (return to previous step), "finish" (complete the wizard), "cancel" (abort).
bc-mcp identifies the navigation buttons by the icon resource BC's own client uses (Actions/PreviousRecord, Actions/NextRecord, Actions/Approve), not by SystemAction or caption -- so localised wizards work without changes. The response surfaces fields visible on the new step, the remaining navigation options (availableNav), and a closed flag set when the wizard finished.
Typical workflow: bc_open_page (returns isModal=true, fields for step 0) -> bc_write_data (fill step 0 inputs) -> bc_wizard_navigate { action: "next" } -> bc_write_data (fill step 1) -> ... -> bc_wizard_navigate { action: "finish" }. The wizard closes itself on finish/cancel; the pageContextId becomes invalid afterwards.
Do NOT use this for non-wizard pages -- use bc_execute_action instead. Do NOT call "next" past the last step -- use "finish" once availableNav lists it.
Example: { "pageContextId": "abc", "action": "next" }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Wizard step navigation. "next" advances, "back" returns to previous step, "finish" completes the wizard, "cancel" aborts. | |
| pageContextId | Yes | Page context ID returned by bc_open_page for a NavigatePage / wizard. |