- Launch a read-only background task with a focused prompt and optional skill.
- Poll the task until it returns a
session_id. - Fetch the persisted tool trace for that session.
- Correlate the agent’s resource manifest with successful tool responses.
- Transform those responses into records for your index or data pipeline.
Available recipes
Sync Notion files
Discover Notion pages, child pages, databases, rows, and comments, then
build resource-centric JSON from the task trace.
Public cookbook source
View the reusable task runner, Notion exporter, tests, and full usage guide.
Adding another source
Future recipes can reuse the same background-task runner and replace only the exporter. A source-specific exporter should define:- the stable resource identifier used to deduplicate fetches;
- which tool response contains the canonical content;
- how nested resources refer to their parent;
- how pagination and retries appear in the trace; and
- which ambiguous calls should be reported instead of guessed.