Update Onboarding Intent
update_onboarding_intentSet or update this tenant's onboarding INTENT — what they want from Spark: goals, the data they already hold, the sales channels/integrations they plan to use, and free import-scope notes. PATCH semantics: omit a field to leave it unchanged; pass a value (including an empty list) to replace it. Planned channels drive onboarding — a non-empty list makes the checklist expect a connect-a-channel step and readiness treat that as required; an empty list means no channel is planned and silences connect nudges. Set validateOnly=true to preview the resulting intent and which fields would change without writing. Tools Spark's catalog knows (Shopify, QuickBooks Online, Excel...) in dataSources or plannedChannels are saved to the person's Foundations tools, the list save_data_sources edits, and both lists are derived from that saved list: dataSources holds the tools that hold records and plannedChannels the sales channels Spark connects to, plus any free descriptions passed ("spreadsheets"). Passing a list never removes a saved tool; use save_data_sources remove for that. This edits intent DATA only — it never changes the setup profile, modules, or go-live, which stay human-confirmed in the Spark app. To record what the person wants Spark to do, use get_onboarding_goals and save_onboarding_goals (the goals card), not goals here.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "update_onboarding_intent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goals | No | Goal keys or titles from get_onboarding_goals (e.g. "forecasting"); anything else is refused. Prefer save_onboarding_goals, which also sets aside the goals not chosen. Omit to leave unchanged; pass [] to clear. | |
| notes | No | Free-text notes about import scope or caveats to remember. Omit to leave unchanged; pass an empty string to clear. | |
| dataSources | No | Data the tenant already holds and could import (e.g. "spreadsheets", "prior IMS export", "purchase history"). Catalog tools are saved to the Foundations tools; the list is those tools plus the other entries given. Omit to leave unchanged; [] clears only the entries that are not Foundations tools. | |
| validateOnly | No | true = validate and preview the resulting intent + which fields would change, WITHOUT writing. Recommended before the first real call. | |
| plannedChannels | No | Sales channels / integrations the tenant plans to use (e.g. "shopify", "amazon"). Catalog channels are saved to the Foundations tools, and the list always includes the saved sales channels. Omit to leave unchanged; [] clears the entries that are not Foundations tools, and means "no channel planned" only when no sales channel is saved (remove one with save_data_sources). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| intent | No | ||
| summary | No | ||
| toolsAdded | No | ||
| validateOnly | No | ||
| changedFields | No |