Data Sources
get_data_sourcesAsk where a person's records live, in one step. Renders the source picker card: every tool Spark knows in one searchable grid, grouped (online store or point of sale, marketplaces and wholesale, accounting, inventory system, warehouse or 3PL, purchasing, spreadsheets), each with what Spark brings in from it and its route, plus three answers that name no tool: somewhere the list does not show (saved by name), on paper or in their head, and starting fresh. The person ticks everything they use and saves once; the card calls save_data_sources itself and then asks for the coverage map. In a host without the card, offer picker's groups in one question and save every answer in one save_data_sources call. selectedTools, skippedTools and otherWays are what is saved now. needs lists each kind of record Spark needs to say what to order, when and from whom (sales history, two years or more is ideal; purchase history with suppliers, costs and lead times; current stock; products; bills of materials for an account that makes products) with why, its measured status and counts, the person's tools that may hold it, and other sources with their route (chat = start_integration_connect here, web = a Foundations link, migration, assisted = Spark's team sets it up, file = an import session) and next action. Once sources are saved, walk them one at a time with get_onboarding_state's connectQueue.next. When a source looks thin (sales history under two years, no supplier details), ask whether an older system or a spreadsheet holds more. coverage answers which chosen source brings in each kind the person's goals need (every kind when no goal is chosen): the best source and its route, a fallback, and the tools that hold it but Spark cannot import from. Optional kinds (what each item sells for) never block setup. Requires an operator (unpinned) credential.
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": "get_data_sources"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| needs | No | ||
| picker | No | ||
| summary | No | ||
| coverage | No | ||
| nextKind | No | ||
| otherWays | No | ||
| skippedTools | No | ||
| selectedTools | No | ||
| foundationsUrl | No |