Try a feed's mapping before creating it
ledger_feeds_previewCall a connected server's tool once and see what a mapping would pull out of the response — nothing is written and no feed is created. Send no mapping for a first look: you get a sample of the response plus the paths that hold numbers. Then send a mapping to confirm it finds the readings you expect. Always do this before ledger_feeds_create; proposing a feed whose mapping you haven't seen work is how a metric fills up with the wrong number. May return needs_confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mapping | No | How to read the number. Omit on the first look. | |
| toolArgs | No | Arguments, exactly as the tool wants them. Use {{from}} / {{to}} (ISO instants) or {{date}} (YYYY-MM-DD) where a time range goes — those are substituted per run, and are what let one feed also backfill. | |
| toolName | Yes | The tool's own name on that server — NOT the ext__ namespaced form you call it by. | |
| workspace | No | Workspace slug. Omit to use the pinned workspace. | |
| approvalId | No | ||
| windowHours | No | How far back the preview's window reaches. Default 24. | |
| integrationId | Yes | From ledger_feed_sources_list. |