Save Data Sources
save_data_sourcesSave the tools a person says hold their records (where they sell, keep stock, and buy) to their Foundations answers, the same list the Foundations page shows and edits. add/remove take tool names or catalog keys from get_data_sources (e.g. "Shopify", "qbo", "Excel"); a name Spark does not know is kept as the person's own tool. Only the tools list changes; the page's other answers are kept. remove overwrites an earlier answer, so remove only what the person said they no longer use. When the person says to skip a source for now ("not now", "skip QuickBooks"), pass it in skip: the connect queue stops presenting it and setup moves on; unskip puts it back. When they say what a tool holds, pass holds (tool name -> record kinds); for a kind Spark cannot import from that tool, Spark records an integration request its team reviews, and an export stays the way in. The onboarding intent's tool lists follow this list. Save everything the person picked in one call: add and remove both take whole lists. otherWays replaces the answers that name no tool: paper_or_memory (records on paper or in their head) and starting_fresh (no records yet); [] clears them. A tool the picker does not show goes in add by name. validateOnly=true previews without writing. Saving answers never connects anything or marks a step ready: readiness comes only from records Spark has measured. Requires an operator (unpinned) credential with write access.
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": "save_data_sources"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | Tools to add, by name or catalog key. Up to 64 in all. | |
| skip | No | Saved tools (or tools in add) the person wants to skip for now. The connect queue stops presenting them; they stay saved. | |
| holds | No | What a tool holds, by tool name (saved, or in add): record kinds from sales_history, purchase_orders, stock_on_hand, products. Each kind Spark cannot import from that tool is recorded as an integration request. | |
| remove | No | Tools to remove, by name or catalog key. Only what the person said they no longer use. | |
| unskip | No | Skipped tools to present in the connect queue again. | |
| otherWays | No | Answers that name no tool, replacing the saved ones: paper_or_memory, starting_fresh. [] clears them; omit to keep them. | |
| validateOnly | No | true = preview the resulting list without writing. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| added | No | ||
| saved | No | ||
| tools | No | ||
| removed | No | ||
| skipped | No | ||
| summary | No | ||
| otherWays | No | ||
| unskipped | No | ||
| skippedTools | No | ||
| unrecognized | No | ||
| validateOnly | No | ||
| intentChanged | No | ||
| plannedChannels | No | ||
| integrationRequests | No |