Cards By Goal
cards_by_goalReturn the cards on one SwitchWize goal page (cash-back, travel, no-annual-fee, zero-apr, building-credit, student, airline, hotel, store, no-foreign-transaction-fee, dining, groceries, gas) in the same order the page shows them, with how the list is chosen and how it is sorted.
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": {
"goal": "<goal>"
},
"name": "cards_by_goal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | ||
| limit | No | Default 10. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asOf | No | ISO timestamp of the underlying data this response reflects. | |
| goal | No | ||
| tool | Yes | ||
| cards | No | ||
| count | No | ||
| error | No | ||
| source | No | Where the data comes from (URL). | |
| pageUrl | No | ||
| sortedBy | No | ||
| toolMeta | No | Version and stability of the tool that produced this reply. See /developers#tool-versions. | |
| goalLabel | No | ||
| attribution | No | ||
| generatedAt | Yes | ISO timestamp this response was computed at. | |
| howWeChoose | No | ||
| verified_at | No | ||
| totalMatched | No | ||
| schemaVersion | Yes | ||
| availableGoals | No | ||
| methodologyUrl | No | ||
| freshnessStatus | No |