@dxos/plugin-markdown 0.8.4-main.f5c0578 → 0.8.4-main.fcfe5033a5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/browser/MarkdownSettings-62YSRY7L.mjs +32 -0
- package/dist/lib/browser/MarkdownSettings-62YSRY7L.mjs.map +7 -0
- package/dist/lib/browser/blueprints/index.mjs +51 -0
- package/dist/lib/browser/blueprints/index.mjs.map +7 -0
- package/dist/lib/browser/chunk-4KOZEH2H.mjs +121 -0
- package/dist/lib/browser/chunk-4KOZEH2H.mjs.map +7 -0
- package/dist/lib/browser/chunk-J5LGTIGS.mjs +10 -0
- package/dist/lib/browser/chunk-J5LGTIGS.mjs.map +7 -0
- package/dist/lib/browser/chunk-QFPZONKP.mjs +158 -0
- package/dist/lib/browser/chunk-QFPZONKP.mjs.map +7 -0
- package/dist/lib/browser/cli/index.mjs +39 -0
- package/dist/lib/browser/cli/index.mjs.map +7 -0
- package/dist/lib/browser/create-YL5ELZWP.mjs +30 -0
- package/dist/lib/browser/create-YL5ELZWP.mjs.map +7 -0
- package/dist/lib/browser/create-markdown-LU5IDKMH.mjs +22 -0
- package/dist/lib/browser/create-markdown-LU5IDKMH.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +612 -138
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/open-AFSOZZ6G.mjs +21 -0
- package/dist/lib/browser/open-AFSOZZ6G.mjs.map +7 -0
- package/dist/lib/browser/operations/index.mjs +14 -0
- package/dist/lib/browser/operations/index.mjs.map +7 -0
- package/dist/lib/browser/scroll-to-anchor-IPXV32A6.mjs +49 -0
- package/dist/lib/browser/scroll-to-anchor-IPXV32A6.mjs.map +7 -0
- package/dist/lib/browser/set-view-mode-2QWB24RR.mjs +26 -0
- package/dist/lib/browser/set-view-mode-2QWB24RR.mjs.map +7 -0
- package/dist/lib/browser/types/index.mjs +11 -5
- package/dist/lib/browser/update-HZNVYBMO.mjs +45 -0
- package/dist/lib/browser/update-HZNVYBMO.mjs.map +7 -0
- package/dist/lib/node-esm/MarkdownSettings-QMPISOEU.mjs +33 -0
- package/dist/lib/node-esm/MarkdownSettings-QMPISOEU.mjs.map +7 -0
- package/dist/lib/node-esm/blueprints/index.mjs +52 -0
- package/dist/lib/node-esm/blueprints/index.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-3OPDJJJH.mjs +122 -0
- package/dist/lib/node-esm/chunk-3OPDJJJH.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-HSLMI22Q.mjs +11 -0
- package/dist/lib/node-esm/chunk-HSLMI22Q.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-JUGS6RKO.mjs +159 -0
- package/dist/lib/node-esm/chunk-JUGS6RKO.mjs.map +7 -0
- package/dist/lib/node-esm/cli/index.mjs +40 -0
- package/dist/lib/node-esm/cli/index.mjs.map +7 -0
- package/dist/lib/node-esm/create-SMQAIM3V.mjs +31 -0
- package/dist/lib/node-esm/create-SMQAIM3V.mjs.map +7 -0
- package/dist/lib/node-esm/create-markdown-X2OASYKG.mjs +23 -0
- package/dist/lib/node-esm/create-markdown-X2OASYKG.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +612 -138
- package/dist/lib/node-esm/index.mjs.map +4 -4
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/open-SRWLLOKE.mjs +22 -0
- package/dist/lib/node-esm/open-SRWLLOKE.mjs.map +7 -0
- package/dist/lib/node-esm/operations/index.mjs +15 -0
- package/dist/lib/node-esm/operations/index.mjs.map +7 -0
- package/dist/lib/node-esm/scroll-to-anchor-M76GXKYQ.mjs +50 -0
- package/dist/lib/node-esm/scroll-to-anchor-M76GXKYQ.mjs.map +7 -0
- package/dist/lib/node-esm/set-view-mode-6BB6KIDS.mjs +27 -0
- package/dist/lib/node-esm/set-view-mode-6BB6KIDS.mjs.map +7 -0
- package/dist/lib/node-esm/types/index.mjs +11 -5
- package/dist/lib/node-esm/update-4CELTLXK.mjs +46 -0
- package/dist/lib/node-esm/update-4CELTLXK.mjs.map +7 -0
- package/dist/types/src/MarkdownPlugin.d.ts +2 -1
- package/dist/types/src/MarkdownPlugin.d.ts.map +1 -1
- package/dist/types/src/blueprints/index.d.ts +2 -0
- package/dist/types/src/blueprints/index.d.ts.map +1 -0
- package/dist/types/src/blueprints/markdown-blueprint.d.ts +4 -0
- package/dist/types/src/blueprints/markdown-blueprint.d.ts.map +1 -0
- package/dist/types/src/capabilities/anchor-sort.d.ts +4 -4
- package/dist/types/src/capabilities/anchor-sort.d.ts.map +1 -1
- package/dist/types/src/capabilities/app-graph-serializer.d.ts +3 -2
- package/dist/types/src/capabilities/app-graph-serializer.d.ts.map +1 -1
- package/dist/types/src/capabilities/artifact-definition.d.ts +3 -9
- package/dist/types/src/capabilities/artifact-definition.d.ts.map +1 -1
- package/dist/types/src/capabilities/blueprint-definition.d.ts +6 -0
- package/dist/types/src/capabilities/blueprint-definition.d.ts.map +1 -0
- package/dist/types/src/capabilities/index.d.ts +9 -15
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/node.d.ts +4 -0
- package/dist/types/src/capabilities/node.d.ts.map +1 -0
- package/dist/types/src/capabilities/operation-handler.d.ts +6 -0
- package/dist/types/src/capabilities/operation-handler.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-surface.d.ts +3 -2
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/capabilities/settings.d.ts +4 -2
- package/dist/types/src/capabilities/settings.d.ts.map +1 -1
- package/dist/types/src/capabilities/state.d.ts +4 -9
- package/dist/types/src/capabilities/state.d.ts.map +1 -1
- package/dist/types/src/cli/index.d.ts +2 -0
- package/dist/types/src/cli/index.d.ts.map +1 -0
- package/dist/types/src/cli/plugin.d.ts +3 -0
- package/dist/types/src/cli/plugin.d.ts.map +1 -0
- package/dist/types/src/components/MarkdownEditor/FileUpload.d.ts +11 -0
- package/dist/types/src/components/MarkdownEditor/FileUpload.d.ts.map +1 -0
- package/dist/types/src/components/MarkdownEditor/MarkdownEditor.d.ts +44 -21
- package/dist/types/src/components/MarkdownEditor/MarkdownEditor.d.ts.map +1 -1
- package/dist/types/src/components/MarkdownEditor/MarkdownEditor.stories.d.ts +8 -15
- package/dist/types/src/components/MarkdownEditor/MarkdownEditor.stories.d.ts.map +1 -1
- package/dist/types/src/components/MarkdownEditor/MarkdownEditorContent.d.ts +32 -0
- package/dist/types/src/components/MarkdownEditor/MarkdownEditorContent.d.ts.map +1 -0
- package/dist/types/src/components/MarkdownEditor/MarkdownEditorToolbar.d.ts +13 -0
- package/dist/types/src/components/MarkdownEditor/MarkdownEditorToolbar.d.ts.map +1 -0
- package/dist/types/src/components/MarkdownSettings/MarkdownSettings.d.ts +4 -4
- package/dist/types/src/components/MarkdownSettings/MarkdownSettings.d.ts.map +1 -1
- package/dist/types/src/components/MarkdownSettings/MarkdownSettings.stories.d.ts +94 -0
- package/dist/types/src/components/MarkdownSettings/MarkdownSettings.stories.d.ts.map +1 -0
- package/dist/types/src/components/MarkdownSettings/index.d.ts +1 -1
- package/dist/types/src/components/MarkdownSettings/index.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +3 -3
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/containers/MarkdownCard/MarkdownCard.d.ts +8 -0
- package/dist/types/src/containers/MarkdownCard/MarkdownCard.d.ts.map +1 -0
- package/dist/types/src/containers/MarkdownCard/MarkdownCard.stories.d.ts +9 -0
- package/dist/types/src/containers/MarkdownCard/MarkdownCard.stories.d.ts.map +1 -0
- package/dist/types/src/containers/MarkdownCard/index.d.ts +2 -0
- package/dist/types/src/containers/MarkdownCard/index.d.ts.map +1 -0
- package/dist/types/src/containers/MarkdownCard/snippet.d.ts +17 -0
- package/dist/types/src/containers/MarkdownCard/snippet.d.ts.map +1 -0
- package/dist/types/src/containers/MarkdownContainer/MarkdownContainer.d.ts +36 -0
- package/dist/types/src/containers/MarkdownContainer/MarkdownContainer.d.ts.map +1 -0
- package/dist/types/src/containers/MarkdownContainer/MarkdownContainer.stories.d.ts +77 -0
- package/dist/types/src/containers/MarkdownContainer/MarkdownContainer.stories.d.ts.map +1 -0
- package/dist/types/src/containers/MarkdownContainer/index.d.ts +3 -0
- package/dist/types/src/containers/MarkdownContainer/index.d.ts.map +1 -0
- package/dist/types/src/containers/index.d.ts +5 -0
- package/dist/types/src/containers/index.d.ts.map +1 -0
- package/dist/types/src/hooks/index.d.ts +3 -1
- package/dist/types/src/hooks/index.d.ts.map +1 -1
- package/dist/types/src/hooks/useEditorMenuOptions.d.ts +9 -0
- package/dist/types/src/hooks/useEditorMenuOptions.d.ts.map +1 -0
- package/dist/types/src/hooks/useExtensions.d.ts +24 -0
- package/dist/types/src/hooks/useExtensions.d.ts.map +1 -0
- package/dist/types/src/hooks/useLinkQuery.d.ts +4 -0
- package/dist/types/src/hooks/useLinkQuery.d.ts.map +1 -0
- package/dist/types/src/index.d.ts +3 -2
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts +2 -3
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/operations/create-markdown.d.ts +5 -0
- package/dist/types/src/operations/create-markdown.d.ts.map +1 -0
- package/dist/types/src/operations/create.d.ts +5 -0
- package/dist/types/src/operations/create.d.ts.map +1 -0
- package/dist/types/src/operations/create.test.d.ts +2 -0
- package/dist/types/src/operations/create.test.d.ts.map +1 -0
- package/dist/types/src/operations/definitions.d.ts +64 -0
- package/dist/types/src/operations/definitions.d.ts.map +1 -0
- package/dist/types/src/operations/index.d.ts +4 -0
- package/dist/types/src/operations/index.d.ts.map +1 -0
- package/dist/types/src/operations/open.d.ts +5 -0
- package/dist/types/src/operations/open.d.ts.map +1 -0
- package/dist/types/src/operations/scroll-to-anchor.d.ts +5 -0
- package/dist/types/src/operations/scroll-to-anchor.d.ts.map +1 -0
- package/dist/types/src/operations/set-view-mode.d.ts +5 -0
- package/dist/types/src/operations/set-view-mode.d.ts.map +1 -0
- package/dist/types/src/operations/update.d.ts +5 -0
- package/dist/types/src/operations/update.d.ts.map +1 -0
- package/dist/types/src/operations/update.test.d.ts +2 -0
- package/dist/types/src/operations/update.test.d.ts.map +1 -0
- package/dist/types/src/testing.d.ts +6 -0
- package/dist/types/src/testing.d.ts.map +1 -0
- package/dist/types/src/translations.d.ts +53 -30
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/Markdown.d.ts +31 -30
- package/dist/types/src/types/Markdown.d.ts.map +1 -1
- package/dist/types/src/types/Settings.d.ts +17 -0
- package/dist/types/src/types/Settings.d.ts.map +1 -0
- package/dist/types/src/types/capabilities.d.ts +33 -0
- package/dist/types/src/types/capabilities.d.ts.map +1 -0
- package/dist/types/src/types/events.d.ts +5 -0
- package/dist/types/src/types/events.d.ts.map +1 -0
- package/dist/types/src/types/index.d.ts +4 -2
- package/dist/types/src/types/index.d.ts.map +1 -1
- package/dist/types/src/types/types.d.ts +2 -2
- package/dist/types/src/types/types.d.ts.map +1 -1
- package/dist/types/src/util.d.ts +7 -4
- package/dist/types/src/util.d.ts.map +1 -1
- package/dist/types/src/util.test.d.ts +2 -0
- package/dist/types/src/util.test.d.ts.map +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +122 -56
- package/src/MarkdownPlugin.tsx +89 -100
- package/src/blueprints/index.ts +5 -0
- package/src/blueprints/markdown-blueprint.ts +44 -0
- package/src/capabilities/anchor-sort.ts +29 -22
- package/src/capabilities/app-graph-serializer.ts +55 -44
- package/src/capabilities/artifact-definition.ts +86 -95
- package/src/capabilities/blueprint-definition.ts +17 -0
- package/src/capabilities/index.ts +12 -9
- package/src/capabilities/node.ts +11 -0
- package/src/capabilities/operation-handler.ts +16 -0
- package/src/capabilities/react-surface.tsx +110 -104
- package/src/capabilities/settings.ts +30 -18
- package/src/capabilities/state.ts +41 -25
- package/src/cli/index.ts +5 -0
- package/src/cli/plugin.ts +39 -0
- package/src/components/MarkdownEditor/FileUpload.tsx +63 -0
- package/src/components/MarkdownEditor/MarkdownEditor.stories.tsx +63 -38
- package/src/components/MarkdownEditor/MarkdownEditor.tsx +251 -267
- package/src/components/MarkdownEditor/MarkdownEditorContent.tsx +170 -0
- package/src/components/MarkdownEditor/MarkdownEditorToolbar.tsx +47 -0
- package/src/components/MarkdownSettings/MarkdownSettings.stories.tsx +39 -0
- package/src/components/MarkdownSettings/MarkdownSettings.tsx +22 -92
- package/src/components/MarkdownSettings/index.ts +1 -1
- package/src/components/index.ts +4 -5
- package/src/containers/MarkdownCard/MarkdownCard.stories.tsx +67 -0
- package/src/containers/MarkdownCard/MarkdownCard.tsx +68 -0
- package/src/containers/MarkdownCard/index.ts +5 -0
- package/src/containers/MarkdownCard/snippet.ts +52 -0
- package/src/containers/MarkdownContainer/MarkdownContainer.stories.tsx +135 -0
- package/src/containers/MarkdownContainer/MarkdownContainer.tsx +145 -0
- package/src/containers/MarkdownContainer/index.ts +6 -0
- package/src/containers/index.ts +10 -0
- package/src/hooks/index.ts +3 -1
- package/src/hooks/useEditorMenuOptions.ts +68 -0
- package/src/hooks/useExtensions.tsx +264 -0
- package/src/hooks/useLinkQuery.ts +108 -0
- package/src/index.ts +4 -2
- package/src/meta.ts +6 -9
- package/src/operations/create-markdown.ts +20 -0
- package/src/operations/create.conversations.json +1 -0
- package/src/operations/create.test.ts +98 -0
- package/src/operations/create.ts +27 -0
- package/src/operations/definitions.ts +120 -0
- package/src/operations/index.ts +16 -0
- package/src/operations/open.ts +25 -0
- package/src/operations/scroll-to-anchor.ts +39 -0
- package/src/operations/set-view-mode.ts +24 -0
- package/src/operations/update.conversations.json +1 -0
- package/src/operations/update.test.ts +215 -0
- package/src/operations/update.ts +51 -0
- package/src/testing.ts +27 -0
- package/src/translations.ts +26 -31
- package/src/types/Markdown.ts +26 -31
- package/src/types/Settings.ts +65 -0
- package/src/types/capabilities.ts +50 -0
- package/src/types/events.ts +14 -0
- package/src/types/index.ts +5 -2
- package/src/types/types.ts +4 -2
- package/src/util.test.ts +44 -0
- package/src/util.tsx +83 -8
- package/dist/lib/browser/MarkdownCard-IMCR4A4V.mjs +0 -80
- package/dist/lib/browser/MarkdownCard-IMCR4A4V.mjs.map +0 -7
- package/dist/lib/browser/MarkdownContainer-VGJPHMVG.mjs +0 -780
- package/dist/lib/browser/MarkdownContainer-VGJPHMVG.mjs.map +0 -7
- package/dist/lib/browser/anchor-sort-AJKRIWFD.mjs +0 -32
- package/dist/lib/browser/anchor-sort-AJKRIWFD.mjs.map +0 -7
- package/dist/lib/browser/app-graph-serializer-OIS3MZX2.mjs +0 -52
- package/dist/lib/browser/app-graph-serializer-OIS3MZX2.mjs.map +0 -7
- package/dist/lib/browser/chunk-IKPZHFTW.mjs +0 -30
- package/dist/lib/browser/chunk-IKPZHFTW.mjs.map +0 -7
- package/dist/lib/browser/chunk-JHH7VL52.mjs +0 -18
- package/dist/lib/browser/chunk-JHH7VL52.mjs.map +0 -7
- package/dist/lib/browser/chunk-JMBQG2ZC.mjs +0 -50
- package/dist/lib/browser/chunk-JMBQG2ZC.mjs.map +0 -7
- package/dist/lib/browser/chunk-JTIGSUMB.mjs +0 -80
- package/dist/lib/browser/chunk-JTIGSUMB.mjs.map +0 -7
- package/dist/lib/browser/chunk-LMJPXTPL.mjs +0 -16
- package/dist/lib/browser/chunk-LMJPXTPL.mjs.map +0 -7
- package/dist/lib/browser/chunk-MVL4K3OD.mjs +0 -52
- package/dist/lib/browser/chunk-MVL4K3OD.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-BLLHRSTQ.mjs +0 -60
- package/dist/lib/browser/intent-resolver-BLLHRSTQ.mjs.map +0 -7
- package/dist/lib/browser/react-surface-NL3BZR6H.mjs +0 -208
- package/dist/lib/browser/react-surface-NL3BZR6H.mjs.map +0 -7
- package/dist/lib/browser/settings-Z7ZV7SLC.mjs +0 -28
- package/dist/lib/browser/settings-Z7ZV7SLC.mjs.map +0 -7
- package/dist/lib/browser/state-ORTZIEJU.mjs +0 -37
- package/dist/lib/browser/state-ORTZIEJU.mjs.map +0 -7
- package/dist/lib/node-esm/MarkdownCard-JV2YDV3M.mjs +0 -81
- package/dist/lib/node-esm/MarkdownCard-JV2YDV3M.mjs.map +0 -7
- package/dist/lib/node-esm/MarkdownContainer-BJRNCXJZ.mjs +0 -781
- package/dist/lib/node-esm/MarkdownContainer-BJRNCXJZ.mjs.map +0 -7
- package/dist/lib/node-esm/anchor-sort-N7WEA5E3.mjs +0 -33
- package/dist/lib/node-esm/anchor-sort-N7WEA5E3.mjs.map +0 -7
- package/dist/lib/node-esm/app-graph-serializer-Q3B44VFB.mjs +0 -53
- package/dist/lib/node-esm/app-graph-serializer-Q3B44VFB.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-AYWAYBAY.mjs +0 -17
- package/dist/lib/node-esm/chunk-AYWAYBAY.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-H4I2FGDZ.mjs +0 -31
- package/dist/lib/node-esm/chunk-H4I2FGDZ.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-H6TITL7A.mjs +0 -20
- package/dist/lib/node-esm/chunk-H6TITL7A.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-JDMMLOB6.mjs +0 -51
- package/dist/lib/node-esm/chunk-JDMMLOB6.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-KIRZFVX5.mjs +0 -81
- package/dist/lib/node-esm/chunk-KIRZFVX5.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-Z4XQ6C3D.mjs +0 -53
- package/dist/lib/node-esm/chunk-Z4XQ6C3D.mjs.map +0 -7
- package/dist/lib/node-esm/intent-resolver-NHPUPSWK.mjs +0 -61
- package/dist/lib/node-esm/intent-resolver-NHPUPSWK.mjs.map +0 -7
- package/dist/lib/node-esm/react-surface-XJ6ODCBE.mjs +0 -209
- package/dist/lib/node-esm/react-surface-XJ6ODCBE.mjs.map +0 -7
- package/dist/lib/node-esm/settings-UCXEWBCT.mjs +0 -29
- package/dist/lib/node-esm/settings-UCXEWBCT.mjs.map +0 -7
- package/dist/lib/node-esm/state-47WSZG54.mjs +0 -38
- package/dist/lib/node-esm/state-47WSZG54.mjs.map +0 -7
- package/dist/types/src/capabilities/capabilities.d.ts +0 -12
- package/dist/types/src/capabilities/capabilities.d.ts.map +0 -1
- package/dist/types/src/capabilities/intent-resolver.d.ts +0 -4
- package/dist/types/src/capabilities/intent-resolver.d.ts.map +0 -1
- package/dist/types/src/components/MarkdownCard/MarkdownCard.d.ts +0 -7
- package/dist/types/src/components/MarkdownCard/MarkdownCard.d.ts.map +0 -1
- package/dist/types/src/components/MarkdownCard/MarkdownCard.stories.d.ts +0 -42
- package/dist/types/src/components/MarkdownCard/MarkdownCard.stories.d.ts.map +0 -1
- package/dist/types/src/components/MarkdownCard/index.d.ts +0 -4
- package/dist/types/src/components/MarkdownCard/index.d.ts.map +0 -1
- package/dist/types/src/components/MarkdownContainer.d.ts +0 -18
- package/dist/types/src/components/MarkdownContainer.d.ts.map +0 -1
- package/dist/types/src/components/MarkdownContainer.stories.d.ts +0 -9
- package/dist/types/src/components/MarkdownContainer.stories.d.ts.map +0 -1
- package/dist/types/src/components/Suggestions.stories.d.ts +0 -12
- package/dist/types/src/components/Suggestions.stories.d.ts.map +0 -1
- package/dist/types/src/components/Toolbar.stories.d.ts +0 -11
- package/dist/types/src/components/Toolbar.stories.d.ts.map +0 -1
- package/dist/types/src/events.d.ts +0 -4
- package/dist/types/src/events.d.ts.map +0 -1
- package/dist/types/src/extensions.d.ts +0 -24
- package/dist/types/src/extensions.d.ts.map +0 -1
- package/dist/types/src/hooks/useSelectCurrentThread.d.ts +0 -6
- package/dist/types/src/hooks/useSelectCurrentThread.d.ts.map +0 -1
- package/dist/types/src/types/MarkdownAction.d.ts +0 -42
- package/dist/types/src/types/MarkdownAction.d.ts.map +0 -1
- package/src/capabilities/capabilities.ts +0 -21
- package/src/capabilities/intent-resolver.ts +0 -58
- package/src/components/MarkdownCard/MarkdownCard.stories.tsx +0 -79
- package/src/components/MarkdownCard/MarkdownCard.tsx +0 -75
- package/src/components/MarkdownCard/index.ts +0 -9
- package/src/components/MarkdownContainer.stories.tsx +0 -100
- package/src/components/MarkdownContainer.tsx +0 -255
- package/src/components/Suggestions.stories.tsx +0 -221
- package/src/components/Toolbar.stories.tsx +0 -112
- package/src/events.ts +0 -11
- package/src/extensions.tsx +0 -328
- package/src/hooks/useSelectCurrentThread.tsx +0 -56
- package/src/types/MarkdownAction.ts +0 -31
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"conversations":[{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>","options":{}},{"role":"user","content":"Create a document with a cookie recipe.","options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01NFcmUTdmakQNeRreAE118q","modelId":"claude-opus-4-6","timestamp":"2026-03-31T10:32:09.391Z","metadata":{}},{"type":"reasoning-start","id":"0","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"The user wants me to create a document","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" with a cookie recipe. Let","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" me create","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" a nice","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" markdown","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" document with a classic","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" cookie recipe.","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{"anthropic":{"type":"thinking","signature":"Er0CClkIDBgCKkAy43GfB0+dbRMkfoVt2xpO0Chn5/g7c7dPprx3PV9+Z7iiBGhoRS54CpYtz+0wxdGKZKXYjkv0fAS94B7ulrYlMg9jbGF1ZGUtb3B1cy00LTY4ABIMLKDZ8kJB5u/BFo09GgySNpzchKzQPquo/PEiMAQ9YB5rX34SdrQN7ldQthbgePVbfYiVIHVB3pqLn7T011rFMJBbzwyWtidR837ZpyqRAawM5Osc8NqF5Nb/iXfmulGHUery8mtlkMKr7isKwEbHjaa2Z15b6EjYWOgJbmadcfNhiaqp13eGBFgZ1uucwwDSKx/SlZ1ZOi5EPpSUQ8E4ezUNjW9jkPnx43wGZoxtYz8QbwEBx75mzdWSRicDV7WsGmWHiD+Bqi1mjlBMnZRe4uwIb2XxTr618IPurs3LLlwYAQ=="}}},{"type":"reasoning-end","id":"0","metadata":{}},{"type":"tool-params-start","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"{\"name\":","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":" \"Classic","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":" Chocolat","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"e Chip Co","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"okies\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":", \"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"co","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"ntent\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":": \"# Cl","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"assic Choc","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"olate Chi","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"p ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"Cookies","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"\\n\\","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"nA","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":" timeles","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"s recipe f","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"or soft, c","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"hew","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"y cho","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"col","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"ate","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":" chip","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":" cooki","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"es tha","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"t are g","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"olden on ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"the ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"edges an","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"d go","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"oey in ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"the ce","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"nt","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"er.\\n\\n## ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"Ingredi","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"ents\\n\\n- ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"2 ¼ cups","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":" al","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"l-pur","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"pose flo","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"ur\\n- 1 tsp ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"baking","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":" soda","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"\\n-","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":" 1 ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"tsp salt\\","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"n- 1 cup ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"(2 stick","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"s) uns","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"alte","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"d butter, ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"softene","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"d\\n- ¾ c","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"up g","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"ranulate","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"d sugar","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"\\n- ¾ cup","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":" pa","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"cked brown","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":" su","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"ga","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"r\\","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"n- 2","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":" large ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"eggs\\n- 2 ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"tsp vanilla","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":" extrac","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"t\\n- 2","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":" cups semi-s","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"weet cho","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"colate chip","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"s\\n","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"\\n","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"## Instructi","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"on","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"s\\n\\n","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"1. ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"**Prehea","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"t** the","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":" oven to 37","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"5°F ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"(190°C). ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"Line bak","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"ing sheets ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"with","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":" parch","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"ment paper.","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"\\n2","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":". **Combi","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"ne dry ingr","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"edien","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"ts:** In ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"a me","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"dium bowl","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":", whisk to","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"get","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"her the","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":" flour","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":", baking sod","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"a, and","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":" salt.","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":" Set asid","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"e.\\n3.","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":" **Cream th","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"e b","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"utter and su","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"gars","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":":** In ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"a l","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"arg","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"e bowl, beat","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":" the s","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"oftened b","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"ut","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"ter, granu","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"lated ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"sugar, a","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"nd brown s","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"ugar togethe","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"r until li","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"ght and ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"fluffy (","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"about 2–3 ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"min","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"utes).\\n","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"4.","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":" **Add ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"eggs an","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"d ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"vani","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"lla:","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"** Beat in t","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"he eggs one","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":" at","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":" a ti","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"me, then m","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"ix in ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"the vanil","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"la extract u","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"ntil combine","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"d.\\n5.","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":" **Mix i","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"n dry i","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"ng","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"redie","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"nts:** Gra","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"duall","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"y add the fl","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"our mixture","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":" to the we","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"t ingredient","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"s, s","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"tirrin","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"g until","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":" just com","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"bi","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"ned","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":". Do ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"not ov","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"erm","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"ix.\\n6. ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"**Fol","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"d in choc","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"olate","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":" chips:** Ge","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"ntly s","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"tir in the","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":" chocola","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"te chip","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"s.\\","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"n7. **Scoo","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"p the dough:","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"**","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":" Drop ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"ro","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"unded ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"tablespoon","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"s of","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":" dou","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"gh ont","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"o the ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"prepa","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"red ba","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"king","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":" shee","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"ts, ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"spacing the","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"m about 2","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":" inc","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"hes apart.","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"\\n8. **Bake:","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"** Bake","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":" for 9–11 ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"minute","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"s, ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"or","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":" until ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"the edges ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"are gold","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"en brown bu","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"t the ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"centers s","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"till look sl","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"ightly und","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"er","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"done.\\n9. ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"**","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"Coo","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"l:** ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"Let ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"the c","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"ook","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"ies coo","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"l on the b","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"aki","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"ng s","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"heet f","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"or ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"5 minut","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"es, the","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"n t","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"ransfer to ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"a wi","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"re rack t","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"o ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"cool comple","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"tely.\\n\\n","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"## Tips\\","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"n\\","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"n- ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"For extr","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"a flav","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"or","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":", use ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"a mix","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":" of ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"semi-swee","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"t and d","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"ark chocol","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"ate chips.\\n","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"- Chill the","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":" dough","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":" for 30 ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"mi","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"nutes be","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"fore bakin","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"g for thic","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"ker cookie","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"s.\\n-","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":" Store in ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"an","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":" airtight ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"container a","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"t room tem","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"pera","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"ture for u","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"p to ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"5 days","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":".\\n\\n**","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"Yield:","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"** ~48 coo","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"kies ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"| **Pr","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"ep Time:*","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"* 15 min | *","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"*Bake Time","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":":*","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"* 1","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","delta":"0 min\\n\"}","metadata":{}},{"type":"tool-params-end","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":1593,"outputTokens":630,"totalTokens":2223},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1593,"output_tokens":8,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>","options":{}},{"role":"user","content":"Create a document with a cookie recipe.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The user wants me to create a document with a cookie recipe. Let me create a nice markdown document with a classic cookie recipe.","options":{}},{"type":"tool-call","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","params":{"name":"Classic Chocolate Chip Cookies","content":"# Classic Chocolate Chip Cookies\n\nA timeless recipe for soft, chewy chocolate chip cookies that are golden on the edges and gooey in the center.\n\n## Ingredients\n\n- 2 ¼ cups all-purpose flour\n- 1 tsp baking soda\n- 1 tsp salt\n- 1 cup (2 sticks) unsalted butter, softened\n- ¾ cup granulated sugar\n- ¾ cup packed brown sugar\n- 2 large eggs\n- 2 tsp vanilla extract\n- 2 cups semi-sweet chocolate chips\n\n## Instructions\n\n1. **Preheat** the oven to 375°F (190°C). Line baking sheets with parchment paper.\n2. **Combine dry ingredients:** In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.\n3. **Cream the butter and sugars:** In a large bowl, beat the softened butter, granulated sugar, and brown sugar together until light and fluffy (about 2–3 minutes).\n4. **Add eggs and vanilla:** Beat in the eggs one at a time, then mix in the vanilla extract until combined.\n5. **Mix in dry ingredients:** Gradually add the flour mixture to the wet ingredients, stirring until just combined. Do not overmix.\n6. **Fold in chocolate chips:** Gently stir in the chocolate chips.\n7. **Scoop the dough:** Drop rounded tablespoons of dough onto the prepared baking sheets, spacing them about 2 inches apart.\n8. **Bake:** Bake for 9–11 minutes, or until the edges are golden brown but the centers still look slightly underdone.\n9. **Cool:** Let the cookies cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.\n\n## Tips\n\n- For extra flavor, use a mix of semi-sweet and dark chocolate chips.\n- Chill the dough for 30 minutes before baking for thicker cookies.\n- Store in an airtight container at room temperature for up to 5 days.\n\n**Yield:** ~48 cookies | **Prep Time:** 15 min | **Bake Time:** 10 min\n"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"id":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNT94"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01JTkpDPeKkz8m7NWLWNDXXp","modelId":"claude-opus-4-6","timestamp":"2026-03-31T10:32:18.642Z","metadata":{}},{"type":"text-start","id":"0","metadata":{}},{"type":"text-delta","id":"0","delta":"Your","metadata":{}},{"type":"text-delta","id":"0","delta":" **","metadata":{}},{"type":"text-delta","id":"0","delta":"Classic Chocolate Chip Cookies**","metadata":{}},{"type":"text-delta","id":"0","delta":" recipe","metadata":{}},{"type":"text-delta","id":"0","delta":" document","metadata":{}},{"type":"text-delta","id":"0","delta":" has been created!","metadata":{}},{"type":"text-delta","id":"0","delta":" 🍪 ","metadata":{}},{"type":"text-delta","id":"0","delta":"Here","metadata":{}},{"type":"text-delta","id":"0","delta":"'s a summary of what","metadata":{}},{"type":"text-delta","id":"0","delta":"'s included","metadata":{}},{"type":"text-delta","id":"0","delta":":\n\n-","metadata":{}},{"type":"text-delta","id":"0","delta":" **Ingredients**","metadata":{}},{"type":"text-delta","id":"0","delta":" –","metadata":{}},{"type":"text-delta","id":"0","delta":" butter","metadata":{}},{"type":"text-delta","id":"0","delta":", sug","metadata":{}},{"type":"text-delta","id":"0","delta":"ars, eggs, vanilla, flour,","metadata":{}},{"type":"text-delta","id":"0","delta":" baking soda, salt, and","metadata":{}},{"type":"text-delta","id":"0","delta":" chocolate chips.","metadata":{}},{"type":"text-delta","id":"0","delta":"\n- **Step","metadata":{}},{"type":"text-delta","id":"0","delta":"-by-step instructions** – from","metadata":{}},{"type":"text-delta","id":"0","delta":" pre","metadata":{}},{"type":"text-delta","id":"0","delta":"heating the oven to cooling the","metadata":{}},{"type":"text-delta","id":"0","delta":" cookies.\n- **","metadata":{}},{"type":"text-delta","id":"0","delta":"Helpful tips** – like","metadata":{}},{"type":"text-delta","id":"0","delta":" chilling the dough for th","metadata":{}},{"type":"text-delta","id":"0","delta":"icker cookies and mixing","metadata":{}},{"type":"text-delta","id":"0","delta":" chocolate","metadata":{}},{"type":"text-delta","id":"0","delta":" chip","metadata":{}},{"type":"text-delta","id":"0","delta":" varieties","metadata":{}},{"type":"text-delta","id":"0","delta":" for","metadata":{}},{"type":"text-delta","id":"0","delta":" extra flavor.","metadata":{}},{"type":"text-delta","id":"0","delta":"\n- **Yield:**","metadata":{}},{"type":"text-delta","id":"0","delta":" ~","metadata":{}},{"type":"text-delta","id":"0","delta":"48 cookies with","metadata":{}},{"type":"text-delta","id":"0","delta":" just","metadata":{}},{"type":"text-delta","id":"0","delta":" ","metadata":{}},{"type":"text-delta","id":"0","delta":"15 minutes of prep and","metadata":{}},{"type":"text-delta","id":"0","delta":" 10 minutes of baking time","metadata":{}},{"type":"text-delta","id":"0","delta":".\n\nLet","metadata":{}},{"type":"text-delta","id":"0","delta":" me know if you'd like to","metadata":{}},{"type":"text-delta","id":"0","delta":" make","metadata":{}},{"type":"text-delta","id":"0","delta":" any changes or","metadata":{}},{"type":"text-delta","id":"0","delta":" additions","metadata":{}},{"type":"text-delta","id":"0","delta":"!","metadata":{}},{"type":"text-end","id":"0","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":2244,"outputTokens":155,"totalTokens":2399},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2244,"output_tokens":1,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>","options":{}},{"role":"user","content":"Create a document with a cookie recipe.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The user wants me to create a document with a cookie recipe. Let me create a nice markdown document with a classic cookie recipe.","options":{}},{"type":"tool-call","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","params":{"name":"Classic Chocolate Chip Cookies","content":"# Classic Chocolate Chip Cookies\n\nA timeless recipe for soft, chewy chocolate chip cookies that are golden on the edges and gooey in the center.\n\n## Ingredients\n\n- 2 ¼ cups all-purpose flour\n- 1 tsp baking soda\n- 1 tsp salt\n- 1 cup (2 sticks) unsalted butter, softened\n- ¾ cup granulated sugar\n- ¾ cup packed brown sugar\n- 2 large eggs\n- 2 tsp vanilla extract\n- 2 cups semi-sweet chocolate chips\n\n## Instructions\n\n1. **Preheat** the oven to 375°F (190°C). Line baking sheets with parchment paper.\n2. **Combine dry ingredients:** In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.\n3. **Cream the butter and sugars:** In a large bowl, beat the softened butter, granulated sugar, and brown sugar together until light and fluffy (about 2–3 minutes).\n4. **Add eggs and vanilla:** Beat in the eggs one at a time, then mix in the vanilla extract until combined.\n5. **Mix in dry ingredients:** Gradually add the flour mixture to the wet ingredients, stirring until just combined. Do not overmix.\n6. **Fold in chocolate chips:** Gently stir in the chocolate chips.\n7. **Scoop the dough:** Drop rounded tablespoons of dough onto the prepared baking sheets, spacing them about 2 inches apart.\n8. **Bake:** Bake for 9–11 minutes, or until the edges are golden brown but the centers still look slightly underdone.\n9. **Cool:** Let the cookies cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.\n\n## Tips\n\n- For extra flavor, use a mix of semi-sweet and dark chocolate chips.\n- Chill the dough for 30 minutes before baking for thicker cookies.\n- Store in an airtight container at room temperature for up to 5 days.\n\n**Yield:** ~48 cookies | **Prep Time:** 15 min | **Bake Time:** 10 min\n"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"id":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNT94"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Your **Classic Chocolate Chip Cookies** recipe document has been created! 🍪 Here's a summary of what's included:\n\n- **Ingredients** – butter, sugars, eggs, vanilla, flour, baking soda, salt, and chocolate chips.\n- **Step-by-step instructions** – from preheating the oven to cooling the cookies.\n- **Helpful tips** – like chilling the dough for thicker cookies and mixing chocolate chip varieties for extra flavor.\n- **Yield:** ~48 cookies with just 15 minutes of prep and 10 minutes of baking time.\n\nLet me know if you'd like to make any changes or additions!","options":{}},{"role":"user","content":"Add a section with a holiday-themed variation.","options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01VdNZSJnjndkiUvqbjTc3WC","modelId":"claude-opus-4-6","timestamp":"2026-03-31T10:32:23.056Z","metadata":{}},{"type":"reasoning-start","id":"0","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"Let","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" me open","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" the document first","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" to see its","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" current content, then add a holiday-","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"themed variation","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" section.","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{"anthropic":{"type":"thinking","signature":"EqICClkIDBgCKkD+c6uaQ2PKXUtIbfcFxlc1mtfbvHp/xoYQaTGybeAAxzGv6qA8hPtrko0AUkKF4bkEOO0Xi1wxOX3IjFEEIG03Mg9jbGF1ZGUtb3B1cy00LTY4ABIMkAgk5UNzmIT+Ej3LGgwcOLdirz/qPmIg/A0iMCnqkhXGutc5Wh2wULLB+N3mboVMsG0N4mVV+GuDOOD+EqZQFHoBIY6m0NfUpyRZFCp3xwiL4C4NP6aRfqEOJGWgwRXjTdOOtEiDYTrnuwi9nouVd+toTCHUJ70Fp63CWaCQuN4F4hMDBHO1S+vlU689dn1XHqIdsUfnqGC07kUOyz4zzqHq+E/Mq4Jd0zsajabf+fkZrfMUZKbjorxo88cx3en7O5bCCqAYAQ=="}}},{"type":"reasoning-end","id":"0","metadata":{}},{"type":"tool-params-start","id":"toolu_01S9UztpB27wj35rgMNnDXij","name":"open","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_01S9UztpB27wj35rgMNnDXij","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01S9UztpB27wj35rgMNnDXij","delta":"{\"doc\":","metadata":{}},{"type":"tool-params-delta","id":"toolu_01S9UztpB27wj35rgMNnDXij","delta":" \"dxn:ech","metadata":{}},{"type":"tool-params-delta","id":"toolu_01S9UztpB27wj35rgMNnDXij","delta":"o:BDJXMULPW5","metadata":{}},{"type":"tool-params-delta","id":"toolu_01S9UztpB27wj35rgMNnDXij","delta":"FB55U","metadata":{}},{"type":"tool-params-delta","id":"toolu_01S9UztpB27wj35rgMNnDXij","delta":"Z7KP5HL","metadata":{}},{"type":"tool-params-delta","id":"toolu_01S9UztpB27wj35rgMNnDXij","delta":"DHVTX","metadata":{}},{"type":"tool-params-delta","id":"toolu_01S9UztpB27wj35rgMNnDXij","delta":"UTHE2U:01J","metadata":{}},{"type":"tool-params-delta","id":"toolu_01S9UztpB27wj35rgMNnDXij","delta":"GFJJZ0","metadata":{}},{"type":"tool-params-delta","id":"toolu_01S9UztpB27wj35rgMNnDXij","delta":"0G0W","metadata":{}},{"type":"tool-params-delta","id":"toolu_01S9UztpB27wj35rgMNnDXij","delta":"KQSJGMAKCNT","metadata":{}},{"type":"tool-params-delta","id":"toolu_01S9UztpB27wj35rgMNnDXij","delta":"94\"}","metadata":{}},{"type":"tool-params-end","id":"toolu_01S9UztpB27wj35rgMNnDXij","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":2441,"outputTokens":133,"totalTokens":2574},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2441,"output_tokens":1,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>","options":{}},{"role":"user","content":"Create a document with a cookie recipe.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The user wants me to create a document with a cookie recipe. Let me create a nice markdown document with a classic cookie recipe.","options":{}},{"type":"tool-call","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","params":{"name":"Classic Chocolate Chip Cookies","content":"# Classic Chocolate Chip Cookies\n\nA timeless recipe for soft, chewy chocolate chip cookies that are golden on the edges and gooey in the center.\n\n## Ingredients\n\n- 2 ¼ cups all-purpose flour\n- 1 tsp baking soda\n- 1 tsp salt\n- 1 cup (2 sticks) unsalted butter, softened\n- ¾ cup granulated sugar\n- ¾ cup packed brown sugar\n- 2 large eggs\n- 2 tsp vanilla extract\n- 2 cups semi-sweet chocolate chips\n\n## Instructions\n\n1. **Preheat** the oven to 375°F (190°C). Line baking sheets with parchment paper.\n2. **Combine dry ingredients:** In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.\n3. **Cream the butter and sugars:** In a large bowl, beat the softened butter, granulated sugar, and brown sugar together until light and fluffy (about 2–3 minutes).\n4. **Add eggs and vanilla:** Beat in the eggs one at a time, then mix in the vanilla extract until combined.\n5. **Mix in dry ingredients:** Gradually add the flour mixture to the wet ingredients, stirring until just combined. Do not overmix.\n6. **Fold in chocolate chips:** Gently stir in the chocolate chips.\n7. **Scoop the dough:** Drop rounded tablespoons of dough onto the prepared baking sheets, spacing them about 2 inches apart.\n8. **Bake:** Bake for 9–11 minutes, or until the edges are golden brown but the centers still look slightly underdone.\n9. **Cool:** Let the cookies cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.\n\n## Tips\n\n- For extra flavor, use a mix of semi-sweet and dark chocolate chips.\n- Chill the dough for 30 minutes before baking for thicker cookies.\n- Store in an airtight container at room temperature for up to 5 days.\n\n**Yield:** ~48 cookies | **Prep Time:** 15 min | **Bake Time:** 10 min\n"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"id":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNT94"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Your **Classic Chocolate Chip Cookies** recipe document has been created! 🍪 Here's a summary of what's included:\n\n- **Ingredients** – butter, sugars, eggs, vanilla, flour, baking soda, salt, and chocolate chips.\n- **Step-by-step instructions** – from preheating the oven to cooling the cookies.\n- **Helpful tips** – like chilling the dough for thicker cookies and mixing chocolate chip varieties for extra flavor.\n- **Yield:** ~48 cookies with just 15 minutes of prep and 10 minutes of baking time.\n\nLet me know if you'd like to make any changes or additions!","options":{}},{"role":"user","content":"Add a section with a holiday-themed variation.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me open the document first to see its current content, then add a holiday-themed variation section.","options":{}},{"type":"tool-call","id":"toolu_01S9UztpB27wj35rgMNnDXij","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNT94"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01S9UztpB27wj35rgMNnDXij","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Classic Chocolate Chip Cookies\n\nA timeless recipe for soft, chewy chocolate chip cookies that are golden on the edges and gooey in the center.\n\n## Ingredients\n\n- 2 ¼ cups all-purpose flour\n- 1 tsp baking soda\n- 1 tsp salt\n- 1 cup (2 sticks) unsalted butter, softened\n- ¾ cup granulated sugar\n- ¾ cup packed brown sugar\n- 2 large eggs\n- 2 tsp vanilla extract\n- 2 cups semi-sweet chocolate chips\n\n## Instructions\n\n1. **Preheat** the oven to 375°F (190°C). Line baking sheets with parchment paper.\n2. **Combine dry ingredients:** In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.\n3. **Cream the butter and sugars:** In a large bowl, beat the softened butter, granulated sugar, and brown sugar together until light and fluffy (about 2–3 minutes).\n4. **Add eggs and vanilla:** Beat in the eggs one at a time, then mix in the vanilla extract until combined.\n5. **Mix in dry ingredients:** Gradually add the flour mixture to the wet ingredients, stirring until just combined. Do not overmix.\n6. **Fold in chocolate chips:** Gently stir in the chocolate chips.\n7. **Scoop the dough:** Drop rounded tablespoons of dough onto the prepared baking sheets, spacing them about 2 inches apart.\n8. **Bake:** Bake for 9–11 minutes, or until the edges are golden brown but the centers still look slightly underdone.\n9. **Cool:** Let the cookies cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.\n\n## Tips\n\n- For extra flavor, use a mix of semi-sweet and dark chocolate chips.\n- Chill the dough for 30 minutes before baking for thicker cookies.\n- Store in an airtight container at room temperature for up to 5 days.\n\n**Yield:** ~48 cookies | **Prep Time:** 15 min | **Bake Time:** 10 min\n"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01QhSv86sUSVNhtkaxqyJFYv","modelId":"claude-opus-4-6","timestamp":"2026-03-31T10:32:26.297Z","metadata":{}},{"type":"tool-params-start","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","name":"update","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"{\"doc\": \"dx","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"n:echo:BDJX","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"MULP","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"W5F","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"B55","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"UZ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"7KP5","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"HL","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"DHVTXUTH","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"E2U:01JG","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"FJJZ00G0WKQS","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"JG","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"MAKCNT94\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":", \"edits\": [","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"{\"oldString\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":":\"## ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"Tips\",\"newSt","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"rin","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"g\":\"## Holi","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"day Va","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"riati","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"on: Pe","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"ppermi","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"nt Whi","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"te ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"Choco","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"late Cookie","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"s 🎄\\n\\nGive ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"th","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"ese cooki","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"es a fe","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"stive twist ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"perfect for","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":" the holida","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"y season!\\n\\","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"n### Ingredi","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"ent Sw","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"aps\\n\\n- ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"Repl","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"ace s","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"emi-","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"sw","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"eet chocolat","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"e ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"chips with","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":" **2 cups ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"white ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"choc","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"olate ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"chips*","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"*.\\n-","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":" Add *","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"*½ cup","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":" cru","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"shed ca","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"nd","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"y cane","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"s**","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":" (a","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"bout 6–","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"8 m","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"ini ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"candy cane","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"s).\\n-","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":" Subs","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"titute va","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"nilla ext","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"ract with *","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"*1 tsp va","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"ni","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"lla extr","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"act +","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":" 1 tsp peppe","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"rmint e","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"xt","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"ract**.\\n\\n#","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"## Addition","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"al Steps\\","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"n\\n- ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"Fold in th","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"e white ch","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"ocola","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"te chips ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"and c","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"rushed","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":" candy cane","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"s together i","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"n Step 6.\\","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"n- Aft","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"er co","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"oling","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":", optionall","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"y drizzle me","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"lte","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"d white choc","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"olate o","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"ver the t","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"ops","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":" and spr","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"ink","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"le ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"with extr","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"a crush","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"ed candy ca","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"ne ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"pie","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"ces ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"for a b","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"eautiful ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"holida","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"y presen","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"tation.\\n","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"\\n###","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":" Decoratio","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"n Idea\\n\\nFo","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"r a co","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"okie pl","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"atte","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"r, use","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":" red and","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":" green spri","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"nkles","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":" on to","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"p of e","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"ach c","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"ookie bef","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"or","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"e baking. ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"They m","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"ake a wo","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"nderf","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"ul homem","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"ade ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"gift ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"when pa","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"ckaged i","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"n a","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":" f","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"estive ti","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"n ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"or cellophan","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"e bag ti","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"ed with","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":" r","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"ibbon! 🎁","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"\\n\\n## Tips\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","delta":"}]}","metadata":{}},{"type":"tool-params-end","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":3100,"outputTokens":388,"totalTokens":3488},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":3100,"output_tokens":24,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>","options":{}},{"role":"user","content":"Create a document with a cookie recipe.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The user wants me to create a document with a cookie recipe. Let me create a nice markdown document with a classic cookie recipe.","options":{}},{"type":"tool-call","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","params":{"name":"Classic Chocolate Chip Cookies","content":"# Classic Chocolate Chip Cookies\n\nA timeless recipe for soft, chewy chocolate chip cookies that are golden on the edges and gooey in the center.\n\n## Ingredients\n\n- 2 ¼ cups all-purpose flour\n- 1 tsp baking soda\n- 1 tsp salt\n- 1 cup (2 sticks) unsalted butter, softened\n- ¾ cup granulated sugar\n- ¾ cup packed brown sugar\n- 2 large eggs\n- 2 tsp vanilla extract\n- 2 cups semi-sweet chocolate chips\n\n## Instructions\n\n1. **Preheat** the oven to 375°F (190°C). Line baking sheets with parchment paper.\n2. **Combine dry ingredients:** In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.\n3. **Cream the butter and sugars:** In a large bowl, beat the softened butter, granulated sugar, and brown sugar together until light and fluffy (about 2–3 minutes).\n4. **Add eggs and vanilla:** Beat in the eggs one at a time, then mix in the vanilla extract until combined.\n5. **Mix in dry ingredients:** Gradually add the flour mixture to the wet ingredients, stirring until just combined. Do not overmix.\n6. **Fold in chocolate chips:** Gently stir in the chocolate chips.\n7. **Scoop the dough:** Drop rounded tablespoons of dough onto the prepared baking sheets, spacing them about 2 inches apart.\n8. **Bake:** Bake for 9–11 minutes, or until the edges are golden brown but the centers still look slightly underdone.\n9. **Cool:** Let the cookies cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.\n\n## Tips\n\n- For extra flavor, use a mix of semi-sweet and dark chocolate chips.\n- Chill the dough for 30 minutes before baking for thicker cookies.\n- Store in an airtight container at room temperature for up to 5 days.\n\n**Yield:** ~48 cookies | **Prep Time:** 15 min | **Bake Time:** 10 min\n"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"id":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNT94"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Your **Classic Chocolate Chip Cookies** recipe document has been created! 🍪 Here's a summary of what's included:\n\n- **Ingredients** – butter, sugars, eggs, vanilla, flour, baking soda, salt, and chocolate chips.\n- **Step-by-step instructions** – from preheating the oven to cooling the cookies.\n- **Helpful tips** – like chilling the dough for thicker cookies and mixing chocolate chip varieties for extra flavor.\n- **Yield:** ~48 cookies with just 15 minutes of prep and 10 minutes of baking time.\n\nLet me know if you'd like to make any changes or additions!","options":{}},{"role":"user","content":"Add a section with a holiday-themed variation.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me open the document first to see its current content, then add a holiday-themed variation section.","options":{}},{"type":"tool-call","id":"toolu_01S9UztpB27wj35rgMNnDXij","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNT94"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01S9UztpB27wj35rgMNnDXij","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Classic Chocolate Chip Cookies\n\nA timeless recipe for soft, chewy chocolate chip cookies that are golden on the edges and gooey in the center.\n\n## Ingredients\n\n- 2 ¼ cups all-purpose flour\n- 1 tsp baking soda\n- 1 tsp salt\n- 1 cup (2 sticks) unsalted butter, softened\n- ¾ cup granulated sugar\n- ¾ cup packed brown sugar\n- 2 large eggs\n- 2 tsp vanilla extract\n- 2 cups semi-sweet chocolate chips\n\n## Instructions\n\n1. **Preheat** the oven to 375°F (190°C). Line baking sheets with parchment paper.\n2. **Combine dry ingredients:** In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.\n3. **Cream the butter and sugars:** In a large bowl, beat the softened butter, granulated sugar, and brown sugar together until light and fluffy (about 2–3 minutes).\n4. **Add eggs and vanilla:** Beat in the eggs one at a time, then mix in the vanilla extract until combined.\n5. **Mix in dry ingredients:** Gradually add the flour mixture to the wet ingredients, stirring until just combined. Do not overmix.\n6. **Fold in chocolate chips:** Gently stir in the chocolate chips.\n7. **Scoop the dough:** Drop rounded tablespoons of dough onto the prepared baking sheets, spacing them about 2 inches apart.\n8. **Bake:** Bake for 9–11 minutes, or until the edges are golden brown but the centers still look slightly underdone.\n9. **Cool:** Let the cookies cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.\n\n## Tips\n\n- For extra flavor, use a mix of semi-sweet and dark chocolate chips.\n- Chill the dough for 30 minutes before baking for thicker cookies.\n- Store in an airtight container at room temperature for up to 5 days.\n\n**Yield:** ~48 cookies | **Prep Time:** 15 min | **Bake Time:** 10 min\n"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"tool-call","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNT94","edits":[{"oldString":"## Tips","newString":"## Holiday Variation: Peppermint White Chocolate Cookies 🎄\n\nGive these cookies a festive twist perfect for the holiday season!\n\n### Ingredient Swaps\n\n- Replace semi-sweet chocolate chips with **2 cups white chocolate chips**.\n- Add **½ cup crushed candy canes** (about 6–8 mini candy canes).\n- Substitute vanilla extract with **1 tsp vanilla extract + 1 tsp peppermint extract**.\n\n### Additional Steps\n\n- Fold in the white chocolate chips and crushed candy canes together in Step 6.\n- After cooling, optionally drizzle melted white chocolate over the tops and sprinkle with extra crushed candy cane pieces for a beautiful holiday presentation.\n\n### Decoration Idea\n\nFor a cookie platter, use red and green sprinkles on top of each cookie before baking. They make a wonderful homemade gift when packaged in a festive tin or cellophane bag tied with ribbon! 🎁\n\n## Tips"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01EqsvBZk68fo8BbxKAhi51T","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Classic Chocolate Chip Cookies\n\nA timeless recipe for soft, chewy chocolate chip cookies that are golden on the edges and gooey in the center.\n\n## Ingredients\n\n- 2 ¼ cups all-purpose flour\n- 1 tsp baking soda\n- 1 tsp salt\n- 1 cup (2 sticks) unsalted butter, softened\n- ¾ cup granulated sugar\n- ¾ cup packed brown sugar\n- 2 large eggs\n- 2 tsp vanilla extract\n- 2 cups semi-sweet chocolate chips\n\n## Instructions\n\n1. **Preheat** the oven to 375°F (190°C). Line baking sheets with parchment paper.\n2. **Combine dry ingredients:** In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.\n3. **Cream the butter and sugars:** In a large bowl, beat the softened butter, granulated sugar, and brown sugar together until light and fluffy (about 2–3 minutes).\n4. **Add eggs and vanilla:** Beat in the eggs one at a time, then mix in the vanilla extract until combined.\n5. **Mix in dry ingredients:** Gradually add the flour mixture to the wet ingredients, stirring until just combined. Do not overmix.\n6. **Fold in chocolate chips:** Gently stir in the chocolate chips.\n7. **Scoop the dough:** Drop rounded tablespoons of dough onto the prepared baking sheets, spacing them about 2 inches apart.\n8. **Bake:** Bake for 9–11 minutes, or until the edges are golden brown but the centers still look slightly underdone.\n9. **Cool:** Let the cookies cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.\n\n## Holiday Variation: Peppermint White Chocolate Cookies 🎄\n\nGive these cookies a festive twist perfect for the holiday season!\n\n### Ingredient Swaps\n\n- Replace semi-sweet chocolate chips with **2 cups white chocolate chips**.\n- Add **½ cup crushed candy canes** (about 6–8 mini candy canes).\n- Substitute vanilla extract with **1 tsp vanilla extract + 1 tsp peppermint extract**.\n\n### Additional Steps\n\n- Fold in the white chocolate chips and crushed candy canes together in Step 6.\n- After cooling, optionally drizzle melted white chocolate over the tops and sprinkle with extra crushed candy cane pieces for a beautiful holiday presentation.\n\n### Decoration Idea\n\nFor a cookie platter, use red and green sprinkles on top of each cookie before baking. They make a wonderful homemade gift when packaged in a festive tin or cellophane bag tied with ribbon! 🎁\n\n## Tips\n\n- For extra flavor, use a mix of semi-sweet and dark chocolate chips.\n- Chill the dough for 30 minutes before baking for thicker cookies.\n- Store in an airtight container at room temperature for up to 5 days.\n\n**Yield:** ~48 cookies | **Prep Time:** 15 min | **Bake Time:** 10 min\n"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01ACfwqrQgn6oDxnjhF1pESZ","modelId":"claude-opus-4-6","timestamp":"2026-03-31T10:32:34.944Z","metadata":{}},{"type":"text-start","id":"0","metadata":{}},{"type":"text-delta","id":"0","delta":"A **","metadata":{}},{"type":"text-delta","id":"0","delta":"Holiday Variation**","metadata":{}},{"type":"text-delta","id":"0","delta":" section has been added to","metadata":{}},{"type":"text-delta","id":"0","delta":" the recipe! 🎄 ","metadata":{}},{"type":"text-delta","id":"0","delta":"Here's what's included","metadata":{}},{"type":"text-delta","id":"0","delta":":\n\n- **P","metadata":{}},{"type":"text-delta","id":"0","delta":"eppermint White Chocolate Cookies","metadata":{}},{"type":"text-delta","id":"0","delta":"** – a","metadata":{}},{"type":"text-delta","id":"0","delta":" festive twist on the classic recipe","metadata":{}},{"type":"text-delta","id":"0","delta":" featuring","metadata":{}},{"type":"text-delta","id":"0","delta":":","metadata":{}},{"type":"text-delta","id":"0","delta":"\n - **","metadata":{}},{"type":"text-delta","id":"0","delta":"White","metadata":{}},{"type":"text-delta","id":"0","delta":" chocolate chips** in","metadata":{}},{"type":"text-delta","id":"0","delta":" place of semi-sweet","metadata":{}},{"type":"text-delta","id":"0","delta":"\n - **Crushed candy c","metadata":{}},{"type":"text-delta","id":"0","delta":"anes** for","metadata":{}},{"type":"text-delta","id":"0","delta":" a min","metadata":{}},{"type":"text-delta","id":"0","delta":"ty cr","metadata":{}},{"type":"text-delta","id":"0","delta":"unch\n - **Pepp","metadata":{}},{"type":"text-delta","id":"0","delta":"ermint extract** for extra","metadata":{}},{"type":"text-delta","id":"0","delta":" holiday flavor\n-","metadata":{}},{"type":"text-delta","id":"0","delta":" **Additional","metadata":{}},{"type":"text-delta","id":"0","delta":" steps** for","metadata":{}},{"type":"text-delta","id":"0","delta":" dr","metadata":{}},{"type":"text-delta","id":"0","delta":"izzling white","metadata":{}},{"type":"text-delta","id":"0","delta":" chocolate and decorating","metadata":{}},{"type":"text-delta","id":"0","delta":"\n- **Decoration ideas","metadata":{}},{"type":"text-delta","id":"0","delta":"** – red","metadata":{}},{"type":"text-delta","id":"0","delta":" and green sprinkles,","metadata":{}},{"type":"text-delta","id":"0","delta":" plus","metadata":{}},{"type":"text-delta","id":"0","delta":" gift","metadata":{}},{"type":"text-delta","id":"0","delta":" packaging","metadata":{}},{"type":"text-delta","id":"0","delta":" suggestions","metadata":{}},{"type":"text-delta","id":"0","delta":" ","metadata":{}},{"type":"text-delta","id":"0","delta":"🎁\n\nLet me know if","metadata":{}},{"type":"text-delta","id":"0","delta":" you'd like any other changes!","metadata":{}},{"type":"text-end","id":"0","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":1,"outputTokens":149,"totalTokens":150},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":4338},"cache_creation_input_tokens":4338,"cache_read_input_tokens":0,"input_tokens":1,"output_tokens":2,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNT9S</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add the missing ingredient (its flour).","options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01CYRiuDgFmJGxqFkMXR8Xoy","modelId":"claude-opus-4-6","timestamp":"2026-03-31T10:32:38.850Z","metadata":{}},{"type":"reasoning-start","id":"0","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"Let","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" me first","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" open the document","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" to see its contents","metadata":{}},{"type":"reasoning-delta","id":"0","delta":".","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{"anthropic":{"type":"thinking","signature":"Eu4BClkIDBgCKkCVr1A1J+aqALmLyqe1q5OXcYWXc7JVWASOydRf1dFOyadx06rDTP8RriabQAhjDMpDqVRvm7S0pE7Pw7AP4P75Mg9jbGF1ZGUtb3B1cy00LTY4ABIMEtIjW3fVv+6efNnBGgwk08rtC4+TZB6I3u0iMHREc3aZdcfKjO3SryLVn4RUZQIZh040P6wm6lMMJW5eAxrPaLhrWmxZ2VRBC68F0ypDhrYWAf1U886ymqxy3bjbJfHuDlka+bV53/3sOA2MBz5ivqTIxrby8zpSRQ8YlglhaDnKJZrVgqUm/kwnjiIgjbaRAhgB"}}},{"type":"reasoning-end","id":"0","metadata":{}},{"type":"text-start","id":"1","metadata":{}},{"type":"text-delta","id":"1","delta":"Let","metadata":{}},{"type":"text-delta","id":"1","delta":" me open the document first","metadata":{}},{"type":"text-delta","id":"1","delta":" to see its current","metadata":{}},{"type":"text-delta","id":"1","delta":" contents.","metadata":{}},{"type":"text-end","id":"1","metadata":{}},{"type":"tool-params-start","id":"toolu_01DQTEztogRDQvyieF9PCLtY","name":"open","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_01DQTEztogRDQvyieF9PCLtY","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01DQTEztogRDQvyieF9PCLtY","delta":"{\"doc","metadata":{}},{"type":"tool-params-delta","id":"toolu_01DQTEztogRDQvyieF9PCLtY","delta":"\": \"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01DQTEztogRDQvyieF9PCLtY","delta":"dxn:echo","metadata":{}},{"type":"tool-params-delta","id":"toolu_01DQTEztogRDQvyieF9PCLtY","delta":":BDJXMUL","metadata":{}},{"type":"tool-params-delta","id":"toolu_01DQTEztogRDQvyieF9PCLtY","delta":"PW","metadata":{}},{"type":"tool-params-delta","id":"toolu_01DQTEztogRDQvyieF9PCLtY","delta":"5FB5","metadata":{}},{"type":"tool-params-delta","id":"toolu_01DQTEztogRDQvyieF9PCLtY","delta":"5U","metadata":{}},{"type":"tool-params-delta","id":"toolu_01DQTEztogRDQvyieF9PCLtY","delta":"Z7KP5HLDHVTX","metadata":{}},{"type":"tool-params-delta","id":"toolu_01DQTEztogRDQvyieF9PCLtY","delta":"UTHE2U:01J","metadata":{}},{"type":"tool-params-delta","id":"toolu_01DQTEztogRDQvyieF9PCLtY","delta":"GFJJZ00G0","metadata":{}},{"type":"tool-params-delta","id":"toolu_01DQTEztogRDQvyieF9PCLtY","delta":"WKQSJGM","metadata":{}},{"type":"tool-params-delta","id":"toolu_01DQTEztogRDQvyieF9PCLtY","delta":"AKCNT9S\"}","metadata":{}},{"type":"tool-params-end","id":"toolu_01DQTEztogRDQvyieF9PCLtY","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":1689,"outputTokens":137,"totalTokens":1826},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1689,"output_tokens":1,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNT9S</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add the missing ingredient (its flour).","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its contents.","options":{}},{"type":"text","text":"Let me open the document first to see its current contents.","options":{}},{"type":"tool-call","id":"toolu_01DQTEztogRDQvyieF9PCLtY","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNT9S"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01DQTEztogRDQvyieF9PCLtY","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"Ingredients: \n - 2 cups of ???\n - 1 cup of sugar\n - 1 cup of butter\n - 1 cup of eggs"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_011rTB4iYDMciBvgU9Q2yJaC","modelId":"claude-opus-4-6","timestamp":"2026-03-31T10:32:42.385Z","metadata":{}},{"type":"text-start","id":"0","metadata":{}},{"type":"text-delta","id":"0","delta":"I can","metadata":{}},{"type":"text-delta","id":"0","delta":" see the missing","metadata":{}},{"type":"text-delta","id":"0","delta":" ingredient.","metadata":{}},{"type":"text-delta","id":"0","delta":" Let","metadata":{}},{"type":"text-delta","id":"0","delta":" me replace","metadata":{}},{"type":"text-delta","id":"0","delta":" the","metadata":{}},{"type":"text-delta","id":"0","delta":" `","metadata":{}},{"type":"text-delta","id":"0","delta":"???` with `","metadata":{}},{"type":"text-delta","id":"0","delta":"flour`.","metadata":{}},{"type":"text-end","id":"0","metadata":{}},{"type":"tool-params-start","id":"toolu_014DRCcFHz3U1HwmJGGudMuZ","name":"update","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_014DRCcFHz3U1HwmJGGudMuZ","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_014DRCcFHz3U1HwmJGGudMuZ","delta":"{\"do","metadata":{}},{"type":"tool-params-delta","id":"toolu_014DRCcFHz3U1HwmJGGudMuZ","delta":"c\": ","metadata":{}},{"type":"tool-params-delta","id":"toolu_014DRCcFHz3U1HwmJGGudMuZ","delta":"\"dxn:ech","metadata":{}},{"type":"tool-params-delta","id":"toolu_014DRCcFHz3U1HwmJGGudMuZ","delta":"o:BDJX","metadata":{}},{"type":"tool-params-delta","id":"toolu_014DRCcFHz3U1HwmJGGudMuZ","delta":"MULPW5FB5","metadata":{}},{"type":"tool-params-delta","id":"toolu_014DRCcFHz3U1HwmJGGudMuZ","delta":"5UZ7KP5H","metadata":{}},{"type":"tool-params-delta","id":"toolu_014DRCcFHz3U1HwmJGGudMuZ","delta":"LDHVTXUTHE2U","metadata":{}},{"type":"tool-params-delta","id":"toolu_014DRCcFHz3U1HwmJGGudMuZ","delta":":01JGFJ","metadata":{}},{"type":"tool-params-delta","id":"toolu_014DRCcFHz3U1HwmJGGudMuZ","delta":"JZ00G0WKQSJ","metadata":{}},{"type":"tool-params-delta","id":"toolu_014DRCcFHz3U1HwmJGGudMuZ","delta":"GMA","metadata":{}},{"type":"tool-params-delta","id":"toolu_014DRCcFHz3U1HwmJGGudMuZ","delta":"KCNT9S\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_014DRCcFHz3U1HwmJGGudMuZ","delta":", \"edits\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_014DRCcFHz3U1HwmJGGudMuZ","delta":": [{\"old","metadata":{}},{"type":"tool-params-delta","id":"toolu_014DRCcFHz3U1HwmJGGudMuZ","delta":"St","metadata":{}},{"type":"tool-params-delta","id":"toolu_014DRCcFHz3U1HwmJGGudMuZ","delta":"rin","metadata":{}},{"type":"tool-params-delta","id":"toolu_014DRCcFHz3U1HwmJGGudMuZ","delta":"g\":\"2","metadata":{}},{"type":"tool-params-delta","id":"toolu_014DRCcFHz3U1HwmJGGudMuZ","delta":" cu","metadata":{}},{"type":"tool-params-delta","id":"toolu_014DRCcFHz3U1HwmJGGudMuZ","delta":"ps of ??","metadata":{}},{"type":"tool-params-delta","id":"toolu_014DRCcFHz3U1HwmJGGudMuZ","delta":"?\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_014DRCcFHz3U1HwmJGGudMuZ","delta":",\"newString","metadata":{}},{"type":"tool-params-delta","id":"toolu_014DRCcFHz3U1HwmJGGudMuZ","delta":"\":\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_014DRCcFHz3U1HwmJGGudMuZ","delta":"2 cups of f","metadata":{}},{"type":"tool-params-delta","id":"toolu_014DRCcFHz3U1HwmJGGudMuZ","delta":"lour\"}]}","metadata":{}},{"type":"tool-params-end","id":"toolu_014DRCcFHz3U1HwmJGGudMuZ","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":1850,"outputTokens":162,"totalTokens":2012},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1850,"output_tokens":2,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNT9S</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add the missing ingredient (its flour).","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its contents.","options":{}},{"type":"text","text":"Let me open the document first to see its current contents.","options":{}},{"type":"tool-call","id":"toolu_01DQTEztogRDQvyieF9PCLtY","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNT9S"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01DQTEztogRDQvyieF9PCLtY","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"Ingredients: \n - 2 cups of ???\n - 1 cup of sugar\n - 1 cup of butter\n - 1 cup of eggs"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"text","text":"I can see the missing ingredient. Let me replace the `???` with `flour`.","options":{}},{"type":"tool-call","id":"toolu_014DRCcFHz3U1HwmJGGudMuZ","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNT9S","edits":[{"oldString":"2 cups of ???","newString":"2 cups of flour"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_014DRCcFHz3U1HwmJGGudMuZ","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"Ingredients: \n - 2 cups of flour\n - 1 cup of sugar\n - 1 cup of butter\n - 1 cup of eggs"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_011n1ZUBttrbRDEGHYtjC2Ec","modelId":"claude-opus-4-6","timestamp":"2026-03-31T10:32:45.816Z","metadata":{}},{"type":"text-start","id":"0","metadata":{}},{"type":"text-delta","id":"0","delta":"Done","metadata":{}},{"type":"text-delta","id":"0","delta":"! I've replaced","metadata":{}},{"type":"text-delta","id":"0","delta":" the `","metadata":{}},{"type":"text-delta","id":"0","delta":"???` with **","metadata":{}},{"type":"text-delta","id":"0","delta":"flour**","metadata":{}},{"type":"text-delta","id":"0","delta":" in the ingredients","metadata":{}},{"type":"text-delta","id":"0","delta":" list.","metadata":{}},{"type":"text-end","id":"0","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":2088,"outputTokens":21,"totalTokens":2109},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2088,"output_tokens":1,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTAQ</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01XDQurWiJRPrX8KRG64FMEd","modelId":"claude-opus-4-6","timestamp":"2026-03-31T10:32:48.052Z","metadata":{}},{"type":"reasoning-start","id":"0","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"Let","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" me first","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" open","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" the document","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" to see its","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" current contents.","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{"anthropic":{"type":"thinking","signature":"EvYBClkIDBgCKkB59APG7kQJaS56ZghJ7yGmUDPTIff8aJqcCaiTm7DBlPfIkAEzU9xUX9RfyXK8kuAlQ2FqlGTMKvYxrrstJfcdMg9jbGF1ZGUtb3B1cy00LTY4ABIMw3AMoRx/7cSFpdfMGgzOqIuwcdafwtnh46IiMOpFqBbF9uGOeE+QEPXQBwA2P1vmcNWKeh2f86GJ+f1Cjz6CGlK85W6qGGmXwNyDeipLU1WwQOhZfA4H7eZWulzIkb7uK+aPzLcX6BWtoI1Fj0NtybSCXQ2p5e3uhyqS4opoCaDsJjVIxm/dXTz4dAWKWq6eSEycmLginto2GAE="}}},{"type":"reasoning-end","id":"0","metadata":{}},{"type":"text-start","id":"1","metadata":{}},{"type":"text-delta","id":"1","delta":"Let","metadata":{}},{"type":"text-delta","id":"1","delta":" me open the document first","metadata":{}},{"type":"text-delta","id":"1","delta":" to see the","metadata":{}},{"type":"text-delta","id":"1","delta":" current shopping","metadata":{}},{"type":"text-delta","id":"1","delta":" list.","metadata":{}},{"type":"text-end","id":"1","metadata":{}},{"type":"tool-params-start","id":"toolu_01PTdekY4U4edgoya1TxMfga","name":"open","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_01PTdekY4U4edgoya1TxMfga","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PTdekY4U4edgoya1TxMfga","delta":"{\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PTdekY4U4edgoya1TxMfga","delta":"doc\":","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PTdekY4U4edgoya1TxMfga","delta":" \"dxn:echo","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PTdekY4U4edgoya1TxMfga","delta":":BDJXMUL","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PTdekY4U4edgoya1TxMfga","delta":"PW5FB55UZ7KP","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PTdekY4U4edgoya1TxMfga","delta":"5HLDHVTXUTH","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PTdekY4U4edgoya1TxMfga","delta":"E2","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PTdekY4U4edgoya1TxMfga","delta":"U:01JG","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PTdekY4U4edgoya1TxMfga","delta":"FJJZ00G0","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PTdekY4U4edgoya1TxMfga","delta":"WKQSJGMAKCN","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PTdekY4U4edgoya1TxMfga","delta":"TAQ\"}","metadata":{}},{"type":"tool-params-end","id":"toolu_01PTdekY4U4edgoya1TxMfga","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":1687,"outputTokens":138,"totalTokens":1825},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1687,"output_tokens":1,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTAQ</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its current contents.","options":{}},{"type":"text","text":"Let me open the document first to see the current shopping list.","options":{}},{"type":"tool-call","id":"toolu_01PTdekY4U4edgoya1TxMfga","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTAQ"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01PTdekY4U4edgoya1TxMfga","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Shopping list"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01MUwpoy5jy4rypXFZNW4QJb","modelId":"claude-opus-4-6","timestamp":"2026-03-31T10:32:50.863Z","metadata":{}},{"type":"text-start","id":"0","metadata":{}},{"type":"text-delta","id":"0","delta":"I can","metadata":{}},{"type":"text-delta","id":"0","delta":" see the shopping list.","metadata":{}},{"type":"text-delta","id":"0","delta":" Let","metadata":{}},{"type":"text-delta","id":"0","delta":" me add milk to it.","metadata":{}},{"type":"text-end","id":"0","metadata":{}},{"type":"tool-params-start","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","name":"update","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","delta":"{\"d","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","delta":"oc\": \"dxn","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","delta":":echo:BDJXMU","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","delta":"LPW5FB","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","delta":"55UZ7KP5","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","delta":"HLDHVTXUT","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","delta":"HE2","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","delta":"U:01JGFJJ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","delta":"Z00G0WKQ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","delta":"SJ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","delta":"GM","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","delta":"AKCNT","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","delta":"AQ\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","delta":", ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","delta":"\"e","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","delta":"dit","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","delta":"s\": [{","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","delta":"\"oldString\":","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","delta":"\"# S","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","delta":"hoppin","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","delta":"g ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","delta":"lis","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","delta":"t\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","delta":",\"ne","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","delta":"wString\":","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","delta":"\"# ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","delta":"Shopping lis","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","delta":"t\\n- Milk\"}]}","metadata":{}},{"type":"tool-params-end","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":1808,"outputTokens":161,"totalTokens":1969},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1808,"output_tokens":2,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTAQ</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its current contents.","options":{}},{"type":"text","text":"Let me open the document first to see the current shopping list.","options":{}},{"type":"tool-call","id":"toolu_01PTdekY4U4edgoya1TxMfga","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTAQ"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01PTdekY4U4edgoya1TxMfga","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Shopping list"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"text","text":"I can see the shopping list. Let me add milk to it.","options":{}},{"type":"tool-call","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTAQ","edits":[{"oldString":"# Shopping list","newString":"# Shopping list\n- Milk"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n- Milk"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01CinrNeRrmQJYj3hTNUAmqg","modelId":"claude-opus-4-6","timestamp":"2026-03-31T10:32:53.969Z","metadata":{}},{"type":"text-start","id":"0","metadata":{}},{"type":"text-delta","id":"0","delta":"Done! I've added **","metadata":{}},{"type":"text-delta","id":"0","delta":"Milk** to your shopping list. ","metadata":{}},{"type":"text-delta","id":"0","delta":"🥛","metadata":{}},{"type":"text-end","id":"0","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":2007,"outputTokens":21,"totalTokens":2028},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2007,"output_tokens":6,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTAQ</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its current contents.","options":{}},{"type":"text","text":"Let me open the document first to see the current shopping list.","options":{}},{"type":"tool-call","id":"toolu_01PTdekY4U4edgoya1TxMfga","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTAQ"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01PTdekY4U4edgoya1TxMfga","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Shopping list"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"text","text":"I can see the shopping list. Let me add milk to it.","options":{}},{"type":"tool-call","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTAQ","edits":[{"oldString":"# Shopping list","newString":"# Shopping list\n- Milk"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n- Milk"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Done! I've added **Milk** to your shopping list. 🥛","options":{}},{"role":"user","content":"Add bread to the shopping list.","options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01VHS8T9LJMEQ4iMxejUvyBu","modelId":"claude-opus-4-6","timestamp":"2026-03-31T10:32:56.163Z","metadata":{}},{"type":"reasoning-start","id":"0","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"The user wants to add bread to the","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" shopping list.","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{"anthropic":{"type":"thinking","signature":"EuwBClkIDBgCKkAraTXjC7ngh1HfjFBILEHbcmAEbdztNEENVCqBB39yWXF2Rbklau/3p/bWFKtEUW55JtQNjfH9u8SlH32Ra9nRMg9jbGF1ZGUtb3B1cy00LTY4ABIM3t7eopFeLs2uZmvoGgztxWC8HSzzhO4SNfIiML+DAveYKT3ZEgYaOclWBIQ3O0y4IFKarK/vHqV7Lu0tV+9mAoBBtlr4ckf9pgE0/ypByEVX0RYxipH3vyXdFNaK4dvTgyCOTzJKoYgKi6edINmCHDw03tOPlNvp7N7lOyCsS+N2bzdnITVOurEdev6s1tUYAQ=="}}},{"type":"reasoning-end","id":"0","metadata":{}},{"type":"tool-params-start","id":"toolu_01Fuf7bJDZWQmy9gUhzTG21e","name":"update","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_01Fuf7bJDZWQmy9gUhzTG21e","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Fuf7bJDZWQmy9gUhzTG21e","delta":"{\"doc\": \"d","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Fuf7bJDZWQmy9gUhzTG21e","delta":"xn:","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Fuf7bJDZWQmy9gUhzTG21e","delta":"echo:BDJXM","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Fuf7bJDZWQmy9gUhzTG21e","delta":"ULPW5F","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Fuf7bJDZWQmy9gUhzTG21e","delta":"B55UZ7KP5HL","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Fuf7bJDZWQmy9gUhzTG21e","delta":"DHVTXUTH","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Fuf7bJDZWQmy9gUhzTG21e","delta":"E2U:01JGFJJZ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Fuf7bJDZWQmy9gUhzTG21e","delta":"00G0WKQ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Fuf7bJDZWQmy9gUhzTG21e","delta":"SJGMAKC","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Fuf7bJDZWQmy9gUhzTG21e","delta":"NTAQ\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Fuf7bJDZWQmy9gUhzTG21e","delta":", ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Fuf7bJDZWQmy9gUhzTG21e","delta":"\"ed","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Fuf7bJDZWQmy9gUhzTG21e","delta":"its\": [{\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Fuf7bJDZWQmy9gUhzTG21e","delta":"oldS","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Fuf7bJDZWQmy9gUhzTG21e","delta":"tring","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Fuf7bJDZWQmy9gUhzTG21e","delta":"\":\"- Milk\",\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Fuf7bJDZWQmy9gUhzTG21e","delta":"newString\":","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Fuf7bJDZWQmy9gUhzTG21e","delta":"\"- Milk\\n- ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Fuf7bJDZWQmy9gUhzTG21e","delta":"Bread\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Fuf7bJDZWQmy9gUhzTG21e","delta":"}]}","metadata":{}},{"type":"tool-params-end","id":"toolu_01Fuf7bJDZWQmy9gUhzTG21e","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":2067,"outputTokens":165,"totalTokens":2232},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2067,"output_tokens":8,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTAQ</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its current contents.","options":{}},{"type":"text","text":"Let me open the document first to see the current shopping list.","options":{}},{"type":"tool-call","id":"toolu_01PTdekY4U4edgoya1TxMfga","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTAQ"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01PTdekY4U4edgoya1TxMfga","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Shopping list"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"text","text":"I can see the shopping list. Let me add milk to it.","options":{}},{"type":"tool-call","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTAQ","edits":[{"oldString":"# Shopping list","newString":"# Shopping list\n- Milk"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n- Milk"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Done! I've added **Milk** to your shopping list. 🥛","options":{}},{"role":"user","content":"Add bread to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The user wants to add bread to the shopping list.","options":{}},{"type":"tool-call","id":"toolu_01Fuf7bJDZWQmy9gUhzTG21e","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTAQ","edits":[{"oldString":"- Milk","newString":"- Milk\n- Bread"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01Fuf7bJDZWQmy9gUhzTG21e","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n- Milk\n- Bread"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01EUK5kjnFgC5PPHBBThDow9","modelId":"claude-opus-4-6","timestamp":"2026-03-31T10:32:59.448Z","metadata":{}},{"type":"text-start","id":"0","metadata":{}},{"type":"text-delta","id":"0","delta":"Done! I've added **Bread","metadata":{}},{"type":"text-delta","id":"0","delta":"** to your shopping list. ","metadata":{}},{"type":"text-delta","id":"0","delta":"🍞 ","metadata":{}},{"type":"text-delta","id":"0","delta":"Here","metadata":{}},{"type":"text-delta","id":"0","delta":"'s what","metadata":{}},{"type":"text-delta","id":"0","delta":" you","metadata":{}},{"type":"text-delta","id":"0","delta":" have","metadata":{}},{"type":"text-delta","id":"0","delta":" so","metadata":{}},{"type":"text-delta","id":"0","delta":" far:\n\n- Milk\n-","metadata":{}},{"type":"text-delta","id":"0","delta":" Bread","metadata":{}},{"type":"text-end","id":"0","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":2228,"outputTokens":38,"totalTokens":2266},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2228,"output_tokens":8,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTAQ</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its current contents.","options":{}},{"type":"text","text":"Let me open the document first to see the current shopping list.","options":{}},{"type":"tool-call","id":"toolu_01PTdekY4U4edgoya1TxMfga","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTAQ"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01PTdekY4U4edgoya1TxMfga","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Shopping list"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"text","text":"I can see the shopping list. Let me add milk to it.","options":{}},{"type":"tool-call","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTAQ","edits":[{"oldString":"# Shopping list","newString":"# Shopping list\n- Milk"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n- Milk"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Done! I've added **Milk** to your shopping list. 🥛","options":{}},{"role":"user","content":"Add bread to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The user wants to add bread to the shopping list.","options":{}},{"type":"tool-call","id":"toolu_01Fuf7bJDZWQmy9gUhzTG21e","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTAQ","edits":[{"oldString":"- Milk","newString":"- Milk\n- Bread"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01Fuf7bJDZWQmy9gUhzTG21e","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n- Milk\n- Bread"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Done! I've added **Bread** to your shopping list. 🍞 Here's what you have so far:\n\n- Milk\n- Bread","options":{}},{"role":"user","content":"Add eggs to the shopping list.","options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01WvMjCUwcgVHj8r7CeG1ARK","modelId":"claude-opus-4-6","timestamp":"2026-03-31T10:33:01.904Z","metadata":{}},{"type":"reasoning-start","id":"0","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"Add","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" eggs to the shopping list.","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{"anthropic":{"type":"thinking","signature":"EtkBClkIDBgCKkBDuxvb3wQZoyIBpSOTTBfE2dimgsiLpNeLu2VlmAeekE8xnnYgwdoDL4OPP9BkGMb/ozj4QSmXyHHVKW6lBCX3Mg9jbGF1ZGUtb3B1cy00LTY4ABIMrhQ3VJgHZktS/SXiGgzpL0x0SqzeI3dsSOQiMGUoEem+DoYUejDsbNxV/ZMHDtTeNRn6an8MFNcfq94VMkNw8QI2DvX+xDpwVLkShCouHt50p01EBFLcihKNCrQkbXFhn7362HUpDglrEwKhCaCMVJ0X8VOfmMZ8DoVskhgB"}}},{"type":"reasoning-end","id":"0","metadata":{}},{"type":"tool-params-start","id":"toolu_01LN1C8RmScgJveaMrhJcXha","name":"update","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_01LN1C8RmScgJveaMrhJcXha","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LN1C8RmScgJveaMrhJcXha","delta":"{\"doc\": \"dx","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LN1C8RmScgJveaMrhJcXha","delta":"n:ec","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LN1C8RmScgJveaMrhJcXha","delta":"ho:","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LN1C8RmScgJveaMrhJcXha","delta":"BDJXMUL","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LN1C8RmScgJveaMrhJcXha","delta":"PW5FB55UZ7KP","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LN1C8RmScgJveaMrhJcXha","delta":"5HLDHV","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LN1C8RmScgJveaMrhJcXha","delta":"TXUTHE2U:","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LN1C8RmScgJveaMrhJcXha","delta":"01JGFJJ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LN1C8RmScgJveaMrhJcXha","delta":"Z00G0WKQSJGM","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LN1C8RmScgJveaMrhJcXha","delta":"AKCNTAQ\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LN1C8RmScgJveaMrhJcXha","delta":", \"ed","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LN1C8RmScgJveaMrhJcXha","delta":"its\": [","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LN1C8RmScgJveaMrhJcXha","delta":"{\"oldSt","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LN1C8RmScgJveaMrhJcXha","delta":"ri","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LN1C8RmScgJveaMrhJcXha","delta":"ng\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LN1C8RmScgJveaMrhJcXha","delta":":\"- Bread","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LN1C8RmScgJveaMrhJcXha","delta":"\",\"newStri","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LN1C8RmScgJveaMrhJcXha","delta":"ng\":\"- B","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LN1C8RmScgJveaMrhJcXha","delta":"read\\n-","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LN1C8RmScgJveaMrhJcXha","delta":" Eggs\"}]}","metadata":{}},{"type":"tool-params-end","id":"toolu_01LN1C8RmScgJveaMrhJcXha","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":2305,"outputTokens":161,"totalTokens":2466},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2305,"output_tokens":1,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTAQ</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its current contents.","options":{}},{"type":"text","text":"Let me open the document first to see the current shopping list.","options":{}},{"type":"tool-call","id":"toolu_01PTdekY4U4edgoya1TxMfga","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTAQ"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01PTdekY4U4edgoya1TxMfga","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Shopping list"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"text","text":"I can see the shopping list. Let me add milk to it.","options":{}},{"type":"tool-call","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTAQ","edits":[{"oldString":"# Shopping list","newString":"# Shopping list\n- Milk"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01W3qhbp8WrcUwqcMBxofJL1","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n- Milk"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Done! I've added **Milk** to your shopping list. 🥛","options":{}},{"role":"user","content":"Add bread to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The user wants to add bread to the shopping list.","options":{}},{"type":"tool-call","id":"toolu_01Fuf7bJDZWQmy9gUhzTG21e","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTAQ","edits":[{"oldString":"- Milk","newString":"- Milk\n- Bread"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01Fuf7bJDZWQmy9gUhzTG21e","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n- Milk\n- Bread"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Done! I've added **Bread** to your shopping list. 🍞 Here's what you have so far:\n\n- Milk\n- Bread","options":{}},{"role":"user","content":"Add eggs to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Add eggs to the shopping list.","options":{}},{"type":"tool-call","id":"toolu_01LN1C8RmScgJveaMrhJcXha","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTAQ","edits":[{"oldString":"- Bread","newString":"- Bread\n- Eggs"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01LN1C8RmScgJveaMrhJcXha","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n- Milk\n- Bread\n- Eggs"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01Bpn7ZV7Fi7rTEtyTtW9Jsn","modelId":"claude-opus-4-6","timestamp":"2026-03-31T10:33:05.062Z","metadata":{}},{"type":"text-start","id":"0","metadata":{}},{"type":"text-delta","id":"0","delta":"Done! I've added **Eggs","metadata":{}},{"type":"text-delta","id":"0","delta":"** to your shopping list. ","metadata":{}},{"type":"text-delta","id":"0","delta":"🥚 Here's what you have","metadata":{}},{"type":"text-delta","id":"0","delta":" so far:\n\n- Milk","metadata":{}},{"type":"text-delta","id":"0","delta":"\n- Bread\n- Eggs","metadata":{}},{"type":"text-end","id":"0","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":2471,"outputTokens":42,"totalTokens":2513},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2471,"output_tokens":8,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>","options":{}},{"role":"user","content":"Create a document with a cookie recipe.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The user wants me to create a document with a cookie recipe. Let me create a nice markdown document with a classic cookie recipe.","options":{}},{"type":"tool-call","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","params":{"name":"Classic Chocolate Chip Cookies","content":"# Classic Chocolate Chip Cookies\n\nA timeless recipe for soft, chewy chocolate chip cookies that are golden on the edges and gooey in the center.\n\n## Ingredients\n\n- 2 ¼ cups all-purpose flour\n- 1 tsp baking soda\n- 1 tsp salt\n- 1 cup (2 sticks) unsalted butter, softened\n- ¾ cup granulated sugar\n- ¾ cup packed brown sugar\n- 2 large eggs\n- 2 tsp vanilla extract\n- 2 cups semi-sweet chocolate chips\n\n## Instructions\n\n1. **Preheat** the oven to 375°F (190°C). Line baking sheets with parchment paper.\n2. **Combine dry ingredients:** In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.\n3. **Cream the butter and sugars:** In a large bowl, beat the softened butter, granulated sugar, and brown sugar together until light and fluffy (about 2–3 minutes).\n4. **Add eggs and vanilla:** Beat in the eggs one at a time, then mix in the vanilla extract until combined.\n5. **Mix in dry ingredients:** Gradually add the flour mixture to the wet ingredients, stirring until just combined. Do not overmix.\n6. **Fold in chocolate chips:** Gently stir in the chocolate chips.\n7. **Scoop the dough:** Drop rounded tablespoons of dough onto the prepared baking sheets, spacing them about 2 inches apart.\n8. **Bake:** Bake for 9–11 minutes, or until the edges are golden brown but the centers still look slightly underdone.\n9. **Cool:** Let the cookies cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.\n\n## Tips\n\n- For extra flavor, use a mix of semi-sweet and dark chocolate chips.\n- Chill the dough for 30 minutes before baking for thicker cookies.\n- Store in an airtight container at room temperature for up to 5 days.\n\n**Yield:** ~48 cookies | **Prep Time:** 15 min | **Bake Time:** 10 min\n"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"id":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTJ1"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_0199pxZVsPjuJSaRpDj5eBAc","modelId":"claude-opus-4-6","timestamp":"2026-04-03T15:09:58.739Z","metadata":{}},{"type":"text-start","id":"0","metadata":{}},{"type":"text-delta","id":"0","delta":"Your","metadata":{}},{"type":"text-delta","id":"0","delta":" **Classic Chocolate Chip Cookies** recipe document has been created! 🍪 Here's a summary of what's","metadata":{}},{"type":"text-delta","id":"0","delta":" included:\n\n- **Ingredients** – A full list including flour, butter, sug","metadata":{}},{"type":"text-delta","id":"0","delta":"ars, eggs, vanilla, and chocolate chips.\n- **Step-by-step instructions** – From preheating the oven to cooling the cookies on a","metadata":{}},{"type":"text-delta","id":"0","delta":" wire rack.\n- **Helpful tips** – Like chilling the dough for thicker cookies and mixing chocolate chip","metadata":{}},{"type":"text-delta","id":"0","delta":" varieties for extra flavor.\n\nThe recipe yields about 48 cookies with just 15 minutes of prep and 10 minutes of baking.","metadata":{}},{"type":"text-delta","id":"0","delta":" Let me know if you'd like to make any changes!","metadata":{}},{"type":"text-end","id":"0","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":2245,"outputTokens":151,"totalTokens":2396},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2245,"output_tokens":1,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>","options":{}},{"role":"user","content":"Create a document with a cookie recipe.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The user wants me to create a document with a cookie recipe. Let me create a nice markdown document with a classic cookie recipe.","options":{}},{"type":"tool-call","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","params":{"name":"Classic Chocolate Chip Cookies","content":"# Classic Chocolate Chip Cookies\n\nA timeless recipe for soft, chewy chocolate chip cookies that are golden on the edges and gooey in the center.\n\n## Ingredients\n\n- 2 ¼ cups all-purpose flour\n- 1 tsp baking soda\n- 1 tsp salt\n- 1 cup (2 sticks) unsalted butter, softened\n- ¾ cup granulated sugar\n- ¾ cup packed brown sugar\n- 2 large eggs\n- 2 tsp vanilla extract\n- 2 cups semi-sweet chocolate chips\n\n## Instructions\n\n1. **Preheat** the oven to 375°F (190°C). Line baking sheets with parchment paper.\n2. **Combine dry ingredients:** In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.\n3. **Cream the butter and sugars:** In a large bowl, beat the softened butter, granulated sugar, and brown sugar together until light and fluffy (about 2–3 minutes).\n4. **Add eggs and vanilla:** Beat in the eggs one at a time, then mix in the vanilla extract until combined.\n5. **Mix in dry ingredients:** Gradually add the flour mixture to the wet ingredients, stirring until just combined. Do not overmix.\n6. **Fold in chocolate chips:** Gently stir in the chocolate chips.\n7. **Scoop the dough:** Drop rounded tablespoons of dough onto the prepared baking sheets, spacing them about 2 inches apart.\n8. **Bake:** Bake for 9–11 minutes, or until the edges are golden brown but the centers still look slightly underdone.\n9. **Cool:** Let the cookies cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.\n\n## Tips\n\n- For extra flavor, use a mix of semi-sweet and dark chocolate chips.\n- Chill the dough for 30 minutes before baking for thicker cookies.\n- Store in an airtight container at room temperature for up to 5 days.\n\n**Yield:** ~48 cookies | **Prep Time:** 15 min | **Bake Time:** 10 min\n"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"id":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTJ1"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Your **Classic Chocolate Chip Cookies** recipe document has been created! 🍪 Here's a summary of what's included:\n\n- **Ingredients** – A full list including flour, butter, sugars, eggs, vanilla, and chocolate chips.\n- **Step-by-step instructions** – From preheating the oven to cooling the cookies on a wire rack.\n- **Helpful tips** – Like chilling the dough for thicker cookies and mixing chocolate chip varieties for extra flavor.\n\nThe recipe yields about 48 cookies with just 15 minutes of prep and 10 minutes of baking. Let me know if you'd like to make any changes!","options":{}},{"role":"user","content":"Add a section with a holiday-themed variation.","options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01RAofTBRJByHQSASoeSD4u6","modelId":"claude-opus-4-6","timestamp":"2026-04-03T15:10:03.148Z","metadata":{}},{"type":"reasoning-start","id":"0","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"Let","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" me open the document first to see its current content, then add a holiday-themed variation section.","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{"anthropic":{"type":"thinking","signature":"EqICClkIDBgCKkD+c6uaQ2PKXUtIbfcFxlc1mtfbvHp/xoYQaTGybeAAxzGv6qA8hPtrko0AUkKF4bkEOO0Xi1wxOX3IjFEEIG03Mg9jbGF1ZGUtb3B1cy00LTY4ABIMsG6k9EDM4FTz0R3eGgxjwYkXcWGqFCXkXIsiMF2qF82e0n2brsqmfRqdmDUT4dWoDT0ITt5YNM7R1hRpueKXhj4UUBhiHbQzRX3OtCp3RhgVWGAOaVATEyXKmfyffeNXcReeuwzv6uJhmve3IVUS66qQtughKCIuTH5T5cikD/BJyri7PFNLcwk29TACpQxkF0cRtu6Akbu+vuH8ItPU7850V4MSXE1xiF4vDhh3mCpGbEevcxEU5vwWchuVp3jJH5JyYOEYAQ=="}}},{"type":"reasoning-end","id":"0","metadata":{}},{"type":"tool-params-start","id":"toolu_01SHt1mry5HK5yLzdSqMywSB","name":"open","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_01SHt1mry5HK5yLzdSqMywSB","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SHt1mry5HK5yLzdSqMywSB","delta":"{\"doc\": \"dxn","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SHt1mry5HK5yLzdSqMywSB","delta":":echo","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SHt1mry5HK5yLzdSqMywSB","delta":":BDJXM","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SHt1mry5HK5yLzdSqMywSB","delta":"UL","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SHt1mry5HK5yLzdSqMywSB","delta":"PW5FB55UZ7","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SHt1mry5HK5yLzdSqMywSB","delta":"KP5HLDHVTX","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SHt1mry5HK5yLzdSqMywSB","delta":"UTHE","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SHt1mry5HK5yLzdSqMywSB","delta":"2U:01","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SHt1mry5HK5yLzdSqMywSB","delta":"JGFJJ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SHt1mry5HK5yLzdSqMywSB","delta":"Z00G0WK","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SHt1mry5HK5yLzdSqMywSB","delta":"QSJGMA","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SHt1mry5HK5yLzdSqMywSB","delta":"KC","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SHt1mry5HK5yLzdSqMywSB","delta":"NTJ1\"}","metadata":{}},{"type":"tool-params-end","id":"toolu_01SHt1mry5HK5yLzdSqMywSB","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":2438,"outputTokens":134,"totalTokens":2572},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2438,"output_tokens":1,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>","options":{}},{"role":"user","content":"Create a document with a cookie recipe.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The user wants me to create a document with a cookie recipe. Let me create a nice markdown document with a classic cookie recipe.","options":{}},{"type":"tool-call","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","params":{"name":"Classic Chocolate Chip Cookies","content":"# Classic Chocolate Chip Cookies\n\nA timeless recipe for soft, chewy chocolate chip cookies that are golden on the edges and gooey in the center.\n\n## Ingredients\n\n- 2 ¼ cups all-purpose flour\n- 1 tsp baking soda\n- 1 tsp salt\n- 1 cup (2 sticks) unsalted butter, softened\n- ¾ cup granulated sugar\n- ¾ cup packed brown sugar\n- 2 large eggs\n- 2 tsp vanilla extract\n- 2 cups semi-sweet chocolate chips\n\n## Instructions\n\n1. **Preheat** the oven to 375°F (190°C). Line baking sheets with parchment paper.\n2. **Combine dry ingredients:** In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.\n3. **Cream the butter and sugars:** In a large bowl, beat the softened butter, granulated sugar, and brown sugar together until light and fluffy (about 2–3 minutes).\n4. **Add eggs and vanilla:** Beat in the eggs one at a time, then mix in the vanilla extract until combined.\n5. **Mix in dry ingredients:** Gradually add the flour mixture to the wet ingredients, stirring until just combined. Do not overmix.\n6. **Fold in chocolate chips:** Gently stir in the chocolate chips.\n7. **Scoop the dough:** Drop rounded tablespoons of dough onto the prepared baking sheets, spacing them about 2 inches apart.\n8. **Bake:** Bake for 9–11 minutes, or until the edges are golden brown but the centers still look slightly underdone.\n9. **Cool:** Let the cookies cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.\n\n## Tips\n\n- For extra flavor, use a mix of semi-sweet and dark chocolate chips.\n- Chill the dough for 30 minutes before baking for thicker cookies.\n- Store in an airtight container at room temperature for up to 5 days.\n\n**Yield:** ~48 cookies | **Prep Time:** 15 min | **Bake Time:** 10 min\n"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"id":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTJ1"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Your **Classic Chocolate Chip Cookies** recipe document has been created! 🍪 Here's a summary of what's included:\n\n- **Ingredients** – A full list including flour, butter, sugars, eggs, vanilla, and chocolate chips.\n- **Step-by-step instructions** – From preheating the oven to cooling the cookies on a wire rack.\n- **Helpful tips** – Like chilling the dough for thicker cookies and mixing chocolate chip varieties for extra flavor.\n\nThe recipe yields about 48 cookies with just 15 minutes of prep and 10 minutes of baking. Let me know if you'd like to make any changes!","options":{}},{"role":"user","content":"Add a section with a holiday-themed variation.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me open the document first to see its current content, then add a holiday-themed variation section.","options":{}},{"type":"tool-call","id":"toolu_01SHt1mry5HK5yLzdSqMywSB","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTJ1"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01SHt1mry5HK5yLzdSqMywSB","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Classic Chocolate Chip Cookies\n\nA timeless recipe for soft, chewy chocolate chip cookies that are golden on the edges and gooey in the center.\n\n## Ingredients\n\n- 2 ¼ cups all-purpose flour\n- 1 tsp baking soda\n- 1 tsp salt\n- 1 cup (2 sticks) unsalted butter, softened\n- ¾ cup granulated sugar\n- ¾ cup packed brown sugar\n- 2 large eggs\n- 2 tsp vanilla extract\n- 2 cups semi-sweet chocolate chips\n\n## Instructions\n\n1. **Preheat** the oven to 375°F (190°C). Line baking sheets with parchment paper.\n2. **Combine dry ingredients:** In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.\n3. **Cream the butter and sugars:** In a large bowl, beat the softened butter, granulated sugar, and brown sugar together until light and fluffy (about 2–3 minutes).\n4. **Add eggs and vanilla:** Beat in the eggs one at a time, then mix in the vanilla extract until combined.\n5. **Mix in dry ingredients:** Gradually add the flour mixture to the wet ingredients, stirring until just combined. Do not overmix.\n6. **Fold in chocolate chips:** Gently stir in the chocolate chips.\n7. **Scoop the dough:** Drop rounded tablespoons of dough onto the prepared baking sheets, spacing them about 2 inches apart.\n8. **Bake:** Bake for 9–11 minutes, or until the edges are golden brown but the centers still look slightly underdone.\n9. **Cool:** Let the cookies cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.\n\n## Tips\n\n- For extra flavor, use a mix of semi-sweet and dark chocolate chips.\n- Chill the dough for 30 minutes before baking for thicker cookies.\n- Store in an airtight container at room temperature for up to 5 days.\n\n**Yield:** ~48 cookies | **Prep Time:** 15 min | **Bake Time:** 10 min\n"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01Tm7zwZ9h57snTQG5F1ogBs","modelId":"claude-opus-4-6","timestamp":"2026-04-03T15:10:06.803Z","metadata":{}},{"type":"tool-params-start","id":"toolu_017iyW3iv4d4McNYweMBaTPN","name":"update","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"{\"doc\":","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":" \"dxn:echo","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":":BD","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"JXMUL","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"PW","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"5FB55","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"UZ7KP","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"5HLDH","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"VTXUTHE","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"2U:01JGF","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"JJZ00G0W","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"KQSJGMA","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"KCNTJ1\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":", \"edit","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"s\": [{\"oldSt","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"ring\":\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"## ","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"Tips\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":",\"newString","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"\":\"#","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"# ","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"🎄 Holid","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"ay Variatio","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"n: Peppe","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"rmint Whit","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"e Ch","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"ocol","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"ate Cookies","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"\\n\\nGive","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":" these c","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"ookies a ","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"festive ","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"twi","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"st p","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"erfect f","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"or th","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"e hol","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"iday se","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"as","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"on!","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"\\n\\n#","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"## ","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"Ingre","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"dient Swaps","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"\\n","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"\\n- R","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"ep","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"lac","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"e semi-","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"sweet chocol","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"at","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"e chips","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":" with ","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"**2 cups","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":" white cho","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"col","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"ate","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":" chi","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"ps","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"**.\\n- Ad","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"d **½ cu","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"p crush","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"ed ","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"candy cane","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"s** (","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"about 6–","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"8 mini cand","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"y canes).\\n-","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":" Subst","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"itut","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"e vanilla e","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"xtract w","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"ith ","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"**1","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":" tsp v","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"anilla","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":" ex","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"tra","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"ct + 1 ","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"tsp peppe","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"rmint extrac","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"t**.\\n\\n#","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"## A","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"dditiona","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"l Steps\\n\\n-","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":" Fo","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"ld","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":" in the w","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"hite","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":" chocol","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"ate chips","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":" and cru","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"shed cand","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"y canes toge","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"ther in S","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"tep ","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"6.\\n- After ","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"coo","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"ling, ","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"drizzle melt","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"ed whi","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"te chocol","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"ate ov","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"er the","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":" tops ","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"and sprink","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"le","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":" with extra","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":" crus","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"hed","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":" ca","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"ndy cane pie","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"ces ","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"for de","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"co","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"ratio","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"n.\\n\\n### Ho","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"liday Ti","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"p\\n\\","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"n- P","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"lace cookie","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"s in","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":" a fest","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"ive tin or ","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"cellophane ","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"bags ti","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"ed","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":" wit","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"h r","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"ib","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"bon for a pe","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"rfect homem","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"ade holiday ","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"gift! 🎁\\n","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"\\n","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"## ","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"Tips\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iyW3iv4d4McNYweMBaTPN","delta":"}]}","metadata":{}},{"type":"tool-params-end","id":"toolu_017iyW3iv4d4McNYweMBaTPN","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":3098,"outputTokens":362,"totalTokens":3460},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":3098,"output_tokens":72,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>","options":{}},{"role":"user","content":"Create a document with a cookie recipe.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The user wants me to create a document with a cookie recipe. Let me create a nice markdown document with a classic cookie recipe.","options":{}},{"type":"tool-call","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","params":{"name":"Classic Chocolate Chip Cookies","content":"# Classic Chocolate Chip Cookies\n\nA timeless recipe for soft, chewy chocolate chip cookies that are golden on the edges and gooey in the center.\n\n## Ingredients\n\n- 2 ¼ cups all-purpose flour\n- 1 tsp baking soda\n- 1 tsp salt\n- 1 cup (2 sticks) unsalted butter, softened\n- ¾ cup granulated sugar\n- ¾ cup packed brown sugar\n- 2 large eggs\n- 2 tsp vanilla extract\n- 2 cups semi-sweet chocolate chips\n\n## Instructions\n\n1. **Preheat** the oven to 375°F (190°C). Line baking sheets with parchment paper.\n2. **Combine dry ingredients:** In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.\n3. **Cream the butter and sugars:** In a large bowl, beat the softened butter, granulated sugar, and brown sugar together until light and fluffy (about 2–3 minutes).\n4. **Add eggs and vanilla:** Beat in the eggs one at a time, then mix in the vanilla extract until combined.\n5. **Mix in dry ingredients:** Gradually add the flour mixture to the wet ingredients, stirring until just combined. Do not overmix.\n6. **Fold in chocolate chips:** Gently stir in the chocolate chips.\n7. **Scoop the dough:** Drop rounded tablespoons of dough onto the prepared baking sheets, spacing them about 2 inches apart.\n8. **Bake:** Bake for 9–11 minutes, or until the edges are golden brown but the centers still look slightly underdone.\n9. **Cool:** Let the cookies cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.\n\n## Tips\n\n- For extra flavor, use a mix of semi-sweet and dark chocolate chips.\n- Chill the dough for 30 minutes before baking for thicker cookies.\n- Store in an airtight container at room temperature for up to 5 days.\n\n**Yield:** ~48 cookies | **Prep Time:** 15 min | **Bake Time:** 10 min\n"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"id":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTJ1"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Your **Classic Chocolate Chip Cookies** recipe document has been created! 🍪 Here's a summary of what's included:\n\n- **Ingredients** – A full list including flour, butter, sugars, eggs, vanilla, and chocolate chips.\n- **Step-by-step instructions** – From preheating the oven to cooling the cookies on a wire rack.\n- **Helpful tips** – Like chilling the dough for thicker cookies and mixing chocolate chip varieties for extra flavor.\n\nThe recipe yields about 48 cookies with just 15 minutes of prep and 10 minutes of baking. Let me know if you'd like to make any changes!","options":{}},{"role":"user","content":"Add a section with a holiday-themed variation.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me open the document first to see its current content, then add a holiday-themed variation section.","options":{}},{"type":"tool-call","id":"toolu_01SHt1mry5HK5yLzdSqMywSB","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTJ1"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01SHt1mry5HK5yLzdSqMywSB","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Classic Chocolate Chip Cookies\n\nA timeless recipe for soft, chewy chocolate chip cookies that are golden on the edges and gooey in the center.\n\n## Ingredients\n\n- 2 ¼ cups all-purpose flour\n- 1 tsp baking soda\n- 1 tsp salt\n- 1 cup (2 sticks) unsalted butter, softened\n- ¾ cup granulated sugar\n- ¾ cup packed brown sugar\n- 2 large eggs\n- 2 tsp vanilla extract\n- 2 cups semi-sweet chocolate chips\n\n## Instructions\n\n1. **Preheat** the oven to 375°F (190°C). Line baking sheets with parchment paper.\n2. **Combine dry ingredients:** In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.\n3. **Cream the butter and sugars:** In a large bowl, beat the softened butter, granulated sugar, and brown sugar together until light and fluffy (about 2–3 minutes).\n4. **Add eggs and vanilla:** Beat in the eggs one at a time, then mix in the vanilla extract until combined.\n5. **Mix in dry ingredients:** Gradually add the flour mixture to the wet ingredients, stirring until just combined. Do not overmix.\n6. **Fold in chocolate chips:** Gently stir in the chocolate chips.\n7. **Scoop the dough:** Drop rounded tablespoons of dough onto the prepared baking sheets, spacing them about 2 inches apart.\n8. **Bake:** Bake for 9–11 minutes, or until the edges are golden brown but the centers still look slightly underdone.\n9. **Cool:** Let the cookies cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.\n\n## Tips\n\n- For extra flavor, use a mix of semi-sweet and dark chocolate chips.\n- Chill the dough for 30 minutes before baking for thicker cookies.\n- Store in an airtight container at room temperature for up to 5 days.\n\n**Yield:** ~48 cookies | **Prep Time:** 15 min | **Bake Time:** 10 min\n"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"tool-call","id":"toolu_017iyW3iv4d4McNYweMBaTPN","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTJ1","edits":[{"oldString":"## Tips","newString":"## 🎄 Holiday Variation: Peppermint White Chocolate Cookies\n\nGive these cookies a festive twist perfect for the holiday season!\n\n### Ingredient Swaps\n\n- Replace semi-sweet chocolate chips with **2 cups white chocolate chips**.\n- Add **½ cup crushed candy canes** (about 6–8 mini candy canes).\n- Substitute vanilla extract with **1 tsp vanilla extract + 1 tsp peppermint extract**.\n\n### Additional Steps\n\n- Fold in the white chocolate chips and crushed candy canes together in Step 6.\n- After cooling, drizzle melted white chocolate over the tops and sprinkle with extra crushed candy cane pieces for decoration.\n\n### Holiday Tip\n\n- Place cookies in a festive tin or cellophane bags tied with ribbon for a perfect homemade holiday gift! 🎁\n\n## Tips"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_017iyW3iv4d4McNYweMBaTPN","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Classic Chocolate Chip Cookies\n\nA timeless recipe for soft, chewy chocolate chip cookies that are golden on the edges and gooey in the center.\n\n## Ingredients\n\n- 2 ¼ cups all-purpose flour\n- 1 tsp baking soda\n- 1 tsp salt\n- 1 cup (2 sticks) unsalted butter, softened\n- ¾ cup granulated sugar\n- ¾ cup packed brown sugar\n- 2 large eggs\n- 2 tsp vanilla extract\n- 2 cups semi-sweet chocolate chips\n\n## Instructions\n\n1. **Preheat** the oven to 375°F (190°C). Line baking sheets with parchment paper.\n2. **Combine dry ingredients:** In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.\n3. **Cream the butter and sugars:** In a large bowl, beat the softened butter, granulated sugar, and brown sugar together until light and fluffy (about 2–3 minutes).\n4. **Add eggs and vanilla:** Beat in the eggs one at a time, then mix in the vanilla extract until combined.\n5. **Mix in dry ingredients:** Gradually add the flour mixture to the wet ingredients, stirring until just combined. Do not overmix.\n6. **Fold in chocolate chips:** Gently stir in the chocolate chips.\n7. **Scoop the dough:** Drop rounded tablespoons of dough onto the prepared baking sheets, spacing them about 2 inches apart.\n8. **Bake:** Bake for 9–11 minutes, or until the edges are golden brown but the centers still look slightly underdone.\n9. **Cool:** Let the cookies cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.\n\n## 🎄 Holiday Variation: Peppermint White Chocolate Cookies\n\nGive these cookies a festive twist perfect for the holiday season!\n\n### Ingredient Swaps\n\n- Replace semi-sweet chocolate chips with **2 cups white chocolate chips**.\n- Add **½ cup crushed candy canes** (about 6–8 mini candy canes).\n- Substitute vanilla extract with **1 tsp vanilla extract + 1 tsp peppermint extract**.\n\n### Additional Steps\n\n- Fold in the white chocolate chips and crushed candy canes together in Step 6.\n- After cooling, drizzle melted white chocolate over the tops and sprinkle with extra crushed candy cane pieces for decoration.\n\n### Holiday Tip\n\n- Place cookies in a festive tin or cellophane bags tied with ribbon for a perfect homemade holiday gift! 🎁\n\n## Tips\n\n- For extra flavor, use a mix of semi-sweet and dark chocolate chips.\n- Chill the dough for 30 minutes before baking for thicker cookies.\n- Store in an airtight container at room temperature for up to 5 days.\n\n**Yield:** ~48 cookies | **Prep Time:** 15 min | **Bake Time:** 10 min\n"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_011SYzMxX39DtYVwh5DoKXWh","modelId":"claude-opus-4-6","timestamp":"2026-04-03T15:10:14.437Z","metadata":{}},{"type":"text-start","id":"0","metadata":{}},{"type":"text-delta","id":"0","delta":"A festive **","metadata":{}},{"type":"text-delta","id":"0","delta":"🎄 Holiday Variation: Peppermint White Chocolate Cookies** section has been added! Here's what it includes:\n\n- **Ingredient Swaps** – White chocolate chips instead","metadata":{}},{"type":"text-delta","id":"0","delta":" of semi-sweet, crushed candy canes, and a splash of peppermint extract.\n- **Additional Steps** – Folding in the candy canes and drizzling mel","metadata":{}},{"type":"text-delta","id":"0","delta":"ted white chocolate on top for a beautiful holiday look.\n- **Holiday Tip** – A gif","metadata":{}},{"type":"text-delta","id":"0","delta":"ting idea for packaging the cookies in festive tins or ribbon-tied bags! 🎁\n\nLet","metadata":{}},{"type":"text-delta","id":"0","delta":" me know if you'd like any other changes!","metadata":{}},{"type":"text-end","id":"0","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":1,"outputTokens":146,"totalTokens":147},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":4283},"cache_creation_input_tokens":4283,"cache_read_input_tokens":0,"input_tokens":1,"output_tokens":4,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTRF</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add the missing ingredient (its flour).","options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01HdH8ZTY4nm6mUWSsUvK1Uh","modelId":"claude-opus-4-6","timestamp":"2026-04-03T15:10:18.293Z","metadata":{}},{"type":"reasoning-start","id":"0","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"Let","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" me first open the document to see its contents.","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{"anthropic":{"type":"thinking","signature":"Eu4BClkIDBgCKkCVr1A1J+aqALmLyqe1q5OXcYWXc7JVWASOydRf1dFOyadx06rDTP8RriabQAhjDMpDqVRvm7S0pE7Pw7AP4P75Mg9jbGF1ZGUtb3B1cy00LTY4ABIMr2KoikpgQkznd+CgGgw9KlfjWnHkwrY4WTkiMJDAXnCK7j/U5dy4O6ridOzzIOn9RYMt4avKikHL9oQLx040uxVh1sVGCwiRmpwxpSpDoASxHNqoXdpQGa5700boP6w26OhoE0XkX4P5jBqVnWlJXtTioSkXHn8jyaIWuj/K3JL3g4KdDYdqP4sz36PvAopkXhgB"}}},{"type":"reasoning-end","id":"0","metadata":{}},{"type":"text-start","id":"1","metadata":{}},{"type":"text-delta","id":"1","delta":"Let me open the document first to see its contents.","metadata":{}},{"type":"text-end","id":"1","metadata":{}},{"type":"tool-params-start","id":"toolu_01ATsbzBa9j7x63EoSVVmY5y","name":"open","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_01ATsbzBa9j7x63EoSVVmY5y","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01ATsbzBa9j7x63EoSVVmY5y","delta":"{\"doc\": ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01ATsbzBa9j7x63EoSVVmY5y","delta":"\"dxn:ech","metadata":{}},{"type":"tool-params-delta","id":"toolu_01ATsbzBa9j7x63EoSVVmY5y","delta":"o:BDJXMULPW5","metadata":{}},{"type":"tool-params-delta","id":"toolu_01ATsbzBa9j7x63EoSVVmY5y","delta":"FB55U","metadata":{}},{"type":"tool-params-delta","id":"toolu_01ATsbzBa9j7x63EoSVVmY5y","delta":"Z7K","metadata":{}},{"type":"tool-params-delta","id":"toolu_01ATsbzBa9j7x63EoSVVmY5y","delta":"P5HL","metadata":{}},{"type":"tool-params-delta","id":"toolu_01ATsbzBa9j7x63EoSVVmY5y","delta":"DH","metadata":{}},{"type":"tool-params-delta","id":"toolu_01ATsbzBa9j7x63EoSVVmY5y","delta":"VTXUTHE2","metadata":{}},{"type":"tool-params-delta","id":"toolu_01ATsbzBa9j7x63EoSVVmY5y","delta":"U:01JGF","metadata":{}},{"type":"tool-params-delta","id":"toolu_01ATsbzBa9j7x63EoSVVmY5y","delta":"JJZ00G0W","metadata":{}},{"type":"tool-params-delta","id":"toolu_01ATsbzBa9j7x63EoSVVmY5y","delta":"KQSJGMAKCNT","metadata":{}},{"type":"tool-params-delta","id":"toolu_01ATsbzBa9j7x63EoSVVmY5y","delta":"RF\"}","metadata":{}},{"type":"tool-params-end","id":"toolu_01ATsbzBa9j7x63EoSVVmY5y","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":1688,"outputTokens":135,"totalTokens":1823},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1688,"output_tokens":1,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTRF</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add the missing ingredient (its flour).","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its contents.","options":{}},{"type":"text","text":"Let me open the document first to see its contents.","options":{}},{"type":"tool-call","id":"toolu_01ATsbzBa9j7x63EoSVVmY5y","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTRF"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01ATsbzBa9j7x63EoSVVmY5y","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"Ingredients: \n - 2 cups of ???\n - 1 cup of sugar\n - 1 cup of butter\n - 1 cup of eggs"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01NbYncNa6dbyTFr47RJg6Lu","modelId":"claude-opus-4-6","timestamp":"2026-04-03T15:10:21.231Z","metadata":{}},{"type":"text-start","id":"0","metadata":{}},{"type":"text-delta","id":"0","delta":"I can","metadata":{}},{"type":"text-delta","id":"0","delta":" see the missing ingredient. Let me replace the `???` with `flour`.","metadata":{}},{"type":"text-end","id":"0","metadata":{}},{"type":"tool-params-start","id":"toolu_0126RQ6fGrqiamxDBZRDuD3r","name":"update","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_0126RQ6fGrqiamxDBZRDuD3r","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_0126RQ6fGrqiamxDBZRDuD3r","delta":"{\"doc\": \"dx","metadata":{}},{"type":"tool-params-delta","id":"toolu_0126RQ6fGrqiamxDBZRDuD3r","delta":"n:e","metadata":{}},{"type":"tool-params-delta","id":"toolu_0126RQ6fGrqiamxDBZRDuD3r","delta":"cho:BDJXMULP","metadata":{}},{"type":"tool-params-delta","id":"toolu_0126RQ6fGrqiamxDBZRDuD3r","delta":"W5FB55UZ7KP5","metadata":{}},{"type":"tool-params-delta","id":"toolu_0126RQ6fGrqiamxDBZRDuD3r","delta":"HLDHV","metadata":{}},{"type":"tool-params-delta","id":"toolu_0126RQ6fGrqiamxDBZRDuD3r","delta":"TXUTH","metadata":{}},{"type":"tool-params-delta","id":"toolu_0126RQ6fGrqiamxDBZRDuD3r","delta":"E2U:01","metadata":{}},{"type":"tool-params-delta","id":"toolu_0126RQ6fGrqiamxDBZRDuD3r","delta":"JGFJJZ00G0WK","metadata":{}},{"type":"tool-params-delta","id":"toolu_0126RQ6fGrqiamxDBZRDuD3r","delta":"QSJGMAKCNT","metadata":{}},{"type":"tool-params-delta","id":"toolu_0126RQ6fGrqiamxDBZRDuD3r","delta":"RF\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_0126RQ6fGrqiamxDBZRDuD3r","delta":", \"edits\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_0126RQ6fGrqiamxDBZRDuD3r","delta":": [","metadata":{}},{"type":"tool-params-delta","id":"toolu_0126RQ6fGrqiamxDBZRDuD3r","delta":"{\"oldString","metadata":{}},{"type":"tool-params-delta","id":"toolu_0126RQ6fGrqiamxDBZRDuD3r","delta":"\":","metadata":{}},{"type":"tool-params-delta","id":"toolu_0126RQ6fGrqiamxDBZRDuD3r","delta":"\"2 cups o","metadata":{}},{"type":"tool-params-delta","id":"toolu_0126RQ6fGrqiamxDBZRDuD3r","delta":"f ???\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_0126RQ6fGrqiamxDBZRDuD3r","delta":",\"newStrin","metadata":{}},{"type":"tool-params-delta","id":"toolu_0126RQ6fGrqiamxDBZRDuD3r","delta":"g\":\"2 cups","metadata":{}},{"type":"tool-params-delta","id":"toolu_0126RQ6fGrqiamxDBZRDuD3r","delta":" of flour\"}","metadata":{}},{"type":"tool-params-delta","id":"toolu_0126RQ6fGrqiamxDBZRDuD3r","delta":"]}","metadata":{}},{"type":"tool-params-end","id":"toolu_0126RQ6fGrqiamxDBZRDuD3r","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":1847,"outputTokens":161,"totalTokens":2008},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1847,"output_tokens":2,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTRF</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add the missing ingredient (its flour).","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its contents.","options":{}},{"type":"text","text":"Let me open the document first to see its contents.","options":{}},{"type":"tool-call","id":"toolu_01ATsbzBa9j7x63EoSVVmY5y","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTRF"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01ATsbzBa9j7x63EoSVVmY5y","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"Ingredients: \n - 2 cups of ???\n - 1 cup of sugar\n - 1 cup of butter\n - 1 cup of eggs"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"text","text":"I can see the missing ingredient. Let me replace the `???` with `flour`.","options":{}},{"type":"tool-call","id":"toolu_0126RQ6fGrqiamxDBZRDuD3r","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTRF","edits":[{"oldString":"2 cups of ???","newString":"2 cups of flour"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_0126RQ6fGrqiamxDBZRDuD3r","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"Ingredients: \n - 2 cups of flour\n - 1 cup of sugar\n - 1 cup of butter\n - 1 cup of eggs"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_018mdL9dtBuC4n1Mr2qkPpA6","modelId":"claude-opus-4-6","timestamp":"2026-04-03T15:10:24.845Z","metadata":{}},{"type":"text-start","id":"0","metadata":{}},{"type":"text-delta","id":"0","delta":"Done","metadata":{}},{"type":"text-delta","id":"0","delta":"! I've replaced the `???` with **flour** in the ingredients list.","metadata":{}},{"type":"text-end","id":"0","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":2084,"outputTokens":21,"totalTokens":2105},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2084,"output_tokens":1,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV6</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01LEsrPh9NBgyMxjDvASeTgz","modelId":"claude-opus-4-6","timestamp":"2026-04-03T15:10:27.753Z","metadata":{}},{"type":"reasoning-start","id":"0","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"Let","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" me first open the document to see its current contents.","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{"anthropic":{"type":"thinking","signature":"EvYBClkIDBgCKkB59APG7kQJaS56ZghJ7yGmUDPTIff8aJqcCaiTm7DBlPfIkAEzU9xUX9RfyXK8kuAlQ2FqlGTMKvYxrrstJfcdMg9jbGF1ZGUtb3B1cy00LTY4ABIMV3hjycFe2bJlJSxlGgyq0sbZ1U4M80Dct4UiMPKCv9Lve/nz2ew5oqA2soghBdaumXY443t3MYBj9UT1v9rF1p3xoj1yR+8BBypKjCpL3tjC08Q4nNVgsWCxU2IoKFOodw3TB18PP5pfcluThyNpQWFTDsRBNifMolNTJkDkxCYT6I5dxvhYbtd8VsrHPIqfyw0zqHSlhS7sGAE="}}},{"type":"reasoning-end","id":"0","metadata":{}},{"type":"text-start","id":"1","metadata":{}},{"type":"text-delta","id":"1","delta":"Let me first open the document to see what's currently on","metadata":{}},{"type":"text-delta","id":"1","delta":" the shopping list.","metadata":{}},{"type":"text-end","id":"1","metadata":{}},{"type":"tool-params-start","id":"toolu_018BrUKq2YEnFiEhhdjqyRPb","name":"open","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_018BrUKq2YEnFiEhhdjqyRPb","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_018BrUKq2YEnFiEhhdjqyRPb","delta":"{\"doc\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_018BrUKq2YEnFiEhhdjqyRPb","delta":": \"dxn:ech","metadata":{}},{"type":"tool-params-delta","id":"toolu_018BrUKq2YEnFiEhhdjqyRPb","delta":"o:BDJX","metadata":{}},{"type":"tool-params-delta","id":"toolu_018BrUKq2YEnFiEhhdjqyRPb","delta":"MULPW5","metadata":{}},{"type":"tool-params-delta","id":"toolu_018BrUKq2YEnFiEhhdjqyRPb","delta":"FB55UZ7KP5HL","metadata":{}},{"type":"tool-params-delta","id":"toolu_018BrUKq2YEnFiEhhdjqyRPb","delta":"DHVTXUTHE2","metadata":{}},{"type":"tool-params-delta","id":"toolu_018BrUKq2YEnFiEhhdjqyRPb","delta":"U:01JGF","metadata":{}},{"type":"tool-params-delta","id":"toolu_018BrUKq2YEnFiEhhdjqyRPb","delta":"JJZ00G0WKQ","metadata":{}},{"type":"tool-params-delta","id":"toolu_018BrUKq2YEnFiEhhdjqyRPb","delta":"SJ","metadata":{}},{"type":"tool-params-delta","id":"toolu_018BrUKq2YEnFiEhhdjqyRPb","delta":"GM","metadata":{}},{"type":"tool-params-delta","id":"toolu_018BrUKq2YEnFiEhhdjqyRPb","delta":"AK","metadata":{}},{"type":"tool-params-delta","id":"toolu_018BrUKq2YEnFiEhhdjqyRPb","delta":"CNTV6","metadata":{}},{"type":"tool-params-delta","id":"toolu_018BrUKq2YEnFiEhhdjqyRPb","delta":"\"}","metadata":{}},{"type":"tool-params-end","id":"toolu_018BrUKq2YEnFiEhhdjqyRPb","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":1688,"outputTokens":142,"totalTokens":1830},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1688,"output_tokens":1,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV6</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its current contents.","options":{}},{"type":"text","text":"Let me first open the document to see what's currently on the shopping list.","options":{}},{"type":"tool-call","id":"toolu_018BrUKq2YEnFiEhhdjqyRPb","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV6"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_018BrUKq2YEnFiEhhdjqyRPb","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Shopping list"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01Kw9HqqHJAe5mrDwxszk7fr","modelId":"claude-opus-4-6","timestamp":"2026-04-03T15:10:32.206Z","metadata":{}},{"type":"text-start","id":"0","metadata":{}},{"type":"text-delta","id":"0","delta":"Now","metadata":{}},{"type":"text-delta","id":"0","delta":" I'll add milk to the shopping list.","metadata":{}},{"type":"text-end","id":"0","metadata":{}},{"type":"tool-params-start","id":"toolu_01V3S8Ctm35ZJZrDSJAeqzAX","name":"update","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_01V3S8Ctm35ZJZrDSJAeqzAX","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01V3S8Ctm35ZJZrDSJAeqzAX","delta":"{\"doc\": \"d","metadata":{}},{"type":"tool-params-delta","id":"toolu_01V3S8Ctm35ZJZrDSJAeqzAX","delta":"xn:echo","metadata":{}},{"type":"tool-params-delta","id":"toolu_01V3S8Ctm35ZJZrDSJAeqzAX","delta":":B","metadata":{}},{"type":"tool-params-delta","id":"toolu_01V3S8Ctm35ZJZrDSJAeqzAX","delta":"DJ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01V3S8Ctm35ZJZrDSJAeqzAX","delta":"XMULPW","metadata":{}},{"type":"tool-params-delta","id":"toolu_01V3S8Ctm35ZJZrDSJAeqzAX","delta":"5F","metadata":{}},{"type":"tool-params-delta","id":"toolu_01V3S8Ctm35ZJZrDSJAeqzAX","delta":"B55","metadata":{}},{"type":"tool-params-delta","id":"toolu_01V3S8Ctm35ZJZrDSJAeqzAX","delta":"UZ7KP5HLD","metadata":{}},{"type":"tool-params-delta","id":"toolu_01V3S8Ctm35ZJZrDSJAeqzAX","delta":"HVTXUTHE2U:0","metadata":{}},{"type":"tool-params-delta","id":"toolu_01V3S8Ctm35ZJZrDSJAeqzAX","delta":"1JGFJJZ00G","metadata":{}},{"type":"tool-params-delta","id":"toolu_01V3S8Ctm35ZJZrDSJAeqzAX","delta":"0WKQSJGMAKC","metadata":{}},{"type":"tool-params-delta","id":"toolu_01V3S8Ctm35ZJZrDSJAeqzAX","delta":"NTV6\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01V3S8Ctm35ZJZrDSJAeqzAX","delta":", \"edits","metadata":{}},{"type":"tool-params-delta","id":"toolu_01V3S8Ctm35ZJZrDSJAeqzAX","delta":"\": [{\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01V3S8Ctm35ZJZrDSJAeqzAX","delta":"ol","metadata":{}},{"type":"tool-params-delta","id":"toolu_01V3S8Ctm35ZJZrDSJAeqzAX","delta":"dString","metadata":{}},{"type":"tool-params-delta","id":"toolu_01V3S8Ctm35ZJZrDSJAeqzAX","delta":"\":\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01V3S8Ctm35ZJZrDSJAeqzAX","delta":"# Sh","metadata":{}},{"type":"tool-params-delta","id":"toolu_01V3S8Ctm35ZJZrDSJAeqzAX","delta":"opping li","metadata":{}},{"type":"tool-params-delta","id":"toolu_01V3S8Ctm35ZJZrDSJAeqzAX","delta":"st\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01V3S8Ctm35ZJZrDSJAeqzAX","delta":",\"n","metadata":{}},{"type":"tool-params-delta","id":"toolu_01V3S8Ctm35ZJZrDSJAeqzAX","delta":"ewString","metadata":{}},{"type":"tool-params-delta","id":"toolu_01V3S8Ctm35ZJZrDSJAeqzAX","delta":"\":\"# Shoppi","metadata":{}},{"type":"tool-params-delta","id":"toolu_01V3S8Ctm35ZJZrDSJAeqzAX","delta":"ng","metadata":{}},{"type":"tool-params-delta","id":"toolu_01V3S8Ctm35ZJZrDSJAeqzAX","delta":" list\\n\\n- ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01V3S8Ctm35ZJZrDSJAeqzAX","delta":"Milk\"}]}","metadata":{}},{"type":"tool-params-end","id":"toolu_01V3S8Ctm35ZJZrDSJAeqzAX","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":1813,"outputTokens":160,"totalTokens":1973},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1813,"output_tokens":1,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV6</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its current contents.","options":{}},{"type":"text","text":"Let me first open the document to see what's currently on the shopping list.","options":{}},{"type":"tool-call","id":"toolu_018BrUKq2YEnFiEhhdjqyRPb","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV6"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_018BrUKq2YEnFiEhhdjqyRPb","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Shopping list"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"text","text":"Now I'll add milk to the shopping list.","options":{}},{"type":"tool-call","id":"toolu_01V3S8Ctm35ZJZrDSJAeqzAX","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV6","edits":[{"oldString":"# Shopping list","newString":"# Shopping list\n\n- Milk"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01V3S8Ctm35ZJZrDSJAeqzAX","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n\n- Milk"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01Buyr6RGURsqfZZJdD2uCpZ","modelId":"claude-opus-4-6","timestamp":"2026-04-03T15:10:35.488Z","metadata":{}},{"type":"text-start","id":"0","metadata":{}},{"type":"text-delta","id":"0","delta":"Done","metadata":{}},{"type":"text-delta","id":"0","delta":"! I've added **Milk** to your shopping list. 🥛","metadata":{}},{"type":"text-end","id":"0","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":2013,"outputTokens":21,"totalTokens":2034},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2013,"output_tokens":1,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV6</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its current contents.","options":{}},{"type":"text","text":"Let me first open the document to see what's currently on the shopping list.","options":{}},{"type":"tool-call","id":"toolu_018BrUKq2YEnFiEhhdjqyRPb","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV6"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_018BrUKq2YEnFiEhhdjqyRPb","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Shopping list"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"text","text":"Now I'll add milk to the shopping list.","options":{}},{"type":"tool-call","id":"toolu_01V3S8Ctm35ZJZrDSJAeqzAX","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV6","edits":[{"oldString":"# Shopping list","newString":"# Shopping list\n\n- Milk"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01V3S8Ctm35ZJZrDSJAeqzAX","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n\n- Milk"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Done! I've added **Milk** to your shopping list. 🥛","options":{}},{"role":"user","content":"Add bread to the shopping list.","options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_016hF3p1MVsbQ9eX1xeSBJpe","modelId":"claude-opus-4-6","timestamp":"2026-04-03T15:10:38.343Z","metadata":{}},{"type":"reasoning-start","id":"0","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"The document","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" currently has \"# Shopping list\\n\\n- Milk\". I need to add bread to it.","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{"anthropic":{"type":"thinking","signature":"Eo0CClkIDBgCKkBT5+bVgzE2maMSmMU4L/kR6pBeneIyOTvJOSkWU1vPTL5wj1nPzDu1MnWXzfLqcyJDKtCFORIV5edr6LfyA4R9Mg9jbGF1ZGUtb3B1cy00LTY4ABIMLH4Cg4qCbt3wOAL9GgzyvGcQXM5f5foCF/wiMGSLoHWwk84XJuzEeRsuz0l+33MdFpJTl23WRLwi8S8fcxG/EM42rP30KUmX/764kypih1r1bMOizNPdoLuJjEt9HYRaT1ojFj8BCSLV+PJzWYxQk1wg62y1YE/QtG/2uuq+EzF7VRwFgnWjHkLHTV/SyQgBl2+DvrdOaC2/j8y0PUWKBsWfYCstuR+5xf45/aQZE7MYAQ=="}}},{"type":"reasoning-end","id":"0","metadata":{}},{"type":"tool-params-start","id":"toolu_01S7crcDwtm9VkkXgEqmQZSP","name":"update","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_01S7crcDwtm9VkkXgEqmQZSP","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01S7crcDwtm9VkkXgEqmQZSP","delta":"{\"doc\": \"d","metadata":{}},{"type":"tool-params-delta","id":"toolu_01S7crcDwtm9VkkXgEqmQZSP","delta":"xn:e","metadata":{}},{"type":"tool-params-delta","id":"toolu_01S7crcDwtm9VkkXgEqmQZSP","delta":"cho:BDJX","metadata":{}},{"type":"tool-params-delta","id":"toolu_01S7crcDwtm9VkkXgEqmQZSP","delta":"MULPW5FB5","metadata":{}},{"type":"tool-params-delta","id":"toolu_01S7crcDwtm9VkkXgEqmQZSP","delta":"5UZ7KP5H","metadata":{}},{"type":"tool-params-delta","id":"toolu_01S7crcDwtm9VkkXgEqmQZSP","delta":"LDHVTXUTH","metadata":{}},{"type":"tool-params-delta","id":"toolu_01S7crcDwtm9VkkXgEqmQZSP","delta":"E2U:01","metadata":{}},{"type":"tool-params-delta","id":"toolu_01S7crcDwtm9VkkXgEqmQZSP","delta":"JGFJJZ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01S7crcDwtm9VkkXgEqmQZSP","delta":"00G0WK","metadata":{}},{"type":"tool-params-delta","id":"toolu_01S7crcDwtm9VkkXgEqmQZSP","delta":"QS","metadata":{}},{"type":"tool-params-delta","id":"toolu_01S7crcDwtm9VkkXgEqmQZSP","delta":"JGMAKCNTV6\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01S7crcDwtm9VkkXgEqmQZSP","delta":", \"ed","metadata":{}},{"type":"tool-params-delta","id":"toolu_01S7crcDwtm9VkkXgEqmQZSP","delta":"its","metadata":{}},{"type":"tool-params-delta","id":"toolu_01S7crcDwtm9VkkXgEqmQZSP","delta":"\":","metadata":{}},{"type":"tool-params-delta","id":"toolu_01S7crcDwtm9VkkXgEqmQZSP","delta":" [{\"oldS","metadata":{}},{"type":"tool-params-delta","id":"toolu_01S7crcDwtm9VkkXgEqmQZSP","delta":"tring\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01S7crcDwtm9VkkXgEqmQZSP","delta":":\"- M","metadata":{}},{"type":"tool-params-delta","id":"toolu_01S7crcDwtm9VkkXgEqmQZSP","delta":"ilk\",\"n","metadata":{}},{"type":"tool-params-delta","id":"toolu_01S7crcDwtm9VkkXgEqmQZSP","delta":"ewString\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01S7crcDwtm9VkkXgEqmQZSP","delta":":\"-","metadata":{}},{"type":"tool-params-delta","id":"toolu_01S7crcDwtm9VkkXgEqmQZSP","delta":" Milk","metadata":{}},{"type":"tool-params-delta","id":"toolu_01S7crcDwtm9VkkXgEqmQZSP","delta":"\\n- Bread\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01S7crcDwtm9VkkXgEqmQZSP","delta":"}]}","metadata":{}},{"type":"tool-params-end","id":"toolu_01S7crcDwtm9VkkXgEqmQZSP","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":2073,"outputTokens":179,"totalTokens":2252},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2073,"output_tokens":2,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV6</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its current contents.","options":{}},{"type":"text","text":"Let me first open the document to see what's currently on the shopping list.","options":{}},{"type":"tool-call","id":"toolu_018BrUKq2YEnFiEhhdjqyRPb","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV6"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_018BrUKq2YEnFiEhhdjqyRPb","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Shopping list"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"text","text":"Now I'll add milk to the shopping list.","options":{}},{"type":"tool-call","id":"toolu_01V3S8Ctm35ZJZrDSJAeqzAX","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV6","edits":[{"oldString":"# Shopping list","newString":"# Shopping list\n\n- Milk"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01V3S8Ctm35ZJZrDSJAeqzAX","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n\n- Milk"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Done! I've added **Milk** to your shopping list. 🥛","options":{}},{"role":"user","content":"Add bread to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The document currently has \"# Shopping list\\n\\n- Milk\". I need to add bread to it.","options":{}},{"type":"tool-call","id":"toolu_01S7crcDwtm9VkkXgEqmQZSP","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV6","edits":[{"oldString":"- Milk","newString":"- Milk\n- Bread"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01S7crcDwtm9VkkXgEqmQZSP","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n\n- Milk\n- Bread"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_0175X9FDgAB9et9nkXHX15nV","modelId":"claude-opus-4-6","timestamp":"2026-04-03T15:10:42.158Z","metadata":{}},{"type":"text-start","id":"0","metadata":{}},{"type":"text-delta","id":"0","delta":"Done! I've added **Bread","metadata":{}},{"type":"text-delta","id":"0","delta":"** to your shopping list. 🍞 Here's what you have so far:\n\n- Milk\n-","metadata":{}},{"type":"text-delta","id":"0","delta":" Bread","metadata":{}},{"type":"text-end","id":"0","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":2237,"outputTokens":38,"totalTokens":2275},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2237,"output_tokens":8,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV6</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its current contents.","options":{}},{"type":"text","text":"Let me first open the document to see what's currently on the shopping list.","options":{}},{"type":"tool-call","id":"toolu_018BrUKq2YEnFiEhhdjqyRPb","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV6"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_018BrUKq2YEnFiEhhdjqyRPb","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Shopping list"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"text","text":"Now I'll add milk to the shopping list.","options":{}},{"type":"tool-call","id":"toolu_01V3S8Ctm35ZJZrDSJAeqzAX","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV6","edits":[{"oldString":"# Shopping list","newString":"# Shopping list\n\n- Milk"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01V3S8Ctm35ZJZrDSJAeqzAX","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n\n- Milk"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Done! I've added **Milk** to your shopping list. 🥛","options":{}},{"role":"user","content":"Add bread to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The document currently has \"# Shopping list\\n\\n- Milk\". I need to add bread to it.","options":{}},{"type":"tool-call","id":"toolu_01S7crcDwtm9VkkXgEqmQZSP","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV6","edits":[{"oldString":"- Milk","newString":"- Milk\n- Bread"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01S7crcDwtm9VkkXgEqmQZSP","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n\n- Milk\n- Bread"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Done! I've added **Bread** to your shopping list. 🍞 Here's what you have so far:\n\n- Milk\n- Bread","options":{}},{"role":"user","content":"Add eggs to the shopping list.","options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01DRyCgr26YbkQvJRhEG6HK1","modelId":"claude-opus-4-6","timestamp":"2026-04-03T15:10:44.670Z","metadata":{}},{"type":"reasoning-start","id":"0","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"Add","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" eggs to the list.","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{"anthropic":{"type":"thinking","signature":"EtABClkIDBgCKkAYL/LtQkxanOvRw3IBKGYU+7tRbO0J2BH6tFXKtxVCbhYdYyu7dMyQ0dPmOT/iamobMCR9H0m7TDEOx7SOWWi4Mg9jbGF1ZGUtb3B1cy00LTY4ABIMoZGXoVycpD13jl30GgyZkw+F60Rsgj24peIiMFxzpAINs+u4AOPeXIcvoQa9Pt9PGaW5T3DCosgOewAV3qO8dqYjPPrVuzrDgX/Tqyol87okZCo3D2PE0BwTmb7ZOkr85GWAY2cCN1uyHWiWVvyXdAejeRgB"}}},{"type":"reasoning-end","id":"0","metadata":{}},{"type":"tool-params-start","id":"toolu_01NCkvjWQwPsvKN7bivqwcXw","name":"update","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_01NCkvjWQwPsvKN7bivqwcXw","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NCkvjWQwPsvKN7bivqwcXw","delta":"{\"doc\": \"dxn","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NCkvjWQwPsvKN7bivqwcXw","delta":":echo:BDJX","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NCkvjWQwPsvKN7bivqwcXw","delta":"MULPW","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NCkvjWQwPsvKN7bivqwcXw","delta":"5FB55UZ7K","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NCkvjWQwPsvKN7bivqwcXw","delta":"P5H","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NCkvjWQwPsvKN7bivqwcXw","delta":"LDHVTXUTHE2U","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NCkvjWQwPsvKN7bivqwcXw","delta":":01JGFJJZ0","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NCkvjWQwPsvKN7bivqwcXw","delta":"0G0WK","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NCkvjWQwPsvKN7bivqwcXw","delta":"QSJGMAKCNTV6","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NCkvjWQwPsvKN7bivqwcXw","delta":"\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NCkvjWQwPsvKN7bivqwcXw","delta":", \"edit","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NCkvjWQwPsvKN7bivqwcXw","delta":"s\": [{\"old","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NCkvjWQwPsvKN7bivqwcXw","delta":"St","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NCkvjWQwPsvKN7bivqwcXw","delta":"rin","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NCkvjWQwPsvKN7bivqwcXw","delta":"g\":\"- Bread\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NCkvjWQwPsvKN7bivqwcXw","delta":",\"new","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NCkvjWQwPsvKN7bivqwcXw","delta":"String\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NCkvjWQwPsvKN7bivqwcXw","delta":":\"- Bre","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NCkvjWQwPsvKN7bivqwcXw","delta":"ad\\n- Eggs\"}","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NCkvjWQwPsvKN7bivqwcXw","delta":"]}","metadata":{}},{"type":"tool-params-end","id":"toolu_01NCkvjWQwPsvKN7bivqwcXw","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":2314,"outputTokens":161,"totalTokens":2475},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2314,"output_tokens":1,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV6</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its current contents.","options":{}},{"type":"text","text":"Let me first open the document to see what's currently on the shopping list.","options":{}},{"type":"tool-call","id":"toolu_018BrUKq2YEnFiEhhdjqyRPb","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV6"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_018BrUKq2YEnFiEhhdjqyRPb","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Shopping list"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"text","text":"Now I'll add milk to the shopping list.","options":{}},{"type":"tool-call","id":"toolu_01V3S8Ctm35ZJZrDSJAeqzAX","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV6","edits":[{"oldString":"# Shopping list","newString":"# Shopping list\n\n- Milk"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01V3S8Ctm35ZJZrDSJAeqzAX","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n\n- Milk"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Done! I've added **Milk** to your shopping list. 🥛","options":{}},{"role":"user","content":"Add bread to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The document currently has \"# Shopping list\\n\\n- Milk\". I need to add bread to it.","options":{}},{"type":"tool-call","id":"toolu_01S7crcDwtm9VkkXgEqmQZSP","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV6","edits":[{"oldString":"- Milk","newString":"- Milk\n- Bread"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01S7crcDwtm9VkkXgEqmQZSP","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n\n- Milk\n- Bread"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Done! I've added **Bread** to your shopping list. 🍞 Here's what you have so far:\n\n- Milk\n- Bread","options":{}},{"role":"user","content":"Add eggs to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Add eggs to the list.","options":{}},{"type":"tool-call","id":"toolu_01NCkvjWQwPsvKN7bivqwcXw","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV6","edits":[{"oldString":"- Bread","newString":"- Bread\n- Eggs"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01NCkvjWQwPsvKN7bivqwcXw","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n\n- Milk\n- Bread\n- Eggs"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_011rR7P4P1BZWRJwgQz1NREW","modelId":"claude-opus-4-6","timestamp":"2026-04-03T15:10:48.136Z","metadata":{}},{"type":"text-start","id":"0","metadata":{}},{"type":"text-delta","id":"0","delta":"Done! I've added **Eggs","metadata":{}},{"type":"text-delta","id":"0","delta":"** to your shopping list. 🥚 Here's what you have so far:\n\n- Milk\n- Bread\n- Eggs","metadata":{}},{"type":"text-end","id":"0","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":2483,"outputTokens":42,"totalTokens":2525},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2483,"output_tokens":8,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>","options":{}},{"role":"user","content":"Create a document with a cookie recipe.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The user wants me to create a document with a cookie recipe. Let me create a nice markdown document with a classic cookie recipe.","options":{}},{"type":"tool-call","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","params":{"name":"Classic Chocolate Chip Cookies","content":"# Classic Chocolate Chip Cookies\n\nA timeless recipe for soft, chewy chocolate chip cookies that are golden on the edges and gooey in the center.\n\n## Ingredients\n\n- 2 ¼ cups all-purpose flour\n- 1 tsp baking soda\n- 1 tsp salt\n- 1 cup (2 sticks) unsalted butter, softened\n- ¾ cup granulated sugar\n- ¾ cup packed brown sugar\n- 2 large eggs\n- 2 tsp vanilla extract\n- 2 cups semi-sweet chocolate chips\n\n## Instructions\n\n1. **Preheat** the oven to 375°F (190°C). Line baking sheets with parchment paper.\n2. **Combine dry ingredients:** In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.\n3. **Cream the butter and sugars:** In a large bowl, beat the softened butter, granulated sugar, and brown sugar together until light and fluffy (about 2–3 minutes).\n4. **Add eggs and vanilla:** Beat in the eggs one at a time, then mix in the vanilla extract until combined.\n5. **Mix in dry ingredients:** Gradually add the flour mixture to the wet ingredients, stirring until just combined. Do not overmix.\n6. **Fold in chocolate chips:** Gently stir in the chocolate chips.\n7. **Scoop the dough:** Drop rounded tablespoons of dough onto the prepared baking sheets, spacing them about 2 inches apart.\n8. **Bake:** Bake for 9–11 minutes, or until the edges are golden brown but the centers still look slightly underdone.\n9. **Cool:** Let the cookies cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.\n\n## Tips\n\n- For extra flavor, use a mix of semi-sweet and dark chocolate chips.\n- Chill the dough for 30 minutes before baking for thicker cookies.\n- Store in an airtight container at room temperature for up to 5 days.\n\n**Yield:** ~48 cookies | **Prep Time:** 15 min | **Bake Time:** 10 min\n"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"id":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTJ2"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01C5cXriw1khJGsGaaYJBbfZ","modelId":"claude-opus-4-6","timestamp":"2026-04-09T17:26:51.453Z","metadata":{}},{"type":"text-start","id":"0","metadata":{}},{"type":"text-delta","id":"0","delta":"Your","metadata":{}},{"type":"text-delta","id":"0","delta":" cookie recipe document has been created! 🍪 Here's a summary of what's inside:\n\n- **Title","metadata":{}},{"type":"text-delta","id":"0","delta":":** Classic Chocolate Chip Cookies\n- **Ingredients:** A classic lineup including butter, sugars, flour, eggs, vanilla, and semi","metadata":{}},{"type":"text-delta","id":"0","delta":"-sweet chocolate chips.\n- **Instructions:** 9 easy steps from preheating the oven to cooling the finished","metadata":{}},{"type":"text-delta","id":"0","delta":" cookies.\n- **Tips:** Suggestions for extra flavor, thicker cookies, and storage.\n- **Yield:** ~48 cookies with","metadata":{}},{"type":"text-delta","id":"0","delta":" a total time of about 25 minutes.\n\nLet me know if you'd like to make","metadata":{}},{"type":"text-delta","id":"0","delta":" any changes to the recipe!","metadata":{}},{"type":"text-end","id":"0","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":2245,"outputTokens":143,"totalTokens":2388},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2245,"output_tokens":1,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>","options":{}},{"role":"user","content":"Create a document with a cookie recipe.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The user wants me to create a document with a cookie recipe. Let me create a nice markdown document with a classic cookie recipe.","options":{}},{"type":"tool-call","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","params":{"name":"Classic Chocolate Chip Cookies","content":"# Classic Chocolate Chip Cookies\n\nA timeless recipe for soft, chewy chocolate chip cookies that are golden on the edges and gooey in the center.\n\n## Ingredients\n\n- 2 ¼ cups all-purpose flour\n- 1 tsp baking soda\n- 1 tsp salt\n- 1 cup (2 sticks) unsalted butter, softened\n- ¾ cup granulated sugar\n- ¾ cup packed brown sugar\n- 2 large eggs\n- 2 tsp vanilla extract\n- 2 cups semi-sweet chocolate chips\n\n## Instructions\n\n1. **Preheat** the oven to 375°F (190°C). Line baking sheets with parchment paper.\n2. **Combine dry ingredients:** In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.\n3. **Cream the butter and sugars:** In a large bowl, beat the softened butter, granulated sugar, and brown sugar together until light and fluffy (about 2–3 minutes).\n4. **Add eggs and vanilla:** Beat in the eggs one at a time, then mix in the vanilla extract until combined.\n5. **Mix in dry ingredients:** Gradually add the flour mixture to the wet ingredients, stirring until just combined. Do not overmix.\n6. **Fold in chocolate chips:** Gently stir in the chocolate chips.\n7. **Scoop the dough:** Drop rounded tablespoons of dough onto the prepared baking sheets, spacing them about 2 inches apart.\n8. **Bake:** Bake for 9–11 minutes, or until the edges are golden brown but the centers still look slightly underdone.\n9. **Cool:** Let the cookies cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.\n\n## Tips\n\n- For extra flavor, use a mix of semi-sweet and dark chocolate chips.\n- Chill the dough for 30 minutes before baking for thicker cookies.\n- Store in an airtight container at room temperature for up to 5 days.\n\n**Yield:** ~48 cookies | **Prep Time:** 15 min | **Bake Time:** 10 min\n"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"id":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTJ2"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Your cookie recipe document has been created! 🍪 Here's a summary of what's inside:\n\n- **Title:** Classic Chocolate Chip Cookies\n- **Ingredients:** A classic lineup including butter, sugars, flour, eggs, vanilla, and semi-sweet chocolate chips.\n- **Instructions:** 9 easy steps from preheating the oven to cooling the finished cookies.\n- **Tips:** Suggestions for extra flavor, thicker cookies, and storage.\n- **Yield:** ~48 cookies with a total time of about 25 minutes.\n\nLet me know if you'd like to make any changes to the recipe!","options":{}},{"role":"user","content":"Add a section with a holiday-themed variation.","options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01EQuF35Jk4XiNKkCFJXGrA6","modelId":"claude-opus-4-6","timestamp":"2026-04-09T17:26:56.379Z","metadata":{}},{"type":"reasoning-start","id":"0","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"Let","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" me open the document first to see its current content, then add the holiday variation section.","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{"anthropic":{"type":"thinking","signature":"Ep0CClkIDBgCKkBMC1PLG4Z6gww/+mh0J/LbnQpDCE23Y6UIO4sFX9HmCw7rne2oIi1+CvV8ECpEC0tFZXuqk8zo5sSdbUtwZE8qMg9jbGF1ZGUtb3B1cy00LTY4ABIMBDXzXSDyflrO6io0Ggz3iGcHDNkOweUaRN8iMMkECgXBB27EyIB6jGtINrhaLJGe7W6okMxLqKqMwiuj++LQwR6S7/bgo3veLVZ5tSpyTOm++bbzWnQAb6UO37AKMpxRpTU7G0wx/CITyqhJhGXWUl3tWE1CqVxmYmP8SzaB8gfXX0jXNUIqyVbQB/1uKltSqx8YgWYN9ObVvFGP7xQEZSlGkGr4ZoMulk1rc/yrbKBV/tjP+1O/6RYr1jE++Yd9GAE="}}},{"type":"reasoning-end","id":"0","metadata":{}},{"type":"tool-params-start","id":"toolu_01MmHJMCMcPQDkHKkhNFrt9v","name":"open","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_01MmHJMCMcPQDkHKkhNFrt9v","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01MmHJMCMcPQDkHKkhNFrt9v","delta":"{\"doc","metadata":{}},{"type":"tool-params-delta","id":"toolu_01MmHJMCMcPQDkHKkhNFrt9v","delta":"\": \"01","metadata":{}},{"type":"tool-params-delta","id":"toolu_01MmHJMCMcPQDkHKkhNFrt9v","delta":"JGFJJZ00","metadata":{}},{"type":"tool-params-delta","id":"toolu_01MmHJMCMcPQDkHKkhNFrt9v","delta":"G0WKQSJGMA","metadata":{}},{"type":"tool-params-delta","id":"toolu_01MmHJMCMcPQDkHKkhNFrt9v","delta":"KCN","metadata":{}},{"type":"tool-params-delta","id":"toolu_01MmHJMCMcPQDkHKkhNFrt9v","delta":"TJ2\"}","metadata":{}},{"type":"tool-params-end","id":"toolu_01MmHJMCMcPQDkHKkhNFrt9v","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":2430,"outputTokens":98,"totalTokens":2528},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2430,"output_tokens":1,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>","options":{}},{"role":"user","content":"Create a document with a cookie recipe.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The user wants me to create a document with a cookie recipe. Let me create a nice markdown document with a classic cookie recipe.","options":{}},{"type":"tool-call","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","params":{"name":"Classic Chocolate Chip Cookies","content":"# Classic Chocolate Chip Cookies\n\nA timeless recipe for soft, chewy chocolate chip cookies that are golden on the edges and gooey in the center.\n\n## Ingredients\n\n- 2 ¼ cups all-purpose flour\n- 1 tsp baking soda\n- 1 tsp salt\n- 1 cup (2 sticks) unsalted butter, softened\n- ¾ cup granulated sugar\n- ¾ cup packed brown sugar\n- 2 large eggs\n- 2 tsp vanilla extract\n- 2 cups semi-sweet chocolate chips\n\n## Instructions\n\n1. **Preheat** the oven to 375°F (190°C). Line baking sheets with parchment paper.\n2. **Combine dry ingredients:** In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.\n3. **Cream the butter and sugars:** In a large bowl, beat the softened butter, granulated sugar, and brown sugar together until light and fluffy (about 2–3 minutes).\n4. **Add eggs and vanilla:** Beat in the eggs one at a time, then mix in the vanilla extract until combined.\n5. **Mix in dry ingredients:** Gradually add the flour mixture to the wet ingredients, stirring until just combined. Do not overmix.\n6. **Fold in chocolate chips:** Gently stir in the chocolate chips.\n7. **Scoop the dough:** Drop rounded tablespoons of dough onto the prepared baking sheets, spacing them about 2 inches apart.\n8. **Bake:** Bake for 9–11 minutes, or until the edges are golden brown but the centers still look slightly underdone.\n9. **Cool:** Let the cookies cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.\n\n## Tips\n\n- For extra flavor, use a mix of semi-sweet and dark chocolate chips.\n- Chill the dough for 30 minutes before baking for thicker cookies.\n- Store in an airtight container at room temperature for up to 5 days.\n\n**Yield:** ~48 cookies | **Prep Time:** 15 min | **Bake Time:** 10 min\n"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"id":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTJ2"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Your cookie recipe document has been created! 🍪 Here's a summary of what's inside:\n\n- **Title:** Classic Chocolate Chip Cookies\n- **Ingredients:** A classic lineup including butter, sugars, flour, eggs, vanilla, and semi-sweet chocolate chips.\n- **Instructions:** 9 easy steps from preheating the oven to cooling the finished cookies.\n- **Tips:** Suggestions for extra flavor, thicker cookies, and storage.\n- **Yield:** ~48 cookies with a total time of about 25 minutes.\n\nLet me know if you'd like to make any changes to the recipe!","options":{}},{"role":"user","content":"Add a section with a holiday-themed variation.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me open the document first to see its current content, then add the holiday variation section.","options":{}},{"type":"tool-call","id":"toolu_01MmHJMCMcPQDkHKkhNFrt9v","name":"open","params":{"doc":"01JGFJJZ00G0WKQSJGMAKCNTJ2"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01MmHJMCMcPQDkHKkhNFrt9v","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Classic Chocolate Chip Cookies\n\nA timeless recipe for soft, chewy chocolate chip cookies that are golden on the edges and gooey in the center.\n\n## Ingredients\n\n- 2 ¼ cups all-purpose flour\n- 1 tsp baking soda\n- 1 tsp salt\n- 1 cup (2 sticks) unsalted butter, softened\n- ¾ cup granulated sugar\n- ¾ cup packed brown sugar\n- 2 large eggs\n- 2 tsp vanilla extract\n- 2 cups semi-sweet chocolate chips\n\n## Instructions\n\n1. **Preheat** the oven to 375°F (190°C). Line baking sheets with parchment paper.\n2. **Combine dry ingredients:** In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.\n3. **Cream the butter and sugars:** In a large bowl, beat the softened butter, granulated sugar, and brown sugar together until light and fluffy (about 2–3 minutes).\n4. **Add eggs and vanilla:** Beat in the eggs one at a time, then mix in the vanilla extract until combined.\n5. **Mix in dry ingredients:** Gradually add the flour mixture to the wet ingredients, stirring until just combined. Do not overmix.\n6. **Fold in chocolate chips:** Gently stir in the chocolate chips.\n7. **Scoop the dough:** Drop rounded tablespoons of dough onto the prepared baking sheets, spacing them about 2 inches apart.\n8. **Bake:** Bake for 9–11 minutes, or until the edges are golden brown but the centers still look slightly underdone.\n9. **Cool:** Let the cookies cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.\n\n## Tips\n\n- For extra flavor, use a mix of semi-sweet and dark chocolate chips.\n- Chill the dough for 30 minutes before baking for thicker cookies.\n- Store in an airtight container at room temperature for up to 5 days.\n\n**Yield:** ~48 cookies | **Prep Time:** 15 min | **Bake Time:** 10 min\n"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01AQCK1174DPSqzgWbboP8S6","modelId":"claude-opus-4-6","timestamp":"2026-04-09T17:27:00.693Z","metadata":{}},{"type":"tool-params-start","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","name":"update","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"{\"doc\": \"","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"01J","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"GFJJZ00G0WK","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"QSJGM","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"AK","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"CNT","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"J2\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":", \"ed","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"its\": [","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"{\"oldS","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"tri","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"ng\":\"##","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":" Tips\",\"newS","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"tri","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"ng\":\"##","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":" 🎄 H","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"ol","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"iday Vari","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"ation: Pe","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"ppe","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"rm","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"int White","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":" Chocolate","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":" Co","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"okies\\n\\nGi","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"ve the","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"se","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":" c","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"ookies a ","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"fe","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"stive twist ","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"pe","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"rf","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"ect","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":" for the hol","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"iday se","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"ason!","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"\\n\\","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"n### ","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"Ingredient ","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"Swaps\\n\\n- ","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"Replace **","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"2 cu","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"ps semi-swee","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"t ","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"chocolate c","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"hips** wit","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"h **1 ","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"½ cups w","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"hite chocol","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"ate chip","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"s** and ","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"**½ ","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"cup ","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"crushe","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"d candy can","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"es**.","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"\\n","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"- Add **½ ","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"tsp pe","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"pper","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"mint e","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"xtract*","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"* along w","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"ith ","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"the vani","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"lla e","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"xtrac","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"t.\\n- Opti","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"onally, mi","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"x ","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"in **2 tbsp","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":" cocoa p","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"ow","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"der","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"** wit","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"h the dry in","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"gredient","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"s for ","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"a chocol","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"ate-pepp","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"ermint combo","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":".\\n\\","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"n### Additio","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"nal Steps\\","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"n\\n- After b","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"aking","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":", ","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"let cookies","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":" cool co","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"mple","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"tely, then *","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"*drizzle ","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"with ","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"mel","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"ted white ch","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"ocolate","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"** and sp","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"rinkle","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":" w","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"ith e","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"xtra crush","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"ed candy","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":" cane p","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"ieces.\\n- Fo","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"r ","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"a pop of col","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"or, add **re","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"d and green","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":" sprinkles","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"** to the","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":" dough","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":" be","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"fore ba","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"king.\\n\\n#","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"## Serving","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":" Suggestion\\","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"n\\nSt","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"ack","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":" the fin","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"ished cookie","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"s in a maso","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"n jar tied","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":" wit","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"h a ribbo","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"n ","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"for a charmi","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"ng","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":" homemade ","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"holiday gif","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"t! 🎁\\n\\","metadata":{}},{"type":"tool-params-delta","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","delta":"n## Tips\"}]}","metadata":{}},{"type":"tool-params-end","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":3056,"outputTokens":353,"totalTokens":3409},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":3056,"output_tokens":69,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>","options":{}},{"role":"user","content":"Create a document with a cookie recipe.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The user wants me to create a document with a cookie recipe. Let me create a nice markdown document with a classic cookie recipe.","options":{}},{"type":"tool-call","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","params":{"name":"Classic Chocolate Chip Cookies","content":"# Classic Chocolate Chip Cookies\n\nA timeless recipe for soft, chewy chocolate chip cookies that are golden on the edges and gooey in the center.\n\n## Ingredients\n\n- 2 ¼ cups all-purpose flour\n- 1 tsp baking soda\n- 1 tsp salt\n- 1 cup (2 sticks) unsalted butter, softened\n- ¾ cup granulated sugar\n- ¾ cup packed brown sugar\n- 2 large eggs\n- 2 tsp vanilla extract\n- 2 cups semi-sweet chocolate chips\n\n## Instructions\n\n1. **Preheat** the oven to 375°F (190°C). Line baking sheets with parchment paper.\n2. **Combine dry ingredients:** In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.\n3. **Cream the butter and sugars:** In a large bowl, beat the softened butter, granulated sugar, and brown sugar together until light and fluffy (about 2–3 minutes).\n4. **Add eggs and vanilla:** Beat in the eggs one at a time, then mix in the vanilla extract until combined.\n5. **Mix in dry ingredients:** Gradually add the flour mixture to the wet ingredients, stirring until just combined. Do not overmix.\n6. **Fold in chocolate chips:** Gently stir in the chocolate chips.\n7. **Scoop the dough:** Drop rounded tablespoons of dough onto the prepared baking sheets, spacing them about 2 inches apart.\n8. **Bake:** Bake for 9–11 minutes, or until the edges are golden brown but the centers still look slightly underdone.\n9. **Cool:** Let the cookies cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.\n\n## Tips\n\n- For extra flavor, use a mix of semi-sweet and dark chocolate chips.\n- Chill the dough for 30 minutes before baking for thicker cookies.\n- Store in an airtight container at room temperature for up to 5 days.\n\n**Yield:** ~48 cookies | **Prep Time:** 15 min | **Bake Time:** 10 min\n"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"id":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTJ2"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Your cookie recipe document has been created! 🍪 Here's a summary of what's inside:\n\n- **Title:** Classic Chocolate Chip Cookies\n- **Ingredients:** A classic lineup including butter, sugars, flour, eggs, vanilla, and semi-sweet chocolate chips.\n- **Instructions:** 9 easy steps from preheating the oven to cooling the finished cookies.\n- **Tips:** Suggestions for extra flavor, thicker cookies, and storage.\n- **Yield:** ~48 cookies with a total time of about 25 minutes.\n\nLet me know if you'd like to make any changes to the recipe!","options":{}},{"role":"user","content":"Add a section with a holiday-themed variation.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me open the document first to see its current content, then add the holiday variation section.","options":{}},{"type":"tool-call","id":"toolu_01MmHJMCMcPQDkHKkhNFrt9v","name":"open","params":{"doc":"01JGFJJZ00G0WKQSJGMAKCNTJ2"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01MmHJMCMcPQDkHKkhNFrt9v","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Classic Chocolate Chip Cookies\n\nA timeless recipe for soft, chewy chocolate chip cookies that are golden on the edges and gooey in the center.\n\n## Ingredients\n\n- 2 ¼ cups all-purpose flour\n- 1 tsp baking soda\n- 1 tsp salt\n- 1 cup (2 sticks) unsalted butter, softened\n- ¾ cup granulated sugar\n- ¾ cup packed brown sugar\n- 2 large eggs\n- 2 tsp vanilla extract\n- 2 cups semi-sweet chocolate chips\n\n## Instructions\n\n1. **Preheat** the oven to 375°F (190°C). Line baking sheets with parchment paper.\n2. **Combine dry ingredients:** In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.\n3. **Cream the butter and sugars:** In a large bowl, beat the softened butter, granulated sugar, and brown sugar together until light and fluffy (about 2–3 minutes).\n4. **Add eggs and vanilla:** Beat in the eggs one at a time, then mix in the vanilla extract until combined.\n5. **Mix in dry ingredients:** Gradually add the flour mixture to the wet ingredients, stirring until just combined. Do not overmix.\n6. **Fold in chocolate chips:** Gently stir in the chocolate chips.\n7. **Scoop the dough:** Drop rounded tablespoons of dough onto the prepared baking sheets, spacing them about 2 inches apart.\n8. **Bake:** Bake for 9–11 minutes, or until the edges are golden brown but the centers still look slightly underdone.\n9. **Cool:** Let the cookies cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.\n\n## Tips\n\n- For extra flavor, use a mix of semi-sweet and dark chocolate chips.\n- Chill the dough for 30 minutes before baking for thicker cookies.\n- Store in an airtight container at room temperature for up to 5 days.\n\n**Yield:** ~48 cookies | **Prep Time:** 15 min | **Bake Time:** 10 min\n"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"tool-call","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","name":"update","params":{"doc":"01JGFJJZ00G0WKQSJGMAKCNTJ2","edits":[{"oldString":"## Tips","newString":"## 🎄 Holiday Variation: Peppermint White Chocolate Cookies\n\nGive these cookies a festive twist perfect for the holiday season!\n\n### Ingredient Swaps\n\n- Replace **2 cups semi-sweet chocolate chips** with **1 ½ cups white chocolate chips** and **½ cup crushed candy canes**.\n- Add **½ tsp peppermint extract** along with the vanilla extract.\n- Optionally, mix in **2 tbsp cocoa powder** with the dry ingredients for a chocolate-peppermint combo.\n\n### Additional Steps\n\n- After baking, let cookies cool completely, then **drizzle with melted white chocolate** and sprinkle with extra crushed candy cane pieces.\n- For a pop of color, add **red and green sprinkles** to the dough before baking.\n\n### Serving Suggestion\n\nStack the finished cookies in a mason jar tied with a ribbon for a charming homemade holiday gift! 🎁\n\n## Tips"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_017iu1cZmGx1Cb4NznD9Nof9","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Classic Chocolate Chip Cookies\n\nA timeless recipe for soft, chewy chocolate chip cookies that are golden on the edges and gooey in the center.\n\n## Ingredients\n\n- 2 ¼ cups all-purpose flour\n- 1 tsp baking soda\n- 1 tsp salt\n- 1 cup (2 sticks) unsalted butter, softened\n- ¾ cup granulated sugar\n- ¾ cup packed brown sugar\n- 2 large eggs\n- 2 tsp vanilla extract\n- 2 cups semi-sweet chocolate chips\n\n## Instructions\n\n1. **Preheat** the oven to 375°F (190°C). Line baking sheets with parchment paper.\n2. **Combine dry ingredients:** In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.\n3. **Cream the butter and sugars:** In a large bowl, beat the softened butter, granulated sugar, and brown sugar together until light and fluffy (about 2–3 minutes).\n4. **Add eggs and vanilla:** Beat in the eggs one at a time, then mix in the vanilla extract until combined.\n5. **Mix in dry ingredients:** Gradually add the flour mixture to the wet ingredients, stirring until just combined. Do not overmix.\n6. **Fold in chocolate chips:** Gently stir in the chocolate chips.\n7. **Scoop the dough:** Drop rounded tablespoons of dough onto the prepared baking sheets, spacing them about 2 inches apart.\n8. **Bake:** Bake for 9–11 minutes, or until the edges are golden brown but the centers still look slightly underdone.\n9. **Cool:** Let the cookies cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.\n\n## 🎄 Holiday Variation: Peppermint White Chocolate Cookies\n\nGive these cookies a festive twist perfect for the holiday season!\n\n### Ingredient Swaps\n\n- Replace **2 cups semi-sweet chocolate chips** with **1 ½ cups white chocolate chips** and **½ cup crushed candy canes**.\n- Add **½ tsp peppermint extract** along with the vanilla extract.\n- Optionally, mix in **2 tbsp cocoa powder** with the dry ingredients for a chocolate-peppermint combo.\n\n### Additional Steps\n\n- After baking, let cookies cool completely, then **drizzle with melted white chocolate** and sprinkle with extra crushed candy cane pieces.\n- For a pop of color, add **red and green sprinkles** to the dough before baking.\n\n### Serving Suggestion\n\nStack the finished cookies in a mason jar tied with a ribbon for a charming homemade holiday gift! 🎁\n\n## Tips\n\n- For extra flavor, use a mix of semi-sweet and dark chocolate chips.\n- Chill the dough for 30 minutes before baking for thicker cookies.\n- Store in an airtight container at room temperature for up to 5 days.\n\n**Yield:** ~48 cookies | **Prep Time:** 15 min | **Bake Time:** 10 min\n"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01UxSgye15beRdnwdTpR2Jof","modelId":"claude-opus-4-6","timestamp":"2026-04-09T17:27:08.091Z","metadata":{}},{"type":"text-start","id":"0","metadata":{}},{"type":"text-delta","id":"0","delta":"A holiday","metadata":{}},{"type":"text-delta","id":"0","delta":" variation section has been added! 🎄 Here's what's included:\n\n- **🎄 Peppermint White Chocolate","metadata":{}},{"type":"text-delta","id":"0","delta":" Cookies** — A festive twist on the classic recipe featuring:\n - **Ingredient Swaps:** White chocolate chips, crus","metadata":{}},{"type":"text-delta","id":"0","delta":"hed candy canes, peppermint extract, and an optional cocoa powder addition.\n - **Additional Steps:** Drizzling with melted white chocolate and adding crus","metadata":{}},{"type":"text-delta","id":"0","delta":"hed candy cane or sprinkles for a holiday look.\n - **Serving Suggestion:** Package them in a mason jar with a ribbon for","metadata":{}},{"type":"text-delta","id":"0","delta":" a homemade holiday gift! 🎁\n\nLet me know if you'd like any other changes!","metadata":{}},{"type":"text-end","id":"0","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":1,"outputTokens":159,"totalTokens":160},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":4256},"cache_creation_input_tokens":4256,"cache_read_input_tokens":0,"input_tokens":1,"output_tokens":2,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTR8</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add the missing ingredient (its flour).","options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01L9PtZco3fwYarSBBgP3zX3","modelId":"claude-opus-4-6","timestamp":"2026-04-09T17:27:12.628Z","metadata":{}},{"type":"reasoning-start","id":"0","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"Let","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" me first open the document to see its contents.","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{"anthropic":{"type":"thinking","signature":"Eu4BClkIDBgCKkCVr1A1J+aqALmLyqe1q5OXcYWXc7JVWASOydRf1dFOyadx06rDTP8RriabQAhjDMpDqVRvm7S0pE7Pw7AP4P75Mg9jbGF1ZGUtb3B1cy00LTY4ABIMPH+Ygx+hB36uig8wGgz3qm/hvwyWh/XXUSIiMEXIoV/lTH0JRnIZrbjXFz185FC0h7NAi56PDO4StvTbeytEBk42IV3K1TomiwZnUypDi76x/elSMxPkuEWV5D4WE+PgxMfKFYAOSoc35blhWDnjWvsxBVBgdBLhbiEhKpS2lsm2hcf2zfDpc2T+QHIh5nIoiBgB"}}},{"type":"reasoning-end","id":"0","metadata":{}},{"type":"tool-params-start","id":"toolu_01Wr5NYxYgsoTAYo9mDJD1h9","name":"open","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_01Wr5NYxYgsoTAYo9mDJD1h9","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Wr5NYxYgsoTAYo9mDJD1h9","delta":"{\"do","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Wr5NYxYgsoTAYo9mDJD1h9","delta":"c\": \"dxn:","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Wr5NYxYgsoTAYo9mDJD1h9","delta":"echo:B","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Wr5NYxYgsoTAYo9mDJD1h9","delta":"DJXMULPW5FB","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Wr5NYxYgsoTAYo9mDJD1h9","delta":"55UZ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Wr5NYxYgsoTAYo9mDJD1h9","delta":"7KP5HLDHVT","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Wr5NYxYgsoTAYo9mDJD1h9","delta":"XUT","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Wr5NYxYgsoTAYo9mDJD1h9","delta":"HE2","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Wr5NYxYgsoTAYo9mDJD1h9","delta":"U:01","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Wr5NYxYgsoTAYo9mDJD1h9","delta":"JGFJJZ00G0","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Wr5NYxYgsoTAYo9mDJD1h9","delta":"WKQSJGM","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Wr5NYxYgsoTAYo9mDJD1h9","delta":"AKCNTR8\"}","metadata":{}},{"type":"tool-params-end","id":"toolu_01Wr5NYxYgsoTAYo9mDJD1h9","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":1689,"outputTokens":124,"totalTokens":1813},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1689,"output_tokens":1,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTR8</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add the missing ingredient (its flour).","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its contents.","options":{}},{"type":"tool-call","id":"toolu_01Wr5NYxYgsoTAYo9mDJD1h9","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTR8"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01Wr5NYxYgsoTAYo9mDJD1h9","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"Ingredients: \n - 2 cups of ???\n - 1 cup of sugar\n - 1 cup of butter\n - 1 cup of eggs"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_015iKFsW6uzMjsy1ozgyPXtM","modelId":"claude-opus-4-6","timestamp":"2026-04-09T17:27:16.382Z","metadata":{}},{"type":"tool-params-start","id":"toolu_014XGqpCNb64W3NS8nPZAzeW","name":"update","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_014XGqpCNb64W3NS8nPZAzeW","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_014XGqpCNb64W3NS8nPZAzeW","delta":"{\"doc\": ","metadata":{}},{"type":"tool-params-delta","id":"toolu_014XGqpCNb64W3NS8nPZAzeW","delta":"\"dxn:echo:","metadata":{}},{"type":"tool-params-delta","id":"toolu_014XGqpCNb64W3NS8nPZAzeW","delta":"BDJXMUL","metadata":{}},{"type":"tool-params-delta","id":"toolu_014XGqpCNb64W3NS8nPZAzeW","delta":"PW5FB55U","metadata":{}},{"type":"tool-params-delta","id":"toolu_014XGqpCNb64W3NS8nPZAzeW","delta":"Z7KP5HLDHV","metadata":{}},{"type":"tool-params-delta","id":"toolu_014XGqpCNb64W3NS8nPZAzeW","delta":"TXUTHE2U","metadata":{}},{"type":"tool-params-delta","id":"toolu_014XGqpCNb64W3NS8nPZAzeW","delta":":0","metadata":{}},{"type":"tool-params-delta","id":"toolu_014XGqpCNb64W3NS8nPZAzeW","delta":"1J","metadata":{}},{"type":"tool-params-delta","id":"toolu_014XGqpCNb64W3NS8nPZAzeW","delta":"GFJJZ00G0","metadata":{}},{"type":"tool-params-delta","id":"toolu_014XGqpCNb64W3NS8nPZAzeW","delta":"WKQSJGM","metadata":{}},{"type":"tool-params-delta","id":"toolu_014XGqpCNb64W3NS8nPZAzeW","delta":"AKCN","metadata":{}},{"type":"tool-params-delta","id":"toolu_014XGqpCNb64W3NS8nPZAzeW","delta":"TR8\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_014XGqpCNb64W3NS8nPZAzeW","delta":", \"edits\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_014XGqpCNb64W3NS8nPZAzeW","delta":": [","metadata":{}},{"type":"tool-params-delta","id":"toolu_014XGqpCNb64W3NS8nPZAzeW","delta":"{\"old","metadata":{}},{"type":"tool-params-delta","id":"toolu_014XGqpCNb64W3NS8nPZAzeW","delta":"String\":\"2 ","metadata":{}},{"type":"tool-params-delta","id":"toolu_014XGqpCNb64W3NS8nPZAzeW","delta":"cups o","metadata":{}},{"type":"tool-params-delta","id":"toolu_014XGqpCNb64W3NS8nPZAzeW","delta":"f ???\",\"newS","metadata":{}},{"type":"tool-params-delta","id":"toolu_014XGqpCNb64W3NS8nPZAzeW","delta":"tring\":\"2 cu","metadata":{}},{"type":"tool-params-delta","id":"toolu_014XGqpCNb64W3NS8nPZAzeW","delta":"ps o","metadata":{}},{"type":"tool-params-delta","id":"toolu_014XGqpCNb64W3NS8nPZAzeW","delta":"f flour\"}]}","metadata":{}},{"type":"tool-params-end","id":"toolu_014XGqpCNb64W3NS8nPZAzeW","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":1838,"outputTokens":143,"totalTokens":1981},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1838,"output_tokens":73,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTR8</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add the missing ingredient (its flour).","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its contents.","options":{}},{"type":"tool-call","id":"toolu_01Wr5NYxYgsoTAYo9mDJD1h9","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTR8"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01Wr5NYxYgsoTAYo9mDJD1h9","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"Ingredients: \n - 2 cups of ???\n - 1 cup of sugar\n - 1 cup of butter\n - 1 cup of eggs"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"tool-call","id":"toolu_014XGqpCNb64W3NS8nPZAzeW","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTR8","edits":[{"oldString":"2 cups of ???","newString":"2 cups of flour"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_014XGqpCNb64W3NS8nPZAzeW","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"Ingredients: \n - 2 cups of flour\n - 1 cup of sugar\n - 1 cup of butter\n - 1 cup of eggs"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_017RA6Xd6worghAVtfu2UiBd","modelId":"claude-opus-4-6","timestamp":"2026-04-09T17:27:19.607Z","metadata":{}},{"type":"text-start","id":"0","metadata":{}},{"type":"text-delta","id":"0","delta":"Done! I've replaced","metadata":{}},{"type":"text-delta","id":"0","delta":" the missing ingredient `???` with **flour**. The ingredient list now reads:\n\n- 2 cups of **flour**\n- 1 cup","metadata":{}},{"type":"text-delta","id":"0","delta":" of sugar\n- 1 cup of butter\n- 1 cup of eggs","metadata":{}},{"type":"text-end","id":"0","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":2057,"outputTokens":59,"totalTokens":2116},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2057,"output_tokens":5,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTY</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_012CRjt23Ajdt3Spn7F7SNiF","modelId":"claude-opus-4-6","timestamp":"2026-04-09T17:27:22.003Z","metadata":{}},{"type":"reasoning-start","id":"0","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"Let","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" me first open the document to see its current contents.","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{"anthropic":{"type":"thinking","signature":"EvYBClkIDBgCKkB59APG7kQJaS56ZghJ7yGmUDPTIff8aJqcCaiTm7DBlPfIkAEzU9xUX9RfyXK8kuAlQ2FqlGTMKvYxrrstJfcdMg9jbGF1ZGUtb3B1cy00LTY4ABIM12u2lMZZpp7XzegFGgyavvUkVvPmrOTCXVwiMNiU4hCw52kzWB3fRbOc1u8YzBRZYRZ1aE3+rSObxhUNPiPt+FtXbPMTBrqYJyL9aipL4ovhnAtAvOPBOkb0TnG4J4GD5xGdpyZW2auZWtP2ieTUb+3AWfr9ohTwS1rlw0LqXIdS4n/FCMBNhD0YGuDtltyhYx3ultpIPirYGAE="}}},{"type":"reasoning-end","id":"0","metadata":{}},{"type":"text-start","id":"1","metadata":{}},{"type":"text-delta","id":"1","delta":"Let me first open the document to see what","metadata":{}},{"type":"text-delta","id":"1","delta":"'s currently on the shopping list.","metadata":{}},{"type":"text-end","id":"1","metadata":{}},{"type":"tool-params-start","id":"toolu_01VKjUJk6maCxX1oGhLaW1cy","name":"open","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_01VKjUJk6maCxX1oGhLaW1cy","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01VKjUJk6maCxX1oGhLaW1cy","delta":"{\"doc\": ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01VKjUJk6maCxX1oGhLaW1cy","delta":"\"dxn:echo:B","metadata":{}},{"type":"tool-params-delta","id":"toolu_01VKjUJk6maCxX1oGhLaW1cy","delta":"DJX","metadata":{}},{"type":"tool-params-delta","id":"toolu_01VKjUJk6maCxX1oGhLaW1cy","delta":"MULP","metadata":{}},{"type":"tool-params-delta","id":"toolu_01VKjUJk6maCxX1oGhLaW1cy","delta":"W5FB55UZ7K","metadata":{}},{"type":"tool-params-delta","id":"toolu_01VKjUJk6maCxX1oGhLaW1cy","delta":"P5HLDHVTXU","metadata":{}},{"type":"tool-params-delta","id":"toolu_01VKjUJk6maCxX1oGhLaW1cy","delta":"THE2U:01JG","metadata":{}},{"type":"tool-params-delta","id":"toolu_01VKjUJk6maCxX1oGhLaW1cy","delta":"FJJZ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01VKjUJk6maCxX1oGhLaW1cy","delta":"00G0WKQSJ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01VKjUJk6maCxX1oGhLaW1cy","delta":"GMAKCNTTY\"}","metadata":{}},{"type":"tool-params-end","id":"toolu_01VKjUJk6maCxX1oGhLaW1cy","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":1687,"outputTokens":141,"totalTokens":1828},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1687,"output_tokens":1,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTY</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its current contents.","options":{}},{"type":"text","text":"Let me first open the document to see what's currently on the shopping list.","options":{}},{"type":"tool-call","id":"toolu_01VKjUJk6maCxX1oGhLaW1cy","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTY"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01VKjUJk6maCxX1oGhLaW1cy","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Shopping list"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01YGfMA9UAzBg9kbUUaBdqdV","modelId":"claude-opus-4-6","timestamp":"2026-04-09T17:27:24.977Z","metadata":{}},{"type":"text-start","id":"0","metadata":{}},{"type":"text-delta","id":"0","delta":"Now","metadata":{}},{"type":"text-delta","id":"0","delta":" I'll add milk to the shopping list.","metadata":{}},{"type":"text-end","id":"0","metadata":{}},{"type":"tool-params-start","id":"toolu_01PVUEaXuAU1EJkRMAM6c2hQ","name":"update","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_01PVUEaXuAU1EJkRMAM6c2hQ","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PVUEaXuAU1EJkRMAM6c2hQ","delta":"{\"doc\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PVUEaXuAU1EJkRMAM6c2hQ","delta":": ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PVUEaXuAU1EJkRMAM6c2hQ","delta":"\"dx","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PVUEaXuAU1EJkRMAM6c2hQ","delta":"n:ech","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PVUEaXuAU1EJkRMAM6c2hQ","delta":"o:BDJXMULP","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PVUEaXuAU1EJkRMAM6c2hQ","delta":"W5FB","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PVUEaXuAU1EJkRMAM6c2hQ","delta":"55UZ7KP5HL","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PVUEaXuAU1EJkRMAM6c2hQ","delta":"DHVTXUTHE2","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PVUEaXuAU1EJkRMAM6c2hQ","delta":"U:0","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PVUEaXuAU1EJkRMAM6c2hQ","delta":"1JGF","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PVUEaXuAU1EJkRMAM6c2hQ","delta":"JJZ0","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PVUEaXuAU1EJkRMAM6c2hQ","delta":"0G0WKQSJG","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PVUEaXuAU1EJkRMAM6c2hQ","delta":"MAKCNTTY\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PVUEaXuAU1EJkRMAM6c2hQ","delta":", \"edits\": [","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PVUEaXuAU1EJkRMAM6c2hQ","delta":"{\"oldStrin","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PVUEaXuAU1EJkRMAM6c2hQ","delta":"g\":\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PVUEaXuAU1EJkRMAM6c2hQ","delta":"# Shopping","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PVUEaXuAU1EJkRMAM6c2hQ","delta":" lis","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PVUEaXuAU1EJkRMAM6c2hQ","delta":"t\",\"newStr","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PVUEaXuAU1EJkRMAM6c2hQ","delta":"ing","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PVUEaXuAU1EJkRMAM6c2hQ","delta":"\":\"# Shop","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PVUEaXuAU1EJkRMAM6c2hQ","delta":"ping li","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PVUEaXuAU1EJkRMAM6c2hQ","delta":"st\\n\\n- Mi","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PVUEaXuAU1EJkRMAM6c2hQ","delta":"lk\"}]}","metadata":{}},{"type":"tool-params-end","id":"toolu_01PVUEaXuAU1EJkRMAM6c2hQ","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":1811,"outputTokens":159,"totalTokens":1970},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1811,"output_tokens":1,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTY</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its current contents.","options":{}},{"type":"text","text":"Let me first open the document to see what's currently on the shopping list.","options":{}},{"type":"tool-call","id":"toolu_01VKjUJk6maCxX1oGhLaW1cy","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTY"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01VKjUJk6maCxX1oGhLaW1cy","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Shopping list"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"text","text":"Now I'll add milk to the shopping list.","options":{}},{"type":"tool-call","id":"toolu_01PVUEaXuAU1EJkRMAM6c2hQ","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTY","edits":[{"oldString":"# Shopping list","newString":"# Shopping list\n\n- Milk"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01PVUEaXuAU1EJkRMAM6c2hQ","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n\n- Milk"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01EcQjC9twJtjJmutzvr99Jp","modelId":"claude-opus-4-6","timestamp":"2026-04-09T17:27:28.795Z","metadata":{}},{"type":"text-start","id":"0","metadata":{}},{"type":"text-delta","id":"0","delta":"Done","metadata":{}},{"type":"text-delta","id":"0","delta":"! I've added **Milk** to your shopping list. 🥛","metadata":{}},{"type":"text-end","id":"0","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":2010,"outputTokens":21,"totalTokens":2031},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2010,"output_tokens":1,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTY</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its current contents.","options":{}},{"type":"text","text":"Let me first open the document to see what's currently on the shopping list.","options":{}},{"type":"tool-call","id":"toolu_01VKjUJk6maCxX1oGhLaW1cy","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTY"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01VKjUJk6maCxX1oGhLaW1cy","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Shopping list"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"text","text":"Now I'll add milk to the shopping list.","options":{}},{"type":"tool-call","id":"toolu_01PVUEaXuAU1EJkRMAM6c2hQ","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTY","edits":[{"oldString":"# Shopping list","newString":"# Shopping list\n\n- Milk"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01PVUEaXuAU1EJkRMAM6c2hQ","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n\n- Milk"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Done! I've added **Milk** to your shopping list. 🥛","options":{}},{"role":"user","content":"Add bread to the shopping list.","options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_014ViDs5XfNswUKMKW2bvaTr","modelId":"claude-opus-4-6","timestamp":"2026-04-09T17:27:30.804Z","metadata":{}},{"type":"reasoning-start","id":"0","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"The user wants to add bread to the","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" shopping list. I know the current content is \"# Shopping list\\n\\n- Milk\", so I can directly make","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" the edit.","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{"anthropic":{"type":"thinking","signature":"EskCClkIDBgCKkAmDzdDgok+RgkqLdr4t6krJto+DbhE+zq7k8GmBm/fSn8PbtosPELmVcQylVSyhvp/TrqInBf6QeDwI49cnWM2Mg9jbGF1ZGUtb3B1cy00LTY4ABIMbvm9W9C1Oq5CD1SWGgxjzkqxJYnXvrh7fzMiMK+uzwBoDvwL1F6W3+8NOxTDCxZYYRqWircXjHoUxmv8F7ksQcRvky5nqB+Skl3ZnyqdAUIoR5HmS8uQ4CQFRrHgIkonDTFOs9eoLVzjchHLwoNc97EWN/Bo1Ftvolz+xREDD2+CMG5beY2goDI6W3u1r5+BsT/Y2Tmas5A6Vqi1hGik0NKk9F+MU9l0lm55XWDIC8JBCoI36i9XStocMKtiyOUxuEmPvXKFIcN8fONzaY+3Hyr1KT1AE1SpqE78kkJnJPnKzNKHL64OlGhcWQoYAQ=="}}},{"type":"reasoning-end","id":"0","metadata":{}},{"type":"tool-params-start","id":"toolu_01Gf6pvLL4yV42K2EsU6DfkA","name":"update","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_01Gf6pvLL4yV42K2EsU6DfkA","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Gf6pvLL4yV42K2EsU6DfkA","delta":"{\"doc\":","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Gf6pvLL4yV42K2EsU6DfkA","delta":" \"dxn:echo:","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Gf6pvLL4yV42K2EsU6DfkA","delta":"BDJXMU","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Gf6pvLL4yV42K2EsU6DfkA","delta":"LPW5FB5","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Gf6pvLL4yV42K2EsU6DfkA","delta":"5UZ7KP5","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Gf6pvLL4yV42K2EsU6DfkA","delta":"HLDHVT","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Gf6pvLL4yV42K2EsU6DfkA","delta":"XUTHE","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Gf6pvLL4yV42K2EsU6DfkA","delta":"2U:01JGFJJ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Gf6pvLL4yV42K2EsU6DfkA","delta":"Z00G0WKQSJG","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Gf6pvLL4yV42K2EsU6DfkA","delta":"MAKCNT","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Gf6pvLL4yV42K2EsU6DfkA","delta":"TY\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Gf6pvLL4yV42K2EsU6DfkA","delta":", \"edi","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Gf6pvLL4yV42K2EsU6DfkA","delta":"ts\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Gf6pvLL4yV42K2EsU6DfkA","delta":": [","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Gf6pvLL4yV42K2EsU6DfkA","delta":"{\"oldS","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Gf6pvLL4yV42K2EsU6DfkA","delta":"tring\":\"-","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Gf6pvLL4yV42K2EsU6DfkA","delta":" Milk\",\"new","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Gf6pvLL4yV42K2EsU6DfkA","delta":"Stri","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Gf6pvLL4yV42K2EsU6DfkA","delta":"ng\":","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Gf6pvLL4yV42K2EsU6DfkA","delta":"\"-","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Gf6pvLL4yV42K2EsU6DfkA","delta":" Milk\\","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Gf6pvLL4yV42K2EsU6DfkA","delta":"n- B","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Gf6pvLL4yV42K2EsU6DfkA","delta":"read\"}]}","metadata":{}},{"type":"tool-params-end","id":"toolu_01Gf6pvLL4yV42K2EsU6DfkA","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":2070,"outputTokens":191,"totalTokens":2261},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2070,"output_tokens":8,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTY</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its current contents.","options":{}},{"type":"text","text":"Let me first open the document to see what's currently on the shopping list.","options":{}},{"type":"tool-call","id":"toolu_01VKjUJk6maCxX1oGhLaW1cy","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTY"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01VKjUJk6maCxX1oGhLaW1cy","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Shopping list"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"text","text":"Now I'll add milk to the shopping list.","options":{}},{"type":"tool-call","id":"toolu_01PVUEaXuAU1EJkRMAM6c2hQ","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTY","edits":[{"oldString":"# Shopping list","newString":"# Shopping list\n\n- Milk"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01PVUEaXuAU1EJkRMAM6c2hQ","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n\n- Milk"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Done! I've added **Milk** to your shopping list. 🥛","options":{}},{"role":"user","content":"Add bread to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The user wants to add bread to the shopping list. I know the current content is \"# Shopping list\\n\\n- Milk\", so I can directly make the edit.","options":{}},{"type":"tool-call","id":"toolu_01Gf6pvLL4yV42K2EsU6DfkA","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTY","edits":[{"oldString":"- Milk","newString":"- Milk\n- Bread"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01Gf6pvLL4yV42K2EsU6DfkA","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n\n- Milk\n- Bread"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_013Cr59tyZraSpQ2AvZERwhK","modelId":"claude-opus-4-6","timestamp":"2026-04-09T17:27:34.473Z","metadata":{}},{"type":"text-start","id":"0","metadata":{}},{"type":"text-delta","id":"0","delta":"Done! I've added **Bread","metadata":{}},{"type":"text-delta","id":"0","delta":"** to your shopping list. 🍞 Your list now has:\n\n- Milk\n- Bread","metadata":{}},{"type":"text-end","id":"0","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":2233,"outputTokens":35,"totalTokens":2268},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2233,"output_tokens":8,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTY</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its current contents.","options":{}},{"type":"text","text":"Let me first open the document to see what's currently on the shopping list.","options":{}},{"type":"tool-call","id":"toolu_01VKjUJk6maCxX1oGhLaW1cy","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTY"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01VKjUJk6maCxX1oGhLaW1cy","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Shopping list"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"text","text":"Now I'll add milk to the shopping list.","options":{}},{"type":"tool-call","id":"toolu_01PVUEaXuAU1EJkRMAM6c2hQ","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTY","edits":[{"oldString":"# Shopping list","newString":"# Shopping list\n\n- Milk"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01PVUEaXuAU1EJkRMAM6c2hQ","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n\n- Milk"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Done! I've added **Milk** to your shopping list. 🥛","options":{}},{"role":"user","content":"Add bread to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The user wants to add bread to the shopping list. I know the current content is \"# Shopping list\\n\\n- Milk\", so I can directly make the edit.","options":{}},{"type":"tool-call","id":"toolu_01Gf6pvLL4yV42K2EsU6DfkA","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTY","edits":[{"oldString":"- Milk","newString":"- Milk\n- Bread"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01Gf6pvLL4yV42K2EsU6DfkA","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n\n- Milk\n- Bread"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Done! I've added **Bread** to your shopping list. 🍞 Your list now has:\n\n- Milk\n- Bread","options":{}},{"role":"user","content":"Add eggs to the shopping list.","options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_012xrVxNwfdssxFA6zgcf86q","modelId":"claude-opus-4-6","timestamp":"2026-04-09T17:27:38.239Z","metadata":{}},{"type":"reasoning-start","id":"0","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"Add","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" eggs to the list.","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{"anthropic":{"type":"thinking","signature":"EtABClkIDBgCKkAYL/LtQkxanOvRw3IBKGYU+7tRbO0J2BH6tFXKtxVCbhYdYyu7dMyQ0dPmOT/iamobMCR9H0m7TDEOx7SOWWi4Mg9jbGF1ZGUtb3B1cy00LTY4ABIMRFk4vV6W+tLn/1iRGgwV5E54nj8M9ckqkiAiMAv+IVSTzCZMeUofPAW7F5HJAf3EbUrg5Nq4IXWI4X+RbhXiASS3+cIhe6Wq1wXf4SolN3sLdDZ8/xYi0Jv4f7rOH60cF9848aV2/XGs5oEhV1/i+u8YnBgB"}}},{"type":"reasoning-end","id":"0","metadata":{}},{"type":"tool-params-start","id":"toolu_01LwAejSr1Kh6ifKHy7r1RGi","name":"update","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_01LwAejSr1Kh6ifKHy7r1RGi","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LwAejSr1Kh6ifKHy7r1RGi","delta":"{\"doc","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LwAejSr1Kh6ifKHy7r1RGi","delta":"\":","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LwAejSr1Kh6ifKHy7r1RGi","delta":" \"dxn:ech","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LwAejSr1Kh6ifKHy7r1RGi","delta":"o:BDJXMU","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LwAejSr1Kh6ifKHy7r1RGi","delta":"LP","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LwAejSr1Kh6ifKHy7r1RGi","delta":"W5FB55U","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LwAejSr1Kh6ifKHy7r1RGi","delta":"Z7KP5","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LwAejSr1Kh6ifKHy7r1RGi","delta":"HLD","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LwAejSr1Kh6ifKHy7r1RGi","delta":"HVTXUT","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LwAejSr1Kh6ifKHy7r1RGi","delta":"HE2U:","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LwAejSr1Kh6ifKHy7r1RGi","delta":"01J","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LwAejSr1Kh6ifKHy7r1RGi","delta":"GFJJZ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LwAejSr1Kh6ifKHy7r1RGi","delta":"00G0W","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LwAejSr1Kh6ifKHy7r1RGi","delta":"KQSJG","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LwAejSr1Kh6ifKHy7r1RGi","delta":"MAKCNTTY","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LwAejSr1Kh6ifKHy7r1RGi","delta":"\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LwAejSr1Kh6ifKHy7r1RGi","delta":", \"ed","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LwAejSr1Kh6ifKHy7r1RGi","delta":"its\": [{","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LwAejSr1Kh6ifKHy7r1RGi","delta":"\"oldString\":","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LwAejSr1Kh6ifKHy7r1RGi","delta":"\"- Bread\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LwAejSr1Kh6ifKHy7r1RGi","delta":",\"newString\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LwAejSr1Kh6ifKHy7r1RGi","delta":":\"- Bread\\","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LwAejSr1Kh6ifKHy7r1RGi","delta":"n- Eggs\"}","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LwAejSr1Kh6ifKHy7r1RGi","delta":"]}","metadata":{}},{"type":"tool-params-end","id":"toolu_01LwAejSr1Kh6ifKHy7r1RGi","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":2307,"outputTokens":160,"totalTokens":2467},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2307,"output_tokens":1,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTY</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its current contents.","options":{}},{"type":"text","text":"Let me first open the document to see what's currently on the shopping list.","options":{}},{"type":"tool-call","id":"toolu_01VKjUJk6maCxX1oGhLaW1cy","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTY"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01VKjUJk6maCxX1oGhLaW1cy","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Shopping list"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"text","text":"Now I'll add milk to the shopping list.","options":{}},{"type":"tool-call","id":"toolu_01PVUEaXuAU1EJkRMAM6c2hQ","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTY","edits":[{"oldString":"# Shopping list","newString":"# Shopping list\n\n- Milk"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01PVUEaXuAU1EJkRMAM6c2hQ","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n\n- Milk"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Done! I've added **Milk** to your shopping list. 🥛","options":{}},{"role":"user","content":"Add bread to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The user wants to add bread to the shopping list. I know the current content is \"# Shopping list\\n\\n- Milk\", so I can directly make the edit.","options":{}},{"type":"tool-call","id":"toolu_01Gf6pvLL4yV42K2EsU6DfkA","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTY","edits":[{"oldString":"- Milk","newString":"- Milk\n- Bread"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01Gf6pvLL4yV42K2EsU6DfkA","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n\n- Milk\n- Bread"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Done! I've added **Bread** to your shopping list. 🍞 Your list now has:\n\n- Milk\n- Bread","options":{}},{"role":"user","content":"Add eggs to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Add eggs to the list.","options":{}},{"type":"tool-call","id":"toolu_01LwAejSr1Kh6ifKHy7r1RGi","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTY","edits":[{"oldString":"- Bread","newString":"- Bread\n- Eggs"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01LwAejSr1Kh6ifKHy7r1RGi","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n\n- Milk\n- Bread\n- Eggs"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01AzZJT19UVmfbjhqpQCvhgj","modelId":"claude-opus-4-6","timestamp":"2026-04-09T17:27:42.247Z","metadata":{}},{"type":"text-start","id":"0","metadata":{}},{"type":"text-delta","id":"0","delta":"Done! I've added **Eggs","metadata":{}},{"type":"text-delta","id":"0","delta":"** to your shopping list. 🥚 Your list now has:\n\n- Milk\n- Bread\n- Eggs","metadata":{}},{"type":"text-end","id":"0","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":2475,"outputTokens":39,"totalTokens":2514},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2475,"output_tokens":8,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>","options":{}},{"role":"user","content":"Create a document with a cookie recipe.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The user wants me to create a document with a cookie recipe. Let me create a nice markdown document with a classic cookie recipe.","options":{}},{"type":"tool-call","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","params":{"name":"Classic Chocolate Chip Cookies","content":"# Classic Chocolate Chip Cookies\n\nA timeless recipe for soft, chewy chocolate chip cookies that are golden on the edges and gooey in the center.\n\n## Ingredients\n\n- 2 ¼ cups all-purpose flour\n- 1 tsp baking soda\n- 1 tsp salt\n- 1 cup (2 sticks) unsalted butter, softened\n- ¾ cup granulated sugar\n- ¾ cup packed brown sugar\n- 2 large eggs\n- 2 tsp vanilla extract\n- 2 cups semi-sweet chocolate chips\n\n## Instructions\n\n1. **Preheat** the oven to 375°F (190°C). Line baking sheets with parchment paper.\n2. **Combine dry ingredients:** In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.\n3. **Cream the butter and sugars:** In a large bowl, beat the softened butter, granulated sugar, and brown sugar together until light and fluffy (about 2–3 minutes).\n4. **Add eggs and vanilla:** Beat in the eggs one at a time, then mix in the vanilla extract until combined.\n5. **Mix in dry ingredients:** Gradually add the flour mixture to the wet ingredients, stirring until just combined. Do not overmix.\n6. **Fold in chocolate chips:** Gently stir in the chocolate chips.\n7. **Scoop the dough:** Drop rounded tablespoons of dough onto the prepared baking sheets, spacing them about 2 inches apart.\n8. **Bake:** Bake for 9–11 minutes, or until the edges are golden brown but the centers still look slightly underdone.\n9. **Cool:** Let the cookies cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.\n\n## Tips\n\n- For extra flavor, use a mix of semi-sweet and dark chocolate chips.\n- Chill the dough for 30 minutes before baking for thicker cookies.\n- Store in an airtight container at room temperature for up to 5 days.\n\n**Yield:** ~48 cookies | **Prep Time:** 15 min | **Bake Time:** 10 min\n"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"id":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTJ3"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01Q51cUiR5DnmXSKSWBXAeDF","modelId":"claude-opus-4-6","timestamp":"2026-04-16T15:30:19.653Z","metadata":{}},{"type":"reasoning-start","id":"0","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"The","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" document was created successfully.","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{"anthropic":{"type":"thinking","signature":"EuEBClkIDBgCKkDYqIGzymGgehnxneo7UHzpnlm8a0tPpXlILeVnfXH6ESWFT2yPNAKo7VXEFmHMiD7GK+j83i4I8Ok4es2dgweUMg9jbGF1ZGUtb3B1cy00LTY4ABIMH7KUdobhV/Nf/rscGgyM/rYOZHScpir4SwsiMPXnjRLr5pPvYEEKKiBuL4s2jwWjKsHG6MFuFQBZK2/csqs2qvjcwPDXSmaj+CVteyo29H+yfMmXAJfKy7lixcZMvx0/3CS18o79p01jqKnDfmtxH0GjRJPXOYhVz+C6KYnDRKDU5ho7GAE="}}},{"type":"reasoning-end","id":"0","metadata":{}},{"type":"text-start","id":"1","metadata":{}},{"type":"text-delta","id":"1","delta":"I've created a **Classic Chocolate Chip Cookies** recipe document for you! 🍪 It includes:\n\n- **Ingredients**","metadata":{}},{"type":"text-delta","id":"1","delta":" — a full list with measurements for a classic batch\n- **Step","metadata":{}},{"type":"text-delta","id":"1","delta":"-by-step instructions** — from preheating the oven to cooling the cookies\n- **Helpful tips** — like chilling the dough for thicker cookies and mixing chocolate","metadata":{}},{"type":"text-delta","id":"1","delta":" chip varieties\n\nThe recipe yields about 48 cookies with a prep time of 15 minutes and a bake time of 10 minutes. Let","metadata":{}},{"type":"text-delta","id":"1","delta":" me know if you'd like to make any changes!","metadata":{}},{"type":"text-end","id":"1","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":2245,"outputTokens":152,"totalTokens":2397},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2245,"output_tokens":8,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>","options":{}},{"role":"user","content":"Create a document with a cookie recipe.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The user wants me to create a document with a cookie recipe. Let me create a nice markdown document with a classic cookie recipe.","options":{}},{"type":"tool-call","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","params":{"name":"Classic Chocolate Chip Cookies","content":"# Classic Chocolate Chip Cookies\n\nA timeless recipe for soft, chewy chocolate chip cookies that are golden on the edges and gooey in the center.\n\n## Ingredients\n\n- 2 ¼ cups all-purpose flour\n- 1 tsp baking soda\n- 1 tsp salt\n- 1 cup (2 sticks) unsalted butter, softened\n- ¾ cup granulated sugar\n- ¾ cup packed brown sugar\n- 2 large eggs\n- 2 tsp vanilla extract\n- 2 cups semi-sweet chocolate chips\n\n## Instructions\n\n1. **Preheat** the oven to 375°F (190°C). Line baking sheets with parchment paper.\n2. **Combine dry ingredients:** In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.\n3. **Cream the butter and sugars:** In a large bowl, beat the softened butter, granulated sugar, and brown sugar together until light and fluffy (about 2–3 minutes).\n4. **Add eggs and vanilla:** Beat in the eggs one at a time, then mix in the vanilla extract until combined.\n5. **Mix in dry ingredients:** Gradually add the flour mixture to the wet ingredients, stirring until just combined. Do not overmix.\n6. **Fold in chocolate chips:** Gently stir in the chocolate chips.\n7. **Scoop the dough:** Drop rounded tablespoons of dough onto the prepared baking sheets, spacing them about 2 inches apart.\n8. **Bake:** Bake for 9–11 minutes, or until the edges are golden brown but the centers still look slightly underdone.\n9. **Cool:** Let the cookies cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.\n\n## Tips\n\n- For extra flavor, use a mix of semi-sweet and dark chocolate chips.\n- Chill the dough for 30 minutes before baking for thicker cookies.\n- Store in an airtight container at room temperature for up to 5 days.\n\n**Yield:** ~48 cookies | **Prep Time:** 15 min | **Bake Time:** 10 min\n"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"id":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTJ3"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The document was created successfully.","options":{}},{"type":"text","text":"I've created a **Classic Chocolate Chip Cookies** recipe document for you! 🍪 It includes:\n\n- **Ingredients** — a full list with measurements for a classic batch\n- **Step-by-step instructions** — from preheating the oven to cooling the cookies\n- **Helpful tips** — like chilling the dough for thicker cookies and mixing chocolate chip varieties\n\nThe recipe yields about 48 cookies with a prep time of 15 minutes and a bake time of 10 minutes. Let me know if you'd like to make any changes!","options":{}}],"options":{}},{"role":"user","content":"Add a section with a holiday-themed variation.","options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_011Li4ybiimSycj25jbkMGv6","modelId":"claude-opus-4-6","timestamp":"2026-04-16T15:30:24.311Z","metadata":{}},{"type":"reasoning-start","id":"0","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"The","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" user wants me to add a holiday-themed variation section to the cookie recipe document. Let me update the document.","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{"anthropic":{"type":"thinking","signature":"ErICClkIDBgCKkCpG+K0z7qiW8X586mWD9221KO7cA9gGwHXAr+GBtdwtrKHRVaMY+Dxi4BlIBc/Wq9WnI4225k11fF7JRNldYlPMg9jbGF1ZGUtb3B1cy00LTY4ABIM0A+m0gfKu2tpmqyYGgwnizOn5AeiiUfTlu4iMOXI7GeHZxnN7iuFEuUwLPxQTQgxsWk4Co2eOS9DzdBj1FY+A2GIC2/ak5QeNVKHaSqGAXH8QyLEJqzgd5DizYxh8tPAZtrs4PbieaOzPORBgcwyOKYymnnRw1dTqAgqc5ZObNiOIKTtJvzuHLLqYWwIaK0kcdEpEvE3ZpnxV7YppQPSmYWap2KqIvaDoqEQSInMHxv5xp/8V+YfRI2KYIhm0dc6paSPTR2IJU4bRYJIJYkxMQ+AVhWbGAE="}}},{"type":"reasoning-end","id":"0","metadata":{}},{"type":"tool-params-start","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","name":"update","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"{\"doc\":","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":" \"dxn","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":":echo:BD","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"JXMU","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"LPW5F","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"B55UZ","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"7KP5HLDH","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"VTXUTHE","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"2U:01JG","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"FJJZ0","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"0G0WKQS","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"JGMAKCNTJ","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"3\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":", \"edits\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":": [{","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"\"oldStrin","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"g\":\"**","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"Yie","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"ld:** ~","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"48 cookie","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"s\",\"newStrin","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"g\":\"## 🎄 Ho","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"liday Variat","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"ion: Pepper","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"mint White ","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"Chocolate Co","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"oki","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"es\\n\\nGiv","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"e t","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"he","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"se cookie","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"s a festive","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":" twist","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":" perfect","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":" for the","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":" holiday ","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"season!\\n\\n","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"###","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":" Su","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"bstituti","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"ons & Ad","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"dition","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"s\\n\\n- ","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"Replace ","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"the semi-swe","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"et c","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"hoco","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"late chips w","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"ith **1 ½ ","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"cups white c","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"hocol","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"ate","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":" chip","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"s**.\\","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"n- Add **½ c","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"up crus","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"he","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"d cand","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"y canes*","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"* (about 6–","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"8 mini ca","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"ndy","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":" canes) ","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"to t","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"he dou","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"gh along w","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"ith ","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"the w","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"hite cho","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"colate chip","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"s.\\n","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"- Substitut","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"e the vanill","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"a ext","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"ra","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"ct wit","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"h **","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"1 tsp ","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"vani","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"lla e","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"xtract +","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":" ½ tsp peppe","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"rmint e","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"xtract**.\\n\\","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"n### O","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"ptio","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"nal Fini","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"shing T","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"ouch\\","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"n\\n- Dri","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"zzle co","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"oled co","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"okies with","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":" melted whi","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"te chocol","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"ate and spri","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"nkle with ","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"ext","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"ra crushed c","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"andy","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":" cane piec","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"es ","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"and ","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"red & ","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"green sp","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"rinkl","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"es.\\n","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"- For","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":" a sandwich ","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"co","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"okie, ","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"spre","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"ad p","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"eppermint bu","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"ttercre","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"am betwe","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"en tw","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"o coo","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"kies and","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":" roll th","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"e edge","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"s in cr","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"ush","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"ed c","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"andy","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":" can","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"es.\\n\\n---\\","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"n\\n**Yield:","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"** ~","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"48 co","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"okies","metadata":{}},{"type":"tool-params-delta","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","delta":"\"}]}","metadata":{}},{"type":"tool-params-end","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":2389,"outputTokens":411,"totalTokens":2800},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2389,"output_tokens":9,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>","options":{}},{"role":"user","content":"Create a document with a cookie recipe.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The user wants me to create a document with a cookie recipe. Let me create a nice markdown document with a classic cookie recipe.","options":{}},{"type":"tool-call","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","params":{"name":"Classic Chocolate Chip Cookies","content":"# Classic Chocolate Chip Cookies\n\nA timeless recipe for soft, chewy chocolate chip cookies that are golden on the edges and gooey in the center.\n\n## Ingredients\n\n- 2 ¼ cups all-purpose flour\n- 1 tsp baking soda\n- 1 tsp salt\n- 1 cup (2 sticks) unsalted butter, softened\n- ¾ cup granulated sugar\n- ¾ cup packed brown sugar\n- 2 large eggs\n- 2 tsp vanilla extract\n- 2 cups semi-sweet chocolate chips\n\n## Instructions\n\n1. **Preheat** the oven to 375°F (190°C). Line baking sheets with parchment paper.\n2. **Combine dry ingredients:** In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.\n3. **Cream the butter and sugars:** In a large bowl, beat the softened butter, granulated sugar, and brown sugar together until light and fluffy (about 2–3 minutes).\n4. **Add eggs and vanilla:** Beat in the eggs one at a time, then mix in the vanilla extract until combined.\n5. **Mix in dry ingredients:** Gradually add the flour mixture to the wet ingredients, stirring until just combined. Do not overmix.\n6. **Fold in chocolate chips:** Gently stir in the chocolate chips.\n7. **Scoop the dough:** Drop rounded tablespoons of dough onto the prepared baking sheets, spacing them about 2 inches apart.\n8. **Bake:** Bake for 9–11 minutes, or until the edges are golden brown but the centers still look slightly underdone.\n9. **Cool:** Let the cookies cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.\n\n## Tips\n\n- For extra flavor, use a mix of semi-sweet and dark chocolate chips.\n- Chill the dough for 30 minutes before baking for thicker cookies.\n- Store in an airtight container at room temperature for up to 5 days.\n\n**Yield:** ~48 cookies | **Prep Time:** 15 min | **Bake Time:** 10 min\n"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"id":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTJ3"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The document was created successfully.","options":{}},{"type":"text","text":"I've created a **Classic Chocolate Chip Cookies** recipe document for you! 🍪 It includes:\n\n- **Ingredients** — a full list with measurements for a classic batch\n- **Step-by-step instructions** — from preheating the oven to cooling the cookies\n- **Helpful tips** — like chilling the dough for thicker cookies and mixing chocolate chip varieties\n\nThe recipe yields about 48 cookies with a prep time of 15 minutes and a bake time of 10 minutes. Let me know if you'd like to make any changes!","options":{}}],"options":{}},{"role":"user","content":"Add a section with a holiday-themed variation.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The user wants me to add a holiday-themed variation section to the cookie recipe document. Let me update the document.","options":{}},{"type":"tool-call","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTJ3","edits":[{"oldString":"**Yield:** ~48 cookies","newString":"## 🎄 Holiday Variation: Peppermint White Chocolate Cookies\n\nGive these cookies a festive twist perfect for the holiday season!\n\n### Substitutions & Additions\n\n- Replace the semi-sweet chocolate chips with **1 ½ cups white chocolate chips**.\n- Add **½ cup crushed candy canes** (about 6–8 mini candy canes) to the dough along with the white chocolate chips.\n- Substitute the vanilla extract with **1 tsp vanilla extract + ½ tsp peppermint extract**.\n\n### Optional Finishing Touch\n\n- Drizzle cooled cookies with melted white chocolate and sprinkle with extra crushed candy cane pieces and red & green sprinkles.\n- For a sandwich cookie, spread peppermint buttercream between two cookies and roll the edges in crushed candy canes.\n\n---\n\n**Yield:** ~48 cookies"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_018bSCrNfzTTxKP6wB3LvSw9","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Classic Chocolate Chip Cookies\n\nA timeless recipe for soft, chewy chocolate chip cookies that are golden on the edges and gooey in the center.\n\n## Ingredients\n\n- 2 ¼ cups all-purpose flour\n- 1 tsp baking soda\n- 1 tsp salt\n- 1 cup (2 sticks) unsalted butter, softened\n- ¾ cup granulated sugar\n- ¾ cup packed brown sugar\n- 2 large eggs\n- 2 tsp vanilla extract\n- 2 cups semi-sweet chocolate chips\n\n## Instructions\n\n1. **Preheat** the oven to 375°F (190°C). Line baking sheets with parchment paper.\n2. **Combine dry ingredients:** In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.\n3. **Cream the butter and sugars:** In a large bowl, beat the softened butter, granulated sugar, and brown sugar together until light and fluffy (about 2–3 minutes).\n4. **Add eggs and vanilla:** Beat in the eggs one at a time, then mix in the vanilla extract until combined.\n5. **Mix in dry ingredients:** Gradually add the flour mixture to the wet ingredients, stirring until just combined. Do not overmix.\n6. **Fold in chocolate chips:** Gently stir in the chocolate chips.\n7. **Scoop the dough:** Drop rounded tablespoons of dough onto the prepared baking sheets, spacing them about 2 inches apart.\n8. **Bake:** Bake for 9–11 minutes, or until the edges are golden brown but the centers still look slightly underdone.\n9. **Cool:** Let the cookies cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.\n\n## Tips\n\n- For extra flavor, use a mix of semi-sweet and dark chocolate chips.\n- Chill the dough for 30 minutes before baking for thicker cookies.\n- Store in an airtight container at room temperature for up to 5 days.\n\n## 🎄 Holiday Variation: Peppermint White Chocolate Cookies\n\nGive these cookies a festive twist perfect for the holiday season!\n\n### Substitutions & Additions\n\n- Replace the semi-sweet chocolate chips with **1 ½ cups white chocolate chips**.\n- Add **½ cup crushed candy canes** (about 6–8 mini candy canes) to the dough along with the white chocolate chips.\n- Substitute the vanilla extract with **1 tsp vanilla extract + ½ tsp peppermint extract**.\n\n### Optional Finishing Touch\n\n- Drizzle cooled cookies with melted white chocolate and sprinkle with extra crushed candy cane pieces and red & green sprinkles.\n- For a sandwich cookie, spread peppermint buttercream between two cookies and roll the edges in crushed candy canes.\n\n---\n\n**Yield:** ~48 cookies | **Prep Time:** 15 min | **Bake Time:** 10 min\n"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01DhdkB4e6g3hFyanhasduge","modelId":"claude-opus-4-6","timestamp":"2026-04-16T15:30:31.844Z","metadata":{}},{"type":"text-start","id":"0","metadata":{}},{"type":"text-delta","id":"0","delta":"I","metadata":{}},{"type":"text-delta","id":"0","delta":"'ve added a **🎄 Holiday Variation: Peppermint White Chocolate Cookies** section! It includes:\n\n- **Substitutions & Additions** — swapping in","metadata":{}},{"type":"text-delta","id":"0","delta":" white chocolate chips, crushed candy canes, and peppermint extract for a festive flavor\n- **Optional Finishing Touches** — ideas like dr","metadata":{}},{"type":"text-delta","id":"0","delta":"izzling with white chocolate and making peppermint buttercream sandwich cookies\n\nLet me know if you'd like any other changes! ","metadata":{}},{"type":"text-delta","id":"0","delta":"🍪🎄","metadata":{}},{"type":"text-end","id":"0","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":3574,"outputTokens":115,"totalTokens":3689},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":3574,"output_tokens":1,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTQZ</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add the missing ingredient (its flour).","options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01YBje4Xa3xNzxbDMagWWX8z","modelId":"claude-opus-4-6","timestamp":"2026-04-16T15:30:35.300Z","metadata":{}},{"type":"reasoning-start","id":"0","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"Let","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" me first open the document to see its contents.","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{"anthropic":{"type":"thinking","signature":"Eu4BClkIDBgCKkCVr1A1J+aqALmLyqe1q5OXcYWXc7JVWASOydRf1dFOyadx06rDTP8RriabQAhjDMpDqVRvm7S0pE7Pw7AP4P75Mg9jbGF1ZGUtb3B1cy00LTY4ABIMDUOwzEiSB+jiKrqFGgwuce1ZFqSFpW4p7poiMHQ0qWzCWOINeaCq9RVdiB0Dv2crxMm+HWI9AKOobP6wrnJXCTAXussLMsMYB+i0SCpDrhoSWUGM6owJfPseN0SR6ENZKsWDFWkpENdus05AcZFCg3BIpImQ25cTawN5AZKTvbRXRJrcwgtiAGtjt+wwoQgFyBgB"}}},{"type":"reasoning-end","id":"0","metadata":{}},{"type":"tool-params-start","id":"toolu_01EeeqZc7WvnFkY9od4C6VF8","name":"open","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_01EeeqZc7WvnFkY9od4C6VF8","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EeeqZc7WvnFkY9od4C6VF8","delta":"{\"doc","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EeeqZc7WvnFkY9od4C6VF8","delta":"\": \"dxn","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EeeqZc7WvnFkY9od4C6VF8","delta":":echo","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EeeqZc7WvnFkY9od4C6VF8","delta":":BDJXM","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EeeqZc7WvnFkY9od4C6VF8","delta":"ULPW5","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EeeqZc7WvnFkY9od4C6VF8","delta":"FB55UZ7KP5","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EeeqZc7WvnFkY9od4C6VF8","delta":"HLDHVTXUTHE","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EeeqZc7WvnFkY9od4C6VF8","delta":"2U:0","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EeeqZc7WvnFkY9od4C6VF8","delta":"1JGF","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EeeqZc7WvnFkY9od4C6VF8","delta":"JJZ00G0W","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EeeqZc7WvnFkY9od4C6VF8","delta":"KQSJGM","metadata":{}},{"type":"tool-params-delta","id":"toolu_01EeeqZc7WvnFkY9od4C6VF8","delta":"AKCNTQZ\"}","metadata":{}},{"type":"tool-params-end","id":"toolu_01EeeqZc7WvnFkY9od4C6VF8","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":1660,"outputTokens":132,"totalTokens":1792},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1660,"output_tokens":9,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTQZ</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add the missing ingredient (its flour).","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its contents.","options":{}},{"type":"tool-call","id":"toolu_01EeeqZc7WvnFkY9od4C6VF8","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTQZ"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01EeeqZc7WvnFkY9od4C6VF8","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"Ingredients: \n - 2 cups of ???\n - 1 cup of sugar\n - 1 cup of butter\n - 1 cup of eggs"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01MwRQutf8MycVBfW1xaJKEw","modelId":"claude-opus-4-6","timestamp":"2026-04-16T15:30:38.239Z","metadata":{}},{"type":"reasoning-start","id":"0","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"I","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" need to replace \"???\" with \"flour\".","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{"anthropic":{"type":"thinking","signature":"EuABClkIDBgCKkDIaKypAHV3yfCUqjG/AvDhgA/3RHvw6/izoC7klh2DWV8Q9f/5f6afaqJJaPVf8g5uJz9VJWbnsD6sp+WTIZ0NMg9jbGF1ZGUtb3B1cy00LTY4ABIMnDmXriIo6e5JyVzZGgw0GlLxT7OFiuzhzoYiMCsM8p/JBjPMbw8sTypgzOvKcpfkpzt0X58TaWjElZ+BwN1ITZoG0lT/svxm1TqYQSo1Hcg63KwGTHhCIiEzJnsif9SnjYomixfYAuPIsOC05eAGEyj/SArdUhg8a0AABQbmUAaW0F0YAQ=="}}},{"type":"reasoning-end","id":"0","metadata":{}},{"type":"tool-params-start","id":"toolu_01GjnC56moeDfVoHcPvdwoDY","name":"update","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_01GjnC56moeDfVoHcPvdwoDY","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01GjnC56moeDfVoHcPvdwoDY","delta":"{\"doc\": \"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01GjnC56moeDfVoHcPvdwoDY","delta":"dxn:ec","metadata":{}},{"type":"tool-params-delta","id":"toolu_01GjnC56moeDfVoHcPvdwoDY","delta":"ho:BDJXMUL","metadata":{}},{"type":"tool-params-delta","id":"toolu_01GjnC56moeDfVoHcPvdwoDY","delta":"PW5FB55UZ7","metadata":{}},{"type":"tool-params-delta","id":"toolu_01GjnC56moeDfVoHcPvdwoDY","delta":"KP5HLDHVT","metadata":{}},{"type":"tool-params-delta","id":"toolu_01GjnC56moeDfVoHcPvdwoDY","delta":"XU","metadata":{}},{"type":"tool-params-delta","id":"toolu_01GjnC56moeDfVoHcPvdwoDY","delta":"THE2U:01JGF","metadata":{}},{"type":"tool-params-delta","id":"toolu_01GjnC56moeDfVoHcPvdwoDY","delta":"JJZ00G0WK","metadata":{}},{"type":"tool-params-delta","id":"toolu_01GjnC56moeDfVoHcPvdwoDY","delta":"QS","metadata":{}},{"type":"tool-params-delta","id":"toolu_01GjnC56moeDfVoHcPvdwoDY","delta":"JGMAKC","metadata":{}},{"type":"tool-params-delta","id":"toolu_01GjnC56moeDfVoHcPvdwoDY","delta":"NTQZ\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01GjnC56moeDfVoHcPvdwoDY","delta":", \"e","metadata":{}},{"type":"tool-params-delta","id":"toolu_01GjnC56moeDfVoHcPvdwoDY","delta":"dits\": [","metadata":{}},{"type":"tool-params-delta","id":"toolu_01GjnC56moeDfVoHcPvdwoDY","delta":"{\"oldString","metadata":{}},{"type":"tool-params-delta","id":"toolu_01GjnC56moeDfVoHcPvdwoDY","delta":"\":\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01GjnC56moeDfVoHcPvdwoDY","delta":"2 cups","metadata":{}},{"type":"tool-params-delta","id":"toolu_01GjnC56moeDfVoHcPvdwoDY","delta":" of ???\",\"ne","metadata":{}},{"type":"tool-params-delta","id":"toolu_01GjnC56moeDfVoHcPvdwoDY","delta":"wS","metadata":{}},{"type":"tool-params-delta","id":"toolu_01GjnC56moeDfVoHcPvdwoDY","delta":"tring\":\"2 ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01GjnC56moeDfVoHcPvdwoDY","delta":"cups of flo","metadata":{}},{"type":"tool-params-delta","id":"toolu_01GjnC56moeDfVoHcPvdwoDY","delta":"ur\"}]}","metadata":{}},{"type":"tool-params-end","id":"toolu_01GjnC56moeDfVoHcPvdwoDY","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":1838,"outputTokens":169,"totalTokens":2007},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1838,"output_tokens":8,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTQZ</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add the missing ingredient (its flour).","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its contents.","options":{}},{"type":"tool-call","id":"toolu_01EeeqZc7WvnFkY9od4C6VF8","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTQZ"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01EeeqZc7WvnFkY9od4C6VF8","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"Ingredients: \n - 2 cups of ???\n - 1 cup of sugar\n - 1 cup of butter\n - 1 cup of eggs"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"I need to replace \"???\" with \"flour\".","options":{}},{"type":"tool-call","id":"toolu_01GjnC56moeDfVoHcPvdwoDY","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTQZ","edits":[{"oldString":"2 cups of ???","newString":"2 cups of flour"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01GjnC56moeDfVoHcPvdwoDY","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"Ingredients: \n - 2 cups of flour\n - 1 cup of sugar\n - 1 cup of butter\n - 1 cup of eggs"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01Wx9m9cQaZB6hSshhLsvpyz","modelId":"claude-opus-4-6","timestamp":"2026-04-16T15:30:41.550Z","metadata":{}},{"type":"text-start","id":"0","metadata":{}},{"type":"text-delta","id":"0","delta":"Done","metadata":{}},{"type":"text-delta","id":"0","delta":"! I've replaced the missing ingredient `???` with **flour**. The ingredient list now reads:\n\n- 2 cups of **flour**\n- 1 cup","metadata":{}},{"type":"text-delta","id":"0","delta":" of sugar\n- 1 cup of butter\n- 1 cup of eggs","metadata":{}},{"type":"text-end","id":"0","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":2057,"outputTokens":59,"totalTokens":2116},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2057,"output_tokens":1,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTX</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01GRam4MVHHUv1Xu39Ga4e1x","modelId":"claude-opus-4-6","timestamp":"2026-04-16T15:30:44.715Z","metadata":{}},{"type":"reasoning-start","id":"0","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"Let","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" me first open the document to see its current contents.","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{"anthropic":{"type":"thinking","signature":"EvYBClkIDBgCKkB59APG7kQJaS56ZghJ7yGmUDPTIff8aJqcCaiTm7DBlPfIkAEzU9xUX9RfyXK8kuAlQ2FqlGTMKvYxrrstJfcdMg9jbGF1ZGUtb3B1cy00LTY4ABIMvvYyeEKK+7Wx6ybAGgyv//MuIVnwL8yQIpYiMK/icpwegZKFQX3Nd2hCXfRlag3vqwAYWnrCW5HK2PD5n1x2Euo8kH2K1eZfZq1uaSpLDcsKDu53mSJi/Ox9W/MhONZwZ8VgxLGF9PZ86mKWdhB9DseKjxeLRC+oeb5MdK9iGiYfl//i22NlBQ0IJXuuTTYN6wdkmVPOCXHGGAE="}}},{"type":"reasoning-end","id":"0","metadata":{}},{"type":"text-start","id":"1","metadata":{}},{"type":"text-delta","id":"1","delta":"Let me open the document first to see the current shopping","metadata":{}},{"type":"text-delta","id":"1","delta":" list.","metadata":{}},{"type":"text-end","id":"1","metadata":{}},{"type":"tool-params-start","id":"toolu_017DsRp9yoFNCSNAGmwyjV6T","name":"open","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_017DsRp9yoFNCSNAGmwyjV6T","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_017DsRp9yoFNCSNAGmwyjV6T","delta":"{\"doc\": \"dx","metadata":{}},{"type":"tool-params-delta","id":"toolu_017DsRp9yoFNCSNAGmwyjV6T","delta":"n:echo:B","metadata":{}},{"type":"tool-params-delta","id":"toolu_017DsRp9yoFNCSNAGmwyjV6T","delta":"DJXM","metadata":{}},{"type":"tool-params-delta","id":"toolu_017DsRp9yoFNCSNAGmwyjV6T","delta":"ULP","metadata":{}},{"type":"tool-params-delta","id":"toolu_017DsRp9yoFNCSNAGmwyjV6T","delta":"W5FB55U","metadata":{}},{"type":"tool-params-delta","id":"toolu_017DsRp9yoFNCSNAGmwyjV6T","delta":"Z7KP5HLDHVT","metadata":{}},{"type":"tool-params-delta","id":"toolu_017DsRp9yoFNCSNAGmwyjV6T","delta":"XUTHE2U:0","metadata":{}},{"type":"tool-params-delta","id":"toolu_017DsRp9yoFNCSNAGmwyjV6T","delta":"1JGFJ","metadata":{}},{"type":"tool-params-delta","id":"toolu_017DsRp9yoFNCSNAGmwyjV6T","delta":"JZ00G0WK","metadata":{}},{"type":"tool-params-delta","id":"toolu_017DsRp9yoFNCSNAGmwyjV6T","delta":"QSJGMAK","metadata":{}},{"type":"tool-params-delta","id":"toolu_017DsRp9yoFNCSNAGmwyjV6T","delta":"CNTTX\"}","metadata":{}},{"type":"tool-params-end","id":"toolu_017DsRp9yoFNCSNAGmwyjV6T","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":1659,"outputTokens":147,"totalTokens":1806},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1659,"output_tokens":9,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTX</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its current contents.","options":{}},{"type":"text","text":"Let me open the document first to see the current shopping list.","options":{}},{"type":"tool-call","id":"toolu_017DsRp9yoFNCSNAGmwyjV6T","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTX"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_017DsRp9yoFNCSNAGmwyjV6T","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Shopping list"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01Tgb8cNXhrupWPL74UfN1ge","modelId":"claude-opus-4-6","timestamp":"2026-04-16T15:30:48.015Z","metadata":{}},{"type":"reasoning-start","id":"0","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"The","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" document currently just has a heading \"# Shopping list\". I need to add \"milk\" to it.","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{"anthropic":{"type":"thinking","signature":"EpMCClkIDBgCKkCVR0MlE/75lDc9loNRTT8e4IygDUwrtCePRSoC7AiMoWfR0ohVYF5X41fF0I1Eg+5zqSrwW2+kDZ54viHUmA2JMg9jbGF1ZGUtb3B1cy00LTY4ABIMKLk/sb6pEEzPHDoHGgxGvhf9ngrcx32NJqciMGpCvKFQCgeZpbD7tXCSQQwVGtOQAlLPwyOj14KGuvVJCi2JZ9VkxZ8Q87KVsRpsQypoo+S2MhPJk2hFNDBdm9oVa3CukyYDMIBFdzcp/qEO5v6n0OrT1PpJr1sExVoSngfokkRAVA9YXNmpE3agGgOeGhEq2Jfi8e2R8GEV5xSwGfUVRsWKrSfeQngry8uJ0qWN1pGvE+F1KRQYAQ=="}}},{"type":"reasoning-end","id":"0","metadata":{}},{"type":"text-start","id":"1","metadata":{}},{"type":"text-delta","id":"1","delta":"Now I'll add milk to the shopping list.","metadata":{}},{"type":"text-end","id":"1","metadata":{}},{"type":"tool-params-start","id":"toolu_01NFe6LF3EuiT3SD85FFMSTk","name":"update","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_01NFe6LF3EuiT3SD85FFMSTk","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NFe6LF3EuiT3SD85FFMSTk","delta":"{\"doc\": ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NFe6LF3EuiT3SD85FFMSTk","delta":"\"dxn","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NFe6LF3EuiT3SD85FFMSTk","delta":":echo","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NFe6LF3EuiT3SD85FFMSTk","delta":":BDJXMULPW","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NFe6LF3EuiT3SD85FFMSTk","delta":"5FB55UZ7","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NFe6LF3EuiT3SD85FFMSTk","delta":"KP5HLDHV","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NFe6LF3EuiT3SD85FFMSTk","delta":"TXUTHE2","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NFe6LF3EuiT3SD85FFMSTk","delta":"U:01JGFJ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NFe6LF3EuiT3SD85FFMSTk","delta":"JZ00G0WKQSJG","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NFe6LF3EuiT3SD85FFMSTk","delta":"MAKCNTTX\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NFe6LF3EuiT3SD85FFMSTk","delta":", \"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NFe6LF3EuiT3SD85FFMSTk","delta":"ed","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NFe6LF3EuiT3SD85FFMSTk","delta":"its\": [{\"old","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NFe6LF3EuiT3SD85FFMSTk","delta":"St","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NFe6LF3EuiT3SD85FFMSTk","delta":"ring\":\"# ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NFe6LF3EuiT3SD85FFMSTk","delta":"Shopping","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NFe6LF3EuiT3SD85FFMSTk","delta":" li","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NFe6LF3EuiT3SD85FFMSTk","delta":"st\",\"newStri","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NFe6LF3EuiT3SD85FFMSTk","delta":"ng\":\"# Sho","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NFe6LF3EuiT3SD85FFMSTk","delta":"pping list\\","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NFe6LF3EuiT3SD85FFMSTk","delta":"n\\n","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NFe6LF3EuiT3SD85FFMSTk","delta":"- Mi","metadata":{}},{"type":"tool-params-delta","id":"toolu_01NFe6LF3EuiT3SD85FFMSTk","delta":"lk\"}]}","metadata":{}},{"type":"tool-params-end","id":"toolu_01NFe6LF3EuiT3SD85FFMSTk","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":1810,"outputTokens":197,"totalTokens":2007},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1810,"output_tokens":8,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTX</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its current contents.","options":{}},{"type":"text","text":"Let me open the document first to see the current shopping list.","options":{}},{"type":"tool-call","id":"toolu_017DsRp9yoFNCSNAGmwyjV6T","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTX"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_017DsRp9yoFNCSNAGmwyjV6T","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Shopping list"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The document currently just has a heading \"# Shopping list\". I need to add \"milk\" to it.","options":{}},{"type":"text","text":"Now I'll add milk to the shopping list.","options":{}},{"type":"tool-call","id":"toolu_01NFe6LF3EuiT3SD85FFMSTk","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTX","edits":[{"oldString":"# Shopping list","newString":"# Shopping list\n\n- Milk"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01NFe6LF3EuiT3SD85FFMSTk","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n\n- Milk"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01QP8wMPgQ7C5FSt21Vm52Ur","modelId":"claude-opus-4-6","timestamp":"2026-04-16T15:30:54.567Z","metadata":{}},{"type":"text-start","id":"0","metadata":{}},{"type":"text-delta","id":"0","delta":"Done! I've added **","metadata":{}},{"type":"text-delta","id":"0","delta":"Milk** to your shopping list. 🛒","metadata":{}},{"type":"text-end","id":"0","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":2010,"outputTokens":21,"totalTokens":2031},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2010,"output_tokens":6,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTX</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its current contents.","options":{}},{"type":"text","text":"Let me open the document first to see the current shopping list.","options":{}},{"type":"tool-call","id":"toolu_017DsRp9yoFNCSNAGmwyjV6T","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTX"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_017DsRp9yoFNCSNAGmwyjV6T","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Shopping list"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The document currently just has a heading \"# Shopping list\". I need to add \"milk\" to it.","options":{}},{"type":"text","text":"Now I'll add milk to the shopping list.","options":{}},{"type":"tool-call","id":"toolu_01NFe6LF3EuiT3SD85FFMSTk","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTX","edits":[{"oldString":"# Shopping list","newString":"# Shopping list\n\n- Milk"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01NFe6LF3EuiT3SD85FFMSTk","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n\n- Milk"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Done! I've added **Milk** to your shopping list. 🛒","options":{}},{"role":"user","content":"Add bread to the shopping list.","options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01Md46yduLgw9FJu6J6aUHNW","modelId":"claude-opus-4-6","timestamp":"2026-04-16T15:30:57.237Z","metadata":{}},{"type":"tool-params-start","id":"toolu_013iMcJMuM5FMMyyvTicJ1KR","name":"update","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_013iMcJMuM5FMMyyvTicJ1KR","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_013iMcJMuM5FMMyyvTicJ1KR","delta":"{\"doc\": ","metadata":{}},{"type":"tool-params-delta","id":"toolu_013iMcJMuM5FMMyyvTicJ1KR","delta":"\"dxn:e","metadata":{}},{"type":"tool-params-delta","id":"toolu_013iMcJMuM5FMMyyvTicJ1KR","delta":"cho:BDJXMUL","metadata":{}},{"type":"tool-params-delta","id":"toolu_013iMcJMuM5FMMyyvTicJ1KR","delta":"PW5FB55UZ7K","metadata":{}},{"type":"tool-params-delta","id":"toolu_013iMcJMuM5FMMyyvTicJ1KR","delta":"P5HLDHV","metadata":{}},{"type":"tool-params-delta","id":"toolu_013iMcJMuM5FMMyyvTicJ1KR","delta":"TX","metadata":{}},{"type":"tool-params-delta","id":"toolu_013iMcJMuM5FMMyyvTicJ1KR","delta":"UTHE2U:01","metadata":{}},{"type":"tool-params-delta","id":"toolu_013iMcJMuM5FMMyyvTicJ1KR","delta":"JGFJJZ","metadata":{}},{"type":"tool-params-delta","id":"toolu_013iMcJMuM5FMMyyvTicJ1KR","delta":"00G0WKQSJGM","metadata":{}},{"type":"tool-params-delta","id":"toolu_013iMcJMuM5FMMyyvTicJ1KR","delta":"AKCN","metadata":{}},{"type":"tool-params-delta","id":"toolu_013iMcJMuM5FMMyyvTicJ1KR","delta":"TT","metadata":{}},{"type":"tool-params-delta","id":"toolu_013iMcJMuM5FMMyyvTicJ1KR","delta":"X\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_013iMcJMuM5FMMyyvTicJ1KR","delta":", ","metadata":{}},{"type":"tool-params-delta","id":"toolu_013iMcJMuM5FMMyyvTicJ1KR","delta":"\"edits","metadata":{}},{"type":"tool-params-delta","id":"toolu_013iMcJMuM5FMMyyvTicJ1KR","delta":"\": [{\"oldSt","metadata":{}},{"type":"tool-params-delta","id":"toolu_013iMcJMuM5FMMyyvTicJ1KR","delta":"ring\":\"- Mi","metadata":{}},{"type":"tool-params-delta","id":"toolu_013iMcJMuM5FMMyyvTicJ1KR","delta":"lk\",\"new","metadata":{}},{"type":"tool-params-delta","id":"toolu_013iMcJMuM5FMMyyvTicJ1KR","delta":"Str","metadata":{}},{"type":"tool-params-delta","id":"toolu_013iMcJMuM5FMMyyvTicJ1KR","delta":"ing","metadata":{}},{"type":"tool-params-delta","id":"toolu_013iMcJMuM5FMMyyvTicJ1KR","delta":"\":\"- Mil","metadata":{}},{"type":"tool-params-delta","id":"toolu_013iMcJMuM5FMMyyvTicJ1KR","delta":"k\\n- Br","metadata":{}},{"type":"tool-params-delta","id":"toolu_013iMcJMuM5FMMyyvTicJ1KR","delta":"ead\"}]}","metadata":{}},{"type":"tool-params-end","id":"toolu_013iMcJMuM5FMMyyvTicJ1KR","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":2041,"outputTokens":148,"totalTokens":2189},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2041,"output_tokens":66,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTX</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its current contents.","options":{}},{"type":"text","text":"Let me open the document first to see the current shopping list.","options":{}},{"type":"tool-call","id":"toolu_017DsRp9yoFNCSNAGmwyjV6T","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTX"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_017DsRp9yoFNCSNAGmwyjV6T","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Shopping list"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The document currently just has a heading \"# Shopping list\". I need to add \"milk\" to it.","options":{}},{"type":"text","text":"Now I'll add milk to the shopping list.","options":{}},{"type":"tool-call","id":"toolu_01NFe6LF3EuiT3SD85FFMSTk","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTX","edits":[{"oldString":"# Shopping list","newString":"# Shopping list\n\n- Milk"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01NFe6LF3EuiT3SD85FFMSTk","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n\n- Milk"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Done! I've added **Milk** to your shopping list. 🛒","options":{}},{"role":"user","content":"Add bread to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"tool-call","id":"toolu_013iMcJMuM5FMMyyvTicJ1KR","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTX","edits":[{"oldString":"- Milk","newString":"- Milk\n- Bread"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_013iMcJMuM5FMMyyvTicJ1KR","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n\n- Milk\n- Bread"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01VSyDC5f2MJ2GjGpRvEvpGy","modelId":"claude-opus-4-6","timestamp":"2026-04-16T15:30:59.658Z","metadata":{}},{"type":"text-start","id":"0","metadata":{}},{"type":"text-delta","id":"0","delta":"Done! I've added **Bread","metadata":{}},{"type":"text-delta","id":"0","delta":"** to your shopping list. 🛒\n\nYour list now has:\n- Milk\n- Bread","metadata":{}},{"type":"text-end","id":"0","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":2234,"outputTokens":35,"totalTokens":2269},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2234,"output_tokens":8,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTX</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its current contents.","options":{}},{"type":"text","text":"Let me open the document first to see the current shopping list.","options":{}},{"type":"tool-call","id":"toolu_017DsRp9yoFNCSNAGmwyjV6T","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTX"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_017DsRp9yoFNCSNAGmwyjV6T","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Shopping list"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The document currently just has a heading \"# Shopping list\". I need to add \"milk\" to it.","options":{}},{"type":"text","text":"Now I'll add milk to the shopping list.","options":{}},{"type":"tool-call","id":"toolu_01NFe6LF3EuiT3SD85FFMSTk","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTX","edits":[{"oldString":"# Shopping list","newString":"# Shopping list\n\n- Milk"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01NFe6LF3EuiT3SD85FFMSTk","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n\n- Milk"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Done! I've added **Milk** to your shopping list. 🛒","options":{}},{"role":"user","content":"Add bread to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"tool-call","id":"toolu_013iMcJMuM5FMMyyvTicJ1KR","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTX","edits":[{"oldString":"- Milk","newString":"- Milk\n- Bread"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_013iMcJMuM5FMMyyvTicJ1KR","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n\n- Milk\n- Bread"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Done! I've added **Bread** to your shopping list. 🛒\n\nYour list now has:\n- Milk\n- Bread","options":{}},{"role":"user","content":"Add eggs to the shopping list.","options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_015GsA76adNZwihvP4Xfe1zQ","modelId":"claude-opus-4-6","timestamp":"2026-04-16T15:31:02.403Z","metadata":{}},{"type":"tool-params-start","id":"toolu_01R6PxnfwE2hB6AqNQFt7UMy","name":"update","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_01R6PxnfwE2hB6AqNQFt7UMy","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01R6PxnfwE2hB6AqNQFt7UMy","delta":"{\"doc\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01R6PxnfwE2hB6AqNQFt7UMy","delta":": ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01R6PxnfwE2hB6AqNQFt7UMy","delta":"\"dxn:","metadata":{}},{"type":"tool-params-delta","id":"toolu_01R6PxnfwE2hB6AqNQFt7UMy","delta":"echo:B","metadata":{}},{"type":"tool-params-delta","id":"toolu_01R6PxnfwE2hB6AqNQFt7UMy","delta":"DJXMULPW5F","metadata":{}},{"type":"tool-params-delta","id":"toolu_01R6PxnfwE2hB6AqNQFt7UMy","delta":"B55","metadata":{}},{"type":"tool-params-delta","id":"toolu_01R6PxnfwE2hB6AqNQFt7UMy","delta":"UZ7KP5HLDH","metadata":{}},{"type":"tool-params-delta","id":"toolu_01R6PxnfwE2hB6AqNQFt7UMy","delta":"VTXUTHE2","metadata":{}},{"type":"tool-params-delta","id":"toolu_01R6PxnfwE2hB6AqNQFt7UMy","delta":"U:01JGF","metadata":{}},{"type":"tool-params-delta","id":"toolu_01R6PxnfwE2hB6AqNQFt7UMy","delta":"JJZ00G0","metadata":{}},{"type":"tool-params-delta","id":"toolu_01R6PxnfwE2hB6AqNQFt7UMy","delta":"WKQS","metadata":{}},{"type":"tool-params-delta","id":"toolu_01R6PxnfwE2hB6AqNQFt7UMy","delta":"JGMAKC","metadata":{}},{"type":"tool-params-delta","id":"toolu_01R6PxnfwE2hB6AqNQFt7UMy","delta":"NTTX\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01R6PxnfwE2hB6AqNQFt7UMy","delta":", \"edits\": ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01R6PxnfwE2hB6AqNQFt7UMy","delta":"[{","metadata":{}},{"type":"tool-params-delta","id":"toolu_01R6PxnfwE2hB6AqNQFt7UMy","delta":"\"oldStrin","metadata":{}},{"type":"tool-params-delta","id":"toolu_01R6PxnfwE2hB6AqNQFt7UMy","delta":"g\":\"- Bre","metadata":{}},{"type":"tool-params-delta","id":"toolu_01R6PxnfwE2hB6AqNQFt7UMy","delta":"ad\",\"newStr","metadata":{}},{"type":"tool-params-delta","id":"toolu_01R6PxnfwE2hB6AqNQFt7UMy","delta":"ing\":\"-","metadata":{}},{"type":"tool-params-delta","id":"toolu_01R6PxnfwE2hB6AqNQFt7UMy","delta":" Bread\\","metadata":{}},{"type":"tool-params-delta","id":"toolu_01R6PxnfwE2hB6AqNQFt7UMy","delta":"n- Eggs\"}]}","metadata":{}},{"type":"tool-params-end","id":"toolu_01R6PxnfwE2hB6AqNQFt7UMy","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":2279,"outputTokens":148,"totalTokens":2427},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2279,"output_tokens":73,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTX</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its current contents.","options":{}},{"type":"text","text":"Let me open the document first to see the current shopping list.","options":{}},{"type":"tool-call","id":"toolu_017DsRp9yoFNCSNAGmwyjV6T","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTX"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_017DsRp9yoFNCSNAGmwyjV6T","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Shopping list"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The document currently just has a heading \"# Shopping list\". I need to add \"milk\" to it.","options":{}},{"type":"text","text":"Now I'll add milk to the shopping list.","options":{}},{"type":"tool-call","id":"toolu_01NFe6LF3EuiT3SD85FFMSTk","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTX","edits":[{"oldString":"# Shopping list","newString":"# Shopping list\n\n- Milk"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01NFe6LF3EuiT3SD85FFMSTk","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n\n- Milk"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Done! I've added **Milk** to your shopping list. 🛒","options":{}},{"role":"user","content":"Add bread to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"tool-call","id":"toolu_013iMcJMuM5FMMyyvTicJ1KR","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTX","edits":[{"oldString":"- Milk","newString":"- Milk\n- Bread"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_013iMcJMuM5FMMyyvTicJ1KR","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n\n- Milk\n- Bread"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Done! I've added **Bread** to your shopping list. 🛒\n\nYour list now has:\n- Milk\n- Bread","options":{}},{"role":"user","content":"Add eggs to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"tool-call","id":"toolu_01R6PxnfwE2hB6AqNQFt7UMy","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTTX","edits":[{"oldString":"- Bread","newString":"- Bread\n- Eggs"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01R6PxnfwE2hB6AqNQFt7UMy","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n\n- Milk\n- Bread\n- Eggs"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01U4JR74gs66WXehwAFzjWkK","modelId":"claude-opus-4-6","timestamp":"2026-04-16T15:31:05.614Z","metadata":{}},{"type":"text-start","id":"0","metadata":{}},{"type":"text-delta","id":"0","delta":"Done! I've added **Eggs","metadata":{}},{"type":"text-delta","id":"0","delta":"** to your shopping list. 🛒\n\nYour list now has:\n- Milk\n- Bread\n- Eggs","metadata":{}},{"type":"text-end","id":"0","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":2477,"outputTokens":39,"totalTokens":2516},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2477,"output_tokens":8,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>","options":{}},{"role":"user","content":"Create a document with a cookie recipe.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The user wants me to create a document with a cookie recipe. Let me create a nice markdown document with a classic cookie recipe.","options":{}},{"type":"tool-call","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","params":{"name":"Classic Chocolate Chip Cookies","content":"# Classic Chocolate Chip Cookies\n\nA timeless recipe for soft, chewy chocolate chip cookies that are golden on the edges and gooey in the center.\n\n## Ingredients\n\n- 2 ¼ cups all-purpose flour\n- 1 tsp baking soda\n- 1 tsp salt\n- 1 cup (2 sticks) unsalted butter, softened\n- ¾ cup granulated sugar\n- ¾ cup packed brown sugar\n- 2 large eggs\n- 2 tsp vanilla extract\n- 2 cups semi-sweet chocolate chips\n\n## Instructions\n\n1. **Preheat** the oven to 375°F (190°C). Line baking sheets with parchment paper.\n2. **Combine dry ingredients:** In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.\n3. **Cream the butter and sugars:** In a large bowl, beat the softened butter, granulated sugar, and brown sugar together until light and fluffy (about 2–3 minutes).\n4. **Add eggs and vanilla:** Beat in the eggs one at a time, then mix in the vanilla extract until combined.\n5. **Mix in dry ingredients:** Gradually add the flour mixture to the wet ingredients, stirring until just combined. Do not overmix.\n6. **Fold in chocolate chips:** Gently stir in the chocolate chips.\n7. **Scoop the dough:** Drop rounded tablespoons of dough onto the prepared baking sheets, spacing them about 2 inches apart.\n8. **Bake:** Bake for 9–11 minutes, or until the edges are golden brown but the centers still look slightly underdone.\n9. **Cool:** Let the cookies cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.\n\n## Tips\n\n- For extra flavor, use a mix of semi-sweet and dark chocolate chips.\n- Chill the dough for 30 minutes before baking for thicker cookies.\n- Store in an airtight container at room temperature for up to 5 days.\n\n**Yield:** ~48 cookies | **Prep Time:** 15 min | **Bake Time:** 10 min\n"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"id":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTJ6"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01WT4iVSHL12PJ1aJGre34U9","modelId":"claude-opus-4-6","timestamp":"2026-04-17T13:37:39.619Z","metadata":{}},{"type":"reasoning-start","id":"0","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"The","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" document was created successfully.","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{"anthropic":{"type":"thinking","signature":"EuEBClkIDBgCKkDYqIGzymGgehnxneo7UHzpnlm8a0tPpXlILeVnfXH6ESWFT2yPNAKo7VXEFmHMiD7GK+j83i4I8Ok4es2dgweUMg9jbGF1ZGUtb3B1cy00LTY4ABIMIl6Z09g86b0QwPOxGgw/AnTo4HnQ8tPuWhUiMCpZrKo2uNWQIVz/a9sP6Ub550987NEhRtdNXqm1wtzlEKjEJ0vMtQaPMxM1nrsBQio25m4Zom9xU4r0aNQ1O1TSzEFnoqQQvfQ5kErMyl5tAG3FmJEcf80mJJNHQdepPL5liTs0teUNGAE="}}},{"type":"reasoning-end","id":"0","metadata":{}},{"type":"text-start","id":"1","metadata":{}},{"type":"text-delta","id":"1","delta":"Your cookie recipe document has been created! 🍪 It includes","metadata":{}},{"type":"text-delta","id":"1","delta":":\n\n- **Title:** Classic Chocolate Chip Cookies\n- **Ingredients** — a full list including butter, sug","metadata":{}},{"type":"text-delta","id":"1","delta":"ars, flour, eggs, vanilla, and chocolate chips\n- **Step-by-step instructions** — from preheating the oven to cooling the cookies\n- **Helpful tips** — like ch","metadata":{}},{"type":"text-delta","id":"1","delta":"illing the dough for thicker cookies and storage advice\n\nLet me know if you'd like to make any changes, such as adding a different variation","metadata":{}},{"type":"text-delta","id":"1","delta":" or adjusting the recipe!","metadata":{}},{"type":"text-end","id":"1","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":2245,"outputTokens":145,"totalTokens":2390},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2245,"output_tokens":8,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>","options":{}},{"role":"user","content":"Create a document with a cookie recipe.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The user wants me to create a document with a cookie recipe. Let me create a nice markdown document with a classic cookie recipe.","options":{}},{"type":"tool-call","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","params":{"name":"Classic Chocolate Chip Cookies","content":"# Classic Chocolate Chip Cookies\n\nA timeless recipe for soft, chewy chocolate chip cookies that are golden on the edges and gooey in the center.\n\n## Ingredients\n\n- 2 ¼ cups all-purpose flour\n- 1 tsp baking soda\n- 1 tsp salt\n- 1 cup (2 sticks) unsalted butter, softened\n- ¾ cup granulated sugar\n- ¾ cup packed brown sugar\n- 2 large eggs\n- 2 tsp vanilla extract\n- 2 cups semi-sweet chocolate chips\n\n## Instructions\n\n1. **Preheat** the oven to 375°F (190°C). Line baking sheets with parchment paper.\n2. **Combine dry ingredients:** In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.\n3. **Cream the butter and sugars:** In a large bowl, beat the softened butter, granulated sugar, and brown sugar together until light and fluffy (about 2–3 minutes).\n4. **Add eggs and vanilla:** Beat in the eggs one at a time, then mix in the vanilla extract until combined.\n5. **Mix in dry ingredients:** Gradually add the flour mixture to the wet ingredients, stirring until just combined. Do not overmix.\n6. **Fold in chocolate chips:** Gently stir in the chocolate chips.\n7. **Scoop the dough:** Drop rounded tablespoons of dough onto the prepared baking sheets, spacing them about 2 inches apart.\n8. **Bake:** Bake for 9–11 minutes, or until the edges are golden brown but the centers still look slightly underdone.\n9. **Cool:** Let the cookies cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.\n\n## Tips\n\n- For extra flavor, use a mix of semi-sweet and dark chocolate chips.\n- Chill the dough for 30 minutes before baking for thicker cookies.\n- Store in an airtight container at room temperature for up to 5 days.\n\n**Yield:** ~48 cookies | **Prep Time:** 15 min | **Bake Time:** 10 min\n"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"id":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTJ6"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The document was created successfully.","options":{}},{"type":"text","text":"Your cookie recipe document has been created! 🍪 It includes:\n\n- **Title:** Classic Chocolate Chip Cookies\n- **Ingredients** — a full list including butter, sugars, flour, eggs, vanilla, and chocolate chips\n- **Step-by-step instructions** — from preheating the oven to cooling the cookies\n- **Helpful tips** — like chilling the dough for thicker cookies and storage advice\n\nLet me know if you'd like to make any changes, such as adding a different variation or adjusting the recipe!","options":{}}],"options":{}},{"role":"user","content":"Add a section with a holiday-themed variation.","options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01PJ5TTJzyL9Cf1hfRAVFoBV","modelId":"claude-opus-4-6","timestamp":"2026-04-17T13:37:44.851Z","metadata":{}},{"type":"reasoning-start","id":"0","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"The user wants me to add a holiday-themed variation section to the cookie recipe document. Let me update the existing document.","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{"anthropic":{"type":"thinking","signature":"ErsCClkIDBgCKkDc82McfGDXeaK2ley9goVox6HZxMwmDV2KHtttW4MFWfCEd6atLxc3E+qGnr3zwwOzJSB1b3vVhfLNi3OjKHRvMg9jbGF1ZGUtb3B1cy00LTY4ABIM8b4GhAQCS+HLUfckGgyB2yjP3OmY1DTeklkiMKQxpEaJwYY9BjQCOvOaFwxHfL5AC3J1pwtIPgP+AmPGn55HWwuFv6h+AJRzLXiQQCqPARl0pelGEsY7q7IpT/JRvGwFLVI/uyPjjSbSOpjzKHuVWwa8CgaBoPJ7iLlvSJ9M6URKqayiyPbBeslleO/5Ja2fCpaKu+JqnCeGKif6rDwhgXW9rPGb4CAJ0dO9/B/eFSiEnzyd7c+Xk1oUbLmfaD3N/F2C0aeDbnprPHwUuhmTRLR1qFvMq6w9cY6yV5wfGAE="}}},{"type":"reasoning-end","id":"0","metadata":{}},{"type":"tool-params-start","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","name":"update","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"{\"doc\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":": \"01J","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"GF","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"JJZ0","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"0G0WKQS","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"JGMAKCNT","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"J6\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":", \"e","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"dits\": [","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"{\"oldS","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"tring\":\"**","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"Yiel","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"d:** ~48 coo","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"kies","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"\",\"newSt","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"rin","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"g\":\"## Holi","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"day Var","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"iation: P","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"eppermint Wh","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"ite Choco","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"late Coo","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"kies\\n","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"\\nGive these","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":" cookies a ","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"festiv","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"e tw","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"is","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"t perfect fo","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"r the holid","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"ay sea","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"son!\\n\\n##","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"# ","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"Substitut","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"ions & Addit","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"ions\\n\\n","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"- Replace ","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"the sem","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"i-sweet","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":" chocolat","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"e chips","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":" with **wh","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"ite","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":" chocol","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"ate chip","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"s**","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":".\\","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"n-","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":" Add **½ cu","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"p cru","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"shed candy c","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"an","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"es*","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"* (abo","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"ut 6","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"–8 mi","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"ni","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":" cand","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"y canes) to ","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"the dough","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":" along","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":" w","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"it","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"h the chi","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"ps.\\","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"n-","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":" Sub","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"stit","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"ute **1 t","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"sp pepper","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"mi","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"nt ex","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"tra","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"ct*","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"* for one","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":" of the teas","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"poo","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"ns of van","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"ill","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"a extra","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"ct.\\n- Opt","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"ionally, a","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"dd a few d","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"rops of","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":" **red or ","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"green food ","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"colo","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"rin","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"g** for a f","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"un holiday l","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"ook.\\n\\n#","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"## De","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"cor","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"at","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"ion\\n\\n- O","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"nce cooled","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":", ","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"drizzle the","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":" cookies wi","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"th me","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"lted","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":" w","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"hite chocol","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"ate and spri","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"nkle wit","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"h e","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"xtra c","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"rushe","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"d can","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"dy","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":" c","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"ane pi","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"eces.\\n","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"- Top with ","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"festive ","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"sprinkles fo","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"r an","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":" extra p","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"op of ","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"col","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"or.\\n\\n##","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"# St","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"orage\\","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"n\\n- These ","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"ar","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"e great f","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"or","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":" giftin","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"g! S","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"tack in a","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":" deco","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"rative ti","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"n w","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"ith","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":" parc","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"hment p","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"aper betwe","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"en layers.\\n","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"\\n---\\n\\","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"n**Yield","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":":** ~","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"48 cook","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"ie","metadata":{}},{"type":"tool-params-delta","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","delta":"s\"}]}","metadata":{}},{"type":"tool-params-end","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":2382,"outputTokens":399,"totalTokens":2781},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2382,"output_tokens":40,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>","options":{}},{"role":"user","content":"Create a document with a cookie recipe.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The user wants me to create a document with a cookie recipe. Let me create a nice markdown document with a classic cookie recipe.","options":{}},{"type":"tool-call","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","params":{"name":"Classic Chocolate Chip Cookies","content":"# Classic Chocolate Chip Cookies\n\nA timeless recipe for soft, chewy chocolate chip cookies that are golden on the edges and gooey in the center.\n\n## Ingredients\n\n- 2 ¼ cups all-purpose flour\n- 1 tsp baking soda\n- 1 tsp salt\n- 1 cup (2 sticks) unsalted butter, softened\n- ¾ cup granulated sugar\n- ¾ cup packed brown sugar\n- 2 large eggs\n- 2 tsp vanilla extract\n- 2 cups semi-sweet chocolate chips\n\n## Instructions\n\n1. **Preheat** the oven to 375°F (190°C). Line baking sheets with parchment paper.\n2. **Combine dry ingredients:** In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.\n3. **Cream the butter and sugars:** In a large bowl, beat the softened butter, granulated sugar, and brown sugar together until light and fluffy (about 2–3 minutes).\n4. **Add eggs and vanilla:** Beat in the eggs one at a time, then mix in the vanilla extract until combined.\n5. **Mix in dry ingredients:** Gradually add the flour mixture to the wet ingredients, stirring until just combined. Do not overmix.\n6. **Fold in chocolate chips:** Gently stir in the chocolate chips.\n7. **Scoop the dough:** Drop rounded tablespoons of dough onto the prepared baking sheets, spacing them about 2 inches apart.\n8. **Bake:** Bake for 9–11 minutes, or until the edges are golden brown but the centers still look slightly underdone.\n9. **Cool:** Let the cookies cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.\n\n## Tips\n\n- For extra flavor, use a mix of semi-sweet and dark chocolate chips.\n- Chill the dough for 30 minutes before baking for thicker cookies.\n- Store in an airtight container at room temperature for up to 5 days.\n\n**Yield:** ~48 cookies | **Prep Time:** 15 min | **Bake Time:** 10 min\n"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"id":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTJ6"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The document was created successfully.","options":{}},{"type":"text","text":"Your cookie recipe document has been created! 🍪 It includes:\n\n- **Title:** Classic Chocolate Chip Cookies\n- **Ingredients** — a full list including butter, sugars, flour, eggs, vanilla, and chocolate chips\n- **Step-by-step instructions** — from preheating the oven to cooling the cookies\n- **Helpful tips** — like chilling the dough for thicker cookies and storage advice\n\nLet me know if you'd like to make any changes, such as adding a different variation or adjusting the recipe!","options":{}}],"options":{}},{"role":"user","content":"Add a section with a holiday-themed variation.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The user wants me to add a holiday-themed variation section to the cookie recipe document. Let me update the existing document.","options":{}},{"type":"tool-call","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","name":"update","params":{"doc":"01JGFJJZ00G0WKQSJGMAKCNTJ6","edits":[{"oldString":"**Yield:** ~48 cookies","newString":"## Holiday Variation: Peppermint White Chocolate Cookies\n\nGive these cookies a festive twist perfect for the holiday season!\n\n### Substitutions & Additions\n\n- Replace the semi-sweet chocolate chips with **white chocolate chips**.\n- Add **½ cup crushed candy canes** (about 6–8 mini candy canes) to the dough along with the chips.\n- Substitute **1 tsp peppermint extract** for one of the teaspoons of vanilla extract.\n- Optionally, add a few drops of **red or green food coloring** for a fun holiday look.\n\n### Decoration\n\n- Once cooled, drizzle the cookies with melted white chocolate and sprinkle with extra crushed candy cane pieces.\n- Top with festive sprinkles for an extra pop of color.\n\n### Storage\n\n- These are great for gifting! Stack in a decorative tin with parchment paper between layers.\n\n---\n\n**Yield:** ~48 cookies"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_015z5QWuek8LWpdqmgJnjFzj","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Classic Chocolate Chip Cookies\n\nA timeless recipe for soft, chewy chocolate chip cookies that are golden on the edges and gooey in the center.\n\n## Ingredients\n\n- 2 ¼ cups all-purpose flour\n- 1 tsp baking soda\n- 1 tsp salt\n- 1 cup (2 sticks) unsalted butter, softened\n- ¾ cup granulated sugar\n- ¾ cup packed brown sugar\n- 2 large eggs\n- 2 tsp vanilla extract\n- 2 cups semi-sweet chocolate chips\n\n## Instructions\n\n1. **Preheat** the oven to 375°F (190°C). Line baking sheets with parchment paper.\n2. **Combine dry ingredients:** In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.\n3. **Cream the butter and sugars:** In a large bowl, beat the softened butter, granulated sugar, and brown sugar together until light and fluffy (about 2–3 minutes).\n4. **Add eggs and vanilla:** Beat in the eggs one at a time, then mix in the vanilla extract until combined.\n5. **Mix in dry ingredients:** Gradually add the flour mixture to the wet ingredients, stirring until just combined. Do not overmix.\n6. **Fold in chocolate chips:** Gently stir in the chocolate chips.\n7. **Scoop the dough:** Drop rounded tablespoons of dough onto the prepared baking sheets, spacing them about 2 inches apart.\n8. **Bake:** Bake for 9–11 minutes, or until the edges are golden brown but the centers still look slightly underdone.\n9. **Cool:** Let the cookies cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.\n\n## Tips\n\n- For extra flavor, use a mix of semi-sweet and dark chocolate chips.\n- Chill the dough for 30 minutes before baking for thicker cookies.\n- Store in an airtight container at room temperature for up to 5 days.\n\n## Holiday Variation: Peppermint White Chocolate Cookies\n\nGive these cookies a festive twist perfect for the holiday season!\n\n### Substitutions & Additions\n\n- Replace the semi-sweet chocolate chips with **white chocolate chips**.\n- Add **½ cup crushed candy canes** (about 6–8 mini candy canes) to the dough along with the chips.\n- Substitute **1 tsp peppermint extract** for one of the teaspoons of vanilla extract.\n- Optionally, add a few drops of **red or green food coloring** for a fun holiday look.\n\n### Decoration\n\n- Once cooled, drizzle the cookies with melted white chocolate and sprinkle with extra crushed candy cane pieces.\n- Top with festive sprinkles for an extra pop of color.\n\n### Storage\n\n- These are great for gifting! Stack in a decorative tin with parchment paper between layers.\n\n---\n\n**Yield:** ~48 cookies | **Prep Time:** 15 min | **Bake Time:** 10 min\n"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01D7DtBjBHN6czSXxXS8S1Bg","modelId":"claude-opus-4-6","timestamp":"2026-04-17T13:37:53.069Z","metadata":{}},{"type":"text-start","id":"0","metadata":{}},{"type":"text-delta","id":"0","delta":"I","metadata":{}},{"type":"text-delta","id":"0","delta":"'ve added a **Holiday Variation: Peppermint White Chocolate Cookies** section! 🎄🍪 It includes:\n\n- **Substitutions","metadata":{}},{"type":"text-delta","id":"0","delta":" & Additions** — white chocolate chips, crushed candy canes, peppermint extract, and optional food coloring\n- **Decoration ideas** — drizzled white","metadata":{}},{"type":"text-delta","id":"0","delta":" chocolate and festive sprinkles\n- **Storage tip** — perfect for holiday gifting in decor","metadata":{}},{"type":"text-delta","id":"0","delta":"ative tins\n\nLet me know if you'd like any other tweaks!","metadata":{}},{"type":"text-end","id":"0","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":3569,"outputTokens":117,"totalTokens":3686},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":3569,"output_tokens":1,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTRD</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add the missing ingredient (its flour).","options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01JnvE26XQDog43ZdTi9imG1","modelId":"claude-opus-4-6","timestamp":"2026-04-17T13:37:56.812Z","metadata":{}},{"type":"reasoning-start","id":"0","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"Let","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" me first open the document to see its current contents.","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{"anthropic":{"type":"thinking","signature":"EvYBClkIDBgCKkB59APG7kQJaS56ZghJ7yGmUDPTIff8aJqcCaiTm7DBlPfIkAEzU9xUX9RfyXK8kuAlQ2FqlGTMKvYxrrstJfcdMg9jbGF1ZGUtb3B1cy00LTY4ABIMCaUS2B86DQ8aWefoGgxWdoW6MP5X5s76a+giMDH72V0GTewOnAR8LVtLz9kVf8Cm31doJmGNlWd/ntyr6pPJOdtjGy/HmNi+HCB3pypLBdvbA3UoiMLjouXTVTKkyYRaNW5LPtZRBZAwNj2zSenjYGySqnbCY9r1ksmnLBAcCvAMouW5phBfRZQcfru+T11k7bc7XieKd7yRGAE="}}},{"type":"reasoning-end","id":"0","metadata":{}},{"type":"tool-params-start","id":"toolu_01PD1U4X5bmVrpQBSnBm8K66","name":"open","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_01PD1U4X5bmVrpQBSnBm8K66","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PD1U4X5bmVrpQBSnBm8K66","delta":"{\"do","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PD1U4X5bmVrpQBSnBm8K66","delta":"c\": \"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PD1U4X5bmVrpQBSnBm8K66","delta":"dxn","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PD1U4X5bmVrpQBSnBm8K66","delta":":echo","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PD1U4X5bmVrpQBSnBm8K66","delta":":BDJXMU","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PD1U4X5bmVrpQBSnBm8K66","delta":"LP","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PD1U4X5bmVrpQBSnBm8K66","delta":"W5F","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PD1U4X5bmVrpQBSnBm8K66","delta":"B55UZ7","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PD1U4X5bmVrpQBSnBm8K66","delta":"KP5HL","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PD1U4X5bmVrpQBSnBm8K66","delta":"DHVTXU","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PD1U4X5bmVrpQBSnBm8K66","delta":"THE2U:01J","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PD1U4X5bmVrpQBSnBm8K66","delta":"GFJJZ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PD1U4X5bmVrpQBSnBm8K66","delta":"00G0W","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PD1U4X5bmVrpQBSnBm8K66","delta":"KQSJG","metadata":{}},{"type":"tool-params-delta","id":"toolu_01PD1U4X5bmVrpQBSnBm8K66","delta":"MAKCNTRD\"}","metadata":{}},{"type":"tool-params-end","id":"toolu_01PD1U4X5bmVrpQBSnBm8K66","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":1659,"outputTokens":132,"totalTokens":1791},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1659,"output_tokens":9,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTRD</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add the missing ingredient (its flour).","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its current contents.","options":{}},{"type":"tool-call","id":"toolu_01PD1U4X5bmVrpQBSnBm8K66","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTRD"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01PD1U4X5bmVrpQBSnBm8K66","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"Ingredients: \n - 2 cups of ???\n - 1 cup of sugar\n - 1 cup of butter\n - 1 cup of eggs"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01TAEHELR9FxudSKQoqscXwR","modelId":"claude-opus-4-6","timestamp":"2026-04-17T13:37:59.523Z","metadata":{}},{"type":"reasoning-start","id":"0","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"The user","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" wants me to replace \"???\" with \"flour\".","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{"anthropic":{"type":"thinking","signature":"EusBClkIDBgCKkAAXBrtJ11L6fmUxpyTtLkukHZpYlwRKbjuFdRNk81oPXEf4f9R6s1ziIil9OYpZP/jyAhf0Y4tNDWLvOBEnZ1VMg9jbGF1ZGUtb3B1cy00LTY4ABIMPEqw5Ok/yg+jXN7QGgwxum94MdbL4i8TKIgiMDNgUbWR/GnLSMzffaSNnxLQN/nc8gRGud2tLu6UAIY+9ADdi+l2qF4abfv+mZwB2CpA3SL8J6AZuDCMQkUKD5tXFjpnoQrlIg5eREPXCsmmsWRGoGazxBzGzOyDSjWPWyFrGh9NRrA50XotowPWeUvJdBgB"}}},{"type":"reasoning-end","id":"0","metadata":{}},{"type":"tool-params-start","id":"toolu_01MJbejy519JJDKBUTsanf7V","name":"update","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_01MJbejy519JJDKBUTsanf7V","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01MJbejy519JJDKBUTsanf7V","delta":"{\"doc\": \"dxn","metadata":{}},{"type":"tool-params-delta","id":"toolu_01MJbejy519JJDKBUTsanf7V","delta":":echo:BDJXM","metadata":{}},{"type":"tool-params-delta","id":"toolu_01MJbejy519JJDKBUTsanf7V","delta":"ULPW5FB55UZ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01MJbejy519JJDKBUTsanf7V","delta":"7KP5HLD","metadata":{}},{"type":"tool-params-delta","id":"toolu_01MJbejy519JJDKBUTsanf7V","delta":"HVTXU","metadata":{}},{"type":"tool-params-delta","id":"toolu_01MJbejy519JJDKBUTsanf7V","delta":"THE2U:","metadata":{}},{"type":"tool-params-delta","id":"toolu_01MJbejy519JJDKBUTsanf7V","delta":"01JGF","metadata":{}},{"type":"tool-params-delta","id":"toolu_01MJbejy519JJDKBUTsanf7V","delta":"JJZ00G","metadata":{}},{"type":"tool-params-delta","id":"toolu_01MJbejy519JJDKBUTsanf7V","delta":"0WKQS","metadata":{}},{"type":"tool-params-delta","id":"toolu_01MJbejy519JJDKBUTsanf7V","delta":"JGMAKCNTRD\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01MJbejy519JJDKBUTsanf7V","delta":", \"edits\": [","metadata":{}},{"type":"tool-params-delta","id":"toolu_01MJbejy519JJDKBUTsanf7V","delta":"{\"oldString","metadata":{}},{"type":"tool-params-delta","id":"toolu_01MJbejy519JJDKBUTsanf7V","delta":"\":","metadata":{}},{"type":"tool-params-delta","id":"toolu_01MJbejy519JJDKBUTsanf7V","delta":"\"2 cups of","metadata":{}},{"type":"tool-params-delta","id":"toolu_01MJbejy519JJDKBUTsanf7V","delta":" ???\",\"newS","metadata":{}},{"type":"tool-params-delta","id":"toolu_01MJbejy519JJDKBUTsanf7V","delta":"tri","metadata":{}},{"type":"tool-params-delta","id":"toolu_01MJbejy519JJDKBUTsanf7V","delta":"ng\":\"2 cups ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01MJbejy519JJDKBUTsanf7V","delta":"of f","metadata":{}},{"type":"tool-params-delta","id":"toolu_01MJbejy519JJDKBUTsanf7V","delta":"lour","metadata":{}},{"type":"tool-params-delta","id":"toolu_01MJbejy519JJDKBUTsanf7V","delta":"\"}","metadata":{}},{"type":"tool-params-delta","id":"toolu_01MJbejy519JJDKBUTsanf7V","delta":"]}","metadata":{}},{"type":"tool-params-end","id":"toolu_01MJbejy519JJDKBUTsanf7V","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":1836,"outputTokens":173,"totalTokens":2009},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1836,"output_tokens":9,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTRD</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add the missing ingredient (its flour).","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its current contents.","options":{}},{"type":"tool-call","id":"toolu_01PD1U4X5bmVrpQBSnBm8K66","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTRD"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01PD1U4X5bmVrpQBSnBm8K66","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"Ingredients: \n - 2 cups of ???\n - 1 cup of sugar\n - 1 cup of butter\n - 1 cup of eggs"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The user wants me to replace \"???\" with \"flour\".","options":{}},{"type":"tool-call","id":"toolu_01MJbejy519JJDKBUTsanf7V","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTRD","edits":[{"oldString":"2 cups of ???","newString":"2 cups of flour"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01MJbejy519JJDKBUTsanf7V","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"Ingredients: \n - 2 cups of flour\n - 1 cup of sugar\n - 1 cup of butter\n - 1 cup of eggs"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_017aNvcNDBgA5sENkXXJuZ9t","modelId":"claude-opus-4-6","timestamp":"2026-04-17T13:38:06.289Z","metadata":{}},{"type":"text-start","id":"0","metadata":{}},{"type":"text-delta","id":"0","delta":"Done! I've replaced","metadata":{}},{"type":"text-delta","id":"0","delta":" the missing ingredient `???` with **flour**. The ingredient list now reads \"2 cups of flour.\"","metadata":{}},{"type":"text-end","id":"0","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":2054,"outputTokens":31,"totalTokens":2085},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2054,"output_tokens":5,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTVD</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01UTHS9fsS8PJ1d7WL9i2Az8","modelId":"claude-opus-4-6","timestamp":"2026-04-17T13:38:09.670Z","metadata":{}},{"type":"reasoning-start","id":"0","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"Let","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" me first open the document to see its current contents.","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{"anthropic":{"type":"thinking","signature":"EvYBClkIDBgCKkB59APG7kQJaS56ZghJ7yGmUDPTIff8aJqcCaiTm7DBlPfIkAEzU9xUX9RfyXK8kuAlQ2FqlGTMKvYxrrstJfcdMg9jbGF1ZGUtb3B1cy00LTY4ABIMRIzd5HR1MoNZQwtSGgzh/eXTIeZvqUc/9l8iMKrSHWzqtNv+4+Ejw4x8f4e+duo7WQMJEvCKI6bxAQYaVuX/hsazNkyzaJ5autN4XypLw2WPiIMDwcjyOIGSDHJ7d/u+nzsfe3H8avmYAiSmWxcAjKiOnkghMVxE5f1b/J/8MZT+zXJpPNtfPHfZBGRE/KmOeeCGPhVl0aiqGAE="}}},{"type":"reasoning-end","id":"0","metadata":{}},{"type":"text-start","id":"1","metadata":{}},{"type":"text-delta","id":"1","delta":"Let me open the document first to see the","metadata":{}},{"type":"text-delta","id":"1","delta":" current shopping list.","metadata":{}},{"type":"text-end","id":"1","metadata":{}},{"type":"tool-params-start","id":"toolu_01CdJhZwz7sj8ycy8nCd49L6","name":"open","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_01CdJhZwz7sj8ycy8nCd49L6","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01CdJhZwz7sj8ycy8nCd49L6","delta":"{\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01CdJhZwz7sj8ycy8nCd49L6","delta":"doc\": \"d","metadata":{}},{"type":"tool-params-delta","id":"toolu_01CdJhZwz7sj8ycy8nCd49L6","delta":"xn:ec","metadata":{}},{"type":"tool-params-delta","id":"toolu_01CdJhZwz7sj8ycy8nCd49L6","delta":"ho:BDJXMULP","metadata":{}},{"type":"tool-params-delta","id":"toolu_01CdJhZwz7sj8ycy8nCd49L6","delta":"W5","metadata":{}},{"type":"tool-params-delta","id":"toolu_01CdJhZwz7sj8ycy8nCd49L6","delta":"FB55UZ7KP5H","metadata":{}},{"type":"tool-params-delta","id":"toolu_01CdJhZwz7sj8ycy8nCd49L6","delta":"LDH","metadata":{}},{"type":"tool-params-delta","id":"toolu_01CdJhZwz7sj8ycy8nCd49L6","delta":"VTXUTHE2U:0","metadata":{}},{"type":"tool-params-delta","id":"toolu_01CdJhZwz7sj8ycy8nCd49L6","delta":"1JGFJJZ00G0W","metadata":{}},{"type":"tool-params-delta","id":"toolu_01CdJhZwz7sj8ycy8nCd49L6","delta":"KQSJ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01CdJhZwz7sj8ycy8nCd49L6","delta":"GM","metadata":{}},{"type":"tool-params-delta","id":"toolu_01CdJhZwz7sj8ycy8nCd49L6","delta":"AKCNTVD\"}","metadata":{}},{"type":"tool-params-end","id":"toolu_01CdJhZwz7sj8ycy8nCd49L6","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":1659,"outputTokens":147,"totalTokens":1806},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1659,"output_tokens":9,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTVD</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its current contents.","options":{}},{"type":"text","text":"Let me open the document first to see the current shopping list.","options":{}},{"type":"tool-call","id":"toolu_01CdJhZwz7sj8ycy8nCd49L6","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTVD"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01CdJhZwz7sj8ycy8nCd49L6","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Shopping list"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01GhJodyeuK7pr1XZ8ECmHzM","modelId":"claude-opus-4-6","timestamp":"2026-04-17T13:38:13.877Z","metadata":{}},{"type":"reasoning-start","id":"0","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"The","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" document currently just has a heading \"# Shopping list\". I need to add \"milk\" to it.","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{"anthropic":{"type":"thinking","signature":"EpMCClkIDBgCKkCVR0MlE/75lDc9loNRTT8e4IygDUwrtCePRSoC7AiMoWfR0ohVYF5X41fF0I1Eg+5zqSrwW2+kDZ54viHUmA2JMg9jbGF1ZGUtb3B1cy00LTY4ABIMrn/uQIp+xLwrq2BEGgyGRwV4ICm++epOxF0iMGYHaQ0qFsCXNuEbG9w38FqeD28VzDlO50SDdaXaI/0EVxJ6sJ1Tvee7HX6bqhWCLypoMdiybKAPjKidfV9kGa5gCyax9zhDJtAXxKg6DpbTPOODeExxB0qx4Pw2bcuF1XDfWnRvgL3c5/w8sebX2Nt5lpDSXiIWZyHqRsg0jsx9wtfwjRG75viSx4c5v3+j3ewBSBEtVN32vcoYAQ=="}}},{"type":"reasoning-end","id":"0","metadata":{}},{"type":"text-start","id":"1","metadata":{}},{"type":"text-delta","id":"1","delta":"I can","metadata":{}},{"type":"text-delta","id":"1","delta":" see the shopping list is currently empty. Let me add milk to it.","metadata":{}},{"type":"text-end","id":"1","metadata":{}},{"type":"tool-params-start","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","name":"update","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","delta":"{\"doc\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","delta":": \"dx","metadata":{}},{"type":"tool-params-delta","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","delta":"n:echo:B","metadata":{}},{"type":"tool-params-delta","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","delta":"DJXMU","metadata":{}},{"type":"tool-params-delta","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","delta":"LPW5FB55UZ7K","metadata":{}},{"type":"tool-params-delta","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","delta":"P5HLD","metadata":{}},{"type":"tool-params-delta","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","delta":"HVTXUTHE2","metadata":{}},{"type":"tool-params-delta","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","delta":"U:01JGFJJZ00","metadata":{}},{"type":"tool-params-delta","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","delta":"G0","metadata":{}},{"type":"tool-params-delta","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","delta":"WKQSJGMA","metadata":{}},{"type":"tool-params-delta","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","delta":"KCN","metadata":{}},{"type":"tool-params-delta","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","delta":"TV","metadata":{}},{"type":"tool-params-delta","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","delta":"D\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","delta":", \"ed","metadata":{}},{"type":"tool-params-delta","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","delta":"its","metadata":{}},{"type":"tool-params-delta","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","delta":"\": [{\"oldStr","metadata":{}},{"type":"tool-params-delta","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","delta":"ing\":","metadata":{}},{"type":"tool-params-delta","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","delta":"\"# Sh","metadata":{}},{"type":"tool-params-delta","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","delta":"op","metadata":{}},{"type":"tool-params-delta","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","delta":"ping l","metadata":{}},{"type":"tool-params-delta","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","delta":"ist\",\"newS","metadata":{}},{"type":"tool-params-delta","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","delta":"tr","metadata":{}},{"type":"tool-params-delta","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","delta":"ing\":\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","delta":"# ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","delta":"Sho","metadata":{}},{"type":"tool-params-delta","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","delta":"pping list","metadata":{}},{"type":"tool-params-delta","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","delta":"\\n- Mi","metadata":{}},{"type":"tool-params-delta","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","delta":"lk\"}]}","metadata":{}},{"type":"tool-params-end","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":1810,"outputTokens":202,"totalTokens":2012},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1810,"output_tokens":8,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTVD</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its current contents.","options":{}},{"type":"text","text":"Let me open the document first to see the current shopping list.","options":{}},{"type":"tool-call","id":"toolu_01CdJhZwz7sj8ycy8nCd49L6","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTVD"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01CdJhZwz7sj8ycy8nCd49L6","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Shopping list"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The document currently just has a heading \"# Shopping list\". I need to add \"milk\" to it.","options":{}},{"type":"text","text":"I can see the shopping list is currently empty. Let me add milk to it.","options":{}},{"type":"tool-call","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTVD","edits":[{"oldString":"# Shopping list","newString":"# Shopping list\n- Milk"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n- Milk"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01VKLxBaTASBi7xTBDUwpuzF","modelId":"claude-opus-4-6","timestamp":"2026-04-17T13:38:17.721Z","metadata":{}},{"type":"text-start","id":"0","metadata":{}},{"type":"text-delta","id":"0","delta":"Done! I've added **","metadata":{}},{"type":"text-delta","id":"0","delta":"Milk** to your shopping list. 🥛","metadata":{}},{"type":"text-end","id":"0","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":2013,"outputTokens":21,"totalTokens":2034},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2013,"output_tokens":6,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTVD</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its current contents.","options":{}},{"type":"text","text":"Let me open the document first to see the current shopping list.","options":{}},{"type":"tool-call","id":"toolu_01CdJhZwz7sj8ycy8nCd49L6","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTVD"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01CdJhZwz7sj8ycy8nCd49L6","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Shopping list"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The document currently just has a heading \"# Shopping list\". I need to add \"milk\" to it.","options":{}},{"type":"text","text":"I can see the shopping list is currently empty. Let me add milk to it.","options":{}},{"type":"tool-call","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTVD","edits":[{"oldString":"# Shopping list","newString":"# Shopping list\n- Milk"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n- Milk"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Done! I've added **Milk** to your shopping list. 🥛","options":{}},{"role":"user","content":"Add bread to the shopping list.","options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01TE27Uyau5NrvWZC74CUHEm","modelId":"claude-opus-4-6","timestamp":"2026-04-17T13:38:20.573Z","metadata":{}},{"type":"tool-params-start","id":"toolu_01LjeEATs6dK18BxFpTNeHWT","name":"update","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_01LjeEATs6dK18BxFpTNeHWT","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LjeEATs6dK18BxFpTNeHWT","delta":"{\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LjeEATs6dK18BxFpTNeHWT","delta":"doc","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LjeEATs6dK18BxFpTNeHWT","delta":"\": ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LjeEATs6dK18BxFpTNeHWT","delta":"\"dxn:ec","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LjeEATs6dK18BxFpTNeHWT","delta":"ho:BDJ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LjeEATs6dK18BxFpTNeHWT","delta":"XMULP","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LjeEATs6dK18BxFpTNeHWT","delta":"W5FB55UZ7","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LjeEATs6dK18BxFpTNeHWT","delta":"KP5","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LjeEATs6dK18BxFpTNeHWT","delta":"HLDHVTXUTH","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LjeEATs6dK18BxFpTNeHWT","delta":"E2U:01JGFJ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LjeEATs6dK18BxFpTNeHWT","delta":"JZ00","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LjeEATs6dK18BxFpTNeHWT","delta":"G0WKQS","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LjeEATs6dK18BxFpTNeHWT","delta":"JGMAKCNTVD\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LjeEATs6dK18BxFpTNeHWT","delta":", \"edits\": [","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LjeEATs6dK18BxFpTNeHWT","delta":"{\"oldStri","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LjeEATs6dK18BxFpTNeHWT","delta":"ng\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LjeEATs6dK18BxFpTNeHWT","delta":":\"- Mi","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LjeEATs6dK18BxFpTNeHWT","delta":"lk\",\"newS","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LjeEATs6dK18BxFpTNeHWT","delta":"tring\":\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LjeEATs6dK18BxFpTNeHWT","delta":"- Milk","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LjeEATs6dK18BxFpTNeHWT","delta":"\\n- Brea","metadata":{}},{"type":"tool-params-delta","id":"toolu_01LjeEATs6dK18BxFpTNeHWT","delta":"d\"}]}","metadata":{}},{"type":"tool-params-end","id":"toolu_01LjeEATs6dK18BxFpTNeHWT","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":2044,"outputTokens":148,"totalTokens":2192},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2044,"output_tokens":66,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTVD</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its current contents.","options":{}},{"type":"text","text":"Let me open the document first to see the current shopping list.","options":{}},{"type":"tool-call","id":"toolu_01CdJhZwz7sj8ycy8nCd49L6","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTVD"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01CdJhZwz7sj8ycy8nCd49L6","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Shopping list"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The document currently just has a heading \"# Shopping list\". I need to add \"milk\" to it.","options":{}},{"type":"text","text":"I can see the shopping list is currently empty. Let me add milk to it.","options":{}},{"type":"tool-call","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTVD","edits":[{"oldString":"# Shopping list","newString":"# Shopping list\n- Milk"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n- Milk"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Done! I've added **Milk** to your shopping list. 🥛","options":{}},{"role":"user","content":"Add bread to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"tool-call","id":"toolu_01LjeEATs6dK18BxFpTNeHWT","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTVD","edits":[{"oldString":"- Milk","newString":"- Milk\n- Bread"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01LjeEATs6dK18BxFpTNeHWT","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n- Milk\n- Bread"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01RDxjfMF8GnQvpiqbr1d7KK","modelId":"claude-opus-4-6","timestamp":"2026-04-17T13:38:23.854Z","metadata":{}},{"type":"text-start","id":"0","metadata":{}},{"type":"text-delta","id":"0","delta":"Done! I've added **Bread","metadata":{}},{"type":"text-delta","id":"0","delta":"** to your shopping list. 🍞 Here's what you have so far:\n\n- Milk\n- Bread","metadata":{}},{"type":"text-end","id":"0","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":2235,"outputTokens":38,"totalTokens":2273},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2235,"output_tokens":8,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTVD</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its current contents.","options":{}},{"type":"text","text":"Let me open the document first to see the current shopping list.","options":{}},{"type":"tool-call","id":"toolu_01CdJhZwz7sj8ycy8nCd49L6","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTVD"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01CdJhZwz7sj8ycy8nCd49L6","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Shopping list"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The document currently just has a heading \"# Shopping list\". I need to add \"milk\" to it.","options":{}},{"type":"text","text":"I can see the shopping list is currently empty. Let me add milk to it.","options":{}},{"type":"tool-call","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTVD","edits":[{"oldString":"# Shopping list","newString":"# Shopping list\n- Milk"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n- Milk"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Done! I've added **Milk** to your shopping list. 🥛","options":{}},{"role":"user","content":"Add bread to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"tool-call","id":"toolu_01LjeEATs6dK18BxFpTNeHWT","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTVD","edits":[{"oldString":"- Milk","newString":"- Milk\n- Bread"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01LjeEATs6dK18BxFpTNeHWT","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n- Milk\n- Bread"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Done! I've added **Bread** to your shopping list. 🍞 Here's what you have so far:\n\n- Milk\n- Bread","options":{}},{"role":"user","content":"Add eggs to the shopping list.","options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01ATKNpC4ThNxuDcgMssFx5H","modelId":"claude-opus-4-6","timestamp":"2026-04-17T13:38:27.050Z","metadata":{}},{"type":"tool-params-start","id":"toolu_018U38ZvSdymNMJAe9QDZGfW","name":"update","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_018U38ZvSdymNMJAe9QDZGfW","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_018U38ZvSdymNMJAe9QDZGfW","delta":"{\"doc","metadata":{}},{"type":"tool-params-delta","id":"toolu_018U38ZvSdymNMJAe9QDZGfW","delta":"\":","metadata":{}},{"type":"tool-params-delta","id":"toolu_018U38ZvSdymNMJAe9QDZGfW","delta":" \"dxn:echo:","metadata":{}},{"type":"tool-params-delta","id":"toolu_018U38ZvSdymNMJAe9QDZGfW","delta":"BDJXM","metadata":{}},{"type":"tool-params-delta","id":"toolu_018U38ZvSdymNMJAe9QDZGfW","delta":"ULPW5FB","metadata":{}},{"type":"tool-params-delta","id":"toolu_018U38ZvSdymNMJAe9QDZGfW","delta":"55UZ7KP5H","metadata":{}},{"type":"tool-params-delta","id":"toolu_018U38ZvSdymNMJAe9QDZGfW","delta":"LDHV","metadata":{}},{"type":"tool-params-delta","id":"toolu_018U38ZvSdymNMJAe9QDZGfW","delta":"TXUT","metadata":{}},{"type":"tool-params-delta","id":"toolu_018U38ZvSdymNMJAe9QDZGfW","delta":"HE2U:01JGFJ","metadata":{}},{"type":"tool-params-delta","id":"toolu_018U38ZvSdymNMJAe9QDZGfW","delta":"JZ00G0","metadata":{}},{"type":"tool-params-delta","id":"toolu_018U38ZvSdymNMJAe9QDZGfW","delta":"WKQSJGMAKCNT","metadata":{}},{"type":"tool-params-delta","id":"toolu_018U38ZvSdymNMJAe9QDZGfW","delta":"VD\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_018U38ZvSdymNMJAe9QDZGfW","delta":", \"edits\": [","metadata":{}},{"type":"tool-params-delta","id":"toolu_018U38ZvSdymNMJAe9QDZGfW","delta":"{\"oldS","metadata":{}},{"type":"tool-params-delta","id":"toolu_018U38ZvSdymNMJAe9QDZGfW","delta":"tring\":\"-","metadata":{}},{"type":"tool-params-delta","id":"toolu_018U38ZvSdymNMJAe9QDZGfW","delta":" Bread\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_018U38ZvSdymNMJAe9QDZGfW","delta":",\"new","metadata":{}},{"type":"tool-params-delta","id":"toolu_018U38ZvSdymNMJAe9QDZGfW","delta":"String\":","metadata":{}},{"type":"tool-params-delta","id":"toolu_018U38ZvSdymNMJAe9QDZGfW","delta":"\"- Br","metadata":{}},{"type":"tool-params-delta","id":"toolu_018U38ZvSdymNMJAe9QDZGfW","delta":"ead","metadata":{}},{"type":"tool-params-delta","id":"toolu_018U38ZvSdymNMJAe9QDZGfW","delta":"\\n- Eg","metadata":{}},{"type":"tool-params-delta","id":"toolu_018U38ZvSdymNMJAe9QDZGfW","delta":"gs\"}]}","metadata":{}},{"type":"tool-params-end","id":"toolu_018U38ZvSdymNMJAe9QDZGfW","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":2283,"outputTokens":148,"totalTokens":2431},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2283,"output_tokens":73,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTVD</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its current contents.","options":{}},{"type":"text","text":"Let me open the document first to see the current shopping list.","options":{}},{"type":"tool-call","id":"toolu_01CdJhZwz7sj8ycy8nCd49L6","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTVD"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01CdJhZwz7sj8ycy8nCd49L6","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Shopping list"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The document currently just has a heading \"# Shopping list\". I need to add \"milk\" to it.","options":{}},{"type":"text","text":"I can see the shopping list is currently empty. Let me add milk to it.","options":{}},{"type":"tool-call","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTVD","edits":[{"oldString":"# Shopping list","newString":"# Shopping list\n- Milk"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01BirTbrWKH2Q6KqdehuuYAW","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n- Milk"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Done! I've added **Milk** to your shopping list. 🥛","options":{}},{"role":"user","content":"Add bread to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"tool-call","id":"toolu_01LjeEATs6dK18BxFpTNeHWT","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTVD","edits":[{"oldString":"- Milk","newString":"- Milk\n- Bread"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01LjeEATs6dK18BxFpTNeHWT","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n- Milk\n- Bread"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Done! I've added **Bread** to your shopping list. 🍞 Here's what you have so far:\n\n- Milk\n- Bread","options":{}},{"role":"user","content":"Add eggs to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"tool-call","id":"toolu_018U38ZvSdymNMJAe9QDZGfW","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTVD","edits":[{"oldString":"- Bread","newString":"- Bread\n- Eggs"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_018U38ZvSdymNMJAe9QDZGfW","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n- Milk\n- Bread\n- Eggs"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01DfHVhdYAdycyPqRGmDDser","modelId":"claude-opus-4-6","timestamp":"2026-04-17T13:38:29.835Z","metadata":{}},{"type":"text-start","id":"0","metadata":{}},{"type":"text-delta","id":"0","delta":"Done! I've added **Eggs","metadata":{}},{"type":"text-delta","id":"0","delta":"** to your shopping list. 🥚 Here's your current list:\n\n- Milk\n- Bread\n- Eggs","metadata":{}},{"type":"text-end","id":"0","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":2479,"outputTokens":40,"totalTokens":2519},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2479,"output_tokens":8,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>","options":{}},{"role":"user","content":"Create a document with a cookie recipe.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The user wants me to create a document with a cookie recipe. Let me create a nice markdown document with a classic cookie recipe.","options":{}},{"type":"tool-call","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","params":{"name":"Classic Chocolate Chip Cookies","content":"# Classic Chocolate Chip Cookies\n\nA timeless recipe for soft, chewy chocolate chip cookies that are golden on the edges and gooey in the center.\n\n## Ingredients\n\n- 2 ¼ cups all-purpose flour\n- 1 tsp baking soda\n- 1 tsp salt\n- 1 cup (2 sticks) unsalted butter, softened\n- ¾ cup granulated sugar\n- ¾ cup packed brown sugar\n- 2 large eggs\n- 2 tsp vanilla extract\n- 2 cups semi-sweet chocolate chips\n\n## Instructions\n\n1. **Preheat** the oven to 375°F (190°C). Line baking sheets with parchment paper.\n2. **Combine dry ingredients:** In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.\n3. **Cream the butter and sugars:** In a large bowl, beat the softened butter, granulated sugar, and brown sugar together until light and fluffy (about 2–3 minutes).\n4. **Add eggs and vanilla:** Beat in the eggs one at a time, then mix in the vanilla extract until combined.\n5. **Mix in dry ingredients:** Gradually add the flour mixture to the wet ingredients, stirring until just combined. Do not overmix.\n6. **Fold in chocolate chips:** Gently stir in the chocolate chips.\n7. **Scoop the dough:** Drop rounded tablespoons of dough onto the prepared baking sheets, spacing them about 2 inches apart.\n8. **Bake:** Bake for 9–11 minutes, or until the edges are golden brown but the centers still look slightly underdone.\n9. **Cool:** Let the cookies cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.\n\n## Tips\n\n- For extra flavor, use a mix of semi-sweet and dark chocolate chips.\n- Chill the dough for 30 minutes before baking for thicker cookies.\n- Store in an airtight container at room temperature for up to 5 days.\n\n**Yield:** ~48 cookies | **Prep Time:** 15 min | **Bake Time:** 10 min\n"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"id":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTJ4"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01M5mXSFoJAMEuJdA7pKX9TU","modelId":"claude-opus-4-6","timestamp":"2026-04-21T08:13:14.691Z","metadata":{}},{"type":"text-start","id":"0","metadata":{}},{"type":"text-delta","id":"0","delta":"Your","metadata":{}},{"type":"text-delta","id":"0","delta":" cookie recipe document has been created! 🍪 It includes:\n\n- **Title:** Classic Chocolate Chip Cookies","metadata":{}},{"type":"text-delta","id":"0","delta":"\n- **Ingredients:** A full list including flour, butter, sugars, eggs, vanilla, and chocolate chips\n- **Instructions:** 9 step","metadata":{}},{"type":"text-delta","id":"0","delta":"-by-step directions from preheating the oven to cooling the cookies\n- **Tips:** Helpful suggestions for extra flavor, thicker cookies, and storage","metadata":{}},{"type":"text-delta","id":"0","delta":"\n\nLet me know if you'd like to make any changes, such as adjusting ingredients, adding variations, or twe","metadata":{}},{"type":"text-delta","id":"0","delta":"aking the baking instructions!","metadata":{}},{"type":"text-end","id":"0","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":2245,"outputTokens":128,"totalTokens":2373},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2245,"output_tokens":1,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>","options":{}},{"role":"user","content":"Create a document with a cookie recipe.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The user wants me to create a document with a cookie recipe. Let me create a nice markdown document with a classic cookie recipe.","options":{}},{"type":"tool-call","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","params":{"name":"Classic Chocolate Chip Cookies","content":"# Classic Chocolate Chip Cookies\n\nA timeless recipe for soft, chewy chocolate chip cookies that are golden on the edges and gooey in the center.\n\n## Ingredients\n\n- 2 ¼ cups all-purpose flour\n- 1 tsp baking soda\n- 1 tsp salt\n- 1 cup (2 sticks) unsalted butter, softened\n- ¾ cup granulated sugar\n- ¾ cup packed brown sugar\n- 2 large eggs\n- 2 tsp vanilla extract\n- 2 cups semi-sweet chocolate chips\n\n## Instructions\n\n1. **Preheat** the oven to 375°F (190°C). Line baking sheets with parchment paper.\n2. **Combine dry ingredients:** In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.\n3. **Cream the butter and sugars:** In a large bowl, beat the softened butter, granulated sugar, and brown sugar together until light and fluffy (about 2–3 minutes).\n4. **Add eggs and vanilla:** Beat in the eggs one at a time, then mix in the vanilla extract until combined.\n5. **Mix in dry ingredients:** Gradually add the flour mixture to the wet ingredients, stirring until just combined. Do not overmix.\n6. **Fold in chocolate chips:** Gently stir in the chocolate chips.\n7. **Scoop the dough:** Drop rounded tablespoons of dough onto the prepared baking sheets, spacing them about 2 inches apart.\n8. **Bake:** Bake for 9–11 minutes, or until the edges are golden brown but the centers still look slightly underdone.\n9. **Cool:** Let the cookies cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.\n\n## Tips\n\n- For extra flavor, use a mix of semi-sweet and dark chocolate chips.\n- Chill the dough for 30 minutes before baking for thicker cookies.\n- Store in an airtight container at room temperature for up to 5 days.\n\n**Yield:** ~48 cookies | **Prep Time:** 15 min | **Bake Time:** 10 min\n"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"id":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTJ4"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Your cookie recipe document has been created! 🍪 It includes:\n\n- **Title:** Classic Chocolate Chip Cookies\n- **Ingredients:** A full list including flour, butter, sugars, eggs, vanilla, and chocolate chips\n- **Instructions:** 9 step-by-step directions from preheating the oven to cooling the cookies\n- **Tips:** Helpful suggestions for extra flavor, thicker cookies, and storage\n\nLet me know if you'd like to make any changes, such as adjusting ingredients, adding variations, or tweaking the baking instructions!","options":{}},{"role":"user","content":"Add a section with a holiday-themed variation.","options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_013P9AHVmm7zTBZLTLBXfLtF","modelId":"claude-opus-4-6","timestamp":"2026-04-21T08:13:18.954Z","metadata":{}},{"type":"reasoning-start","id":"0","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"The user wants me to add a holiday-themed variation section to the cookie recipe document. Let me update the document.","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{"anthropic":{"type":"thinking","signature":"ErICClkIDBgCKkCpG+K0z7qiW8X586mWD9221KO7cA9gGwHXAr+GBtdwtrKHRVaMY+Dxi4BlIBc/Wq9WnI4225k11fF7JRNldYlPMg9jbGF1ZGUtb3B1cy00LTY4ABIMWoOQWTWF1n4/U/9zGgzfUoWH1wZk2E3ROo8iMMMTySr2b+z9aIE3PDSjZe4jaGFDV2Vc++v2jFzq98p6Mg9nlF5Og2OISQCFh/kcUSqGAXKoO5xXlLdJ3RfAticz2gw0SY6WDzpDDdvCmN7rdZbMLSAvLK45O6Dbb4rP44a20s9CxVEi+zDoEvo6jjDttKGceGaHzILOjWrNqEQTOvQ0J+WvKpz9h1Dbm3EQ8zeT8UUDKHrgmtqn978GphKL78Z4O2cOv4dCBt4FJuD2FB2GWPecpSqNGAE="}}},{"type":"reasoning-end","id":"0","metadata":{}},{"type":"tool-params-start","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","name":"update","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"{\"doc\": \"dxn","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":":echo:BDJX","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"MU","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"LPW5FB55","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"UZ7KP5HLDH","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"VTX","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"UTHE2U:01JGF","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"JJZ00G0","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"WKQSJ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"GM","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"AKCNTJ4\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":", \"ed","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"its","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"\": [{\"oldStr","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"ing\":\"## T","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"ips\",","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"\"newS","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"tring\":\"## 🎄","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":" H","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"oli","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"day Variati","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"on: Peppermi","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"nt White Cho","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"colate Cooki","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"es","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"\\n","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"\\nGiv","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"e these ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"cookies a ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"festive t","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"wis","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"t perf","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"ect for ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"th","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"e h","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"oli","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"day seas","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"on!\\n\\n##","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"# Substit","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"utions & ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"Additions\\n","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"\\n- Rep","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"lace semi-s","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"wee","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"t ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"chocolate ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"chips wit","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"h **white","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":" chocolat","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"e chips*","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"*.\\n- Add *","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"*½ ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"cup c","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"rus","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"hed candy ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"canes","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"** (about 6–","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"8 m","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"ini candy","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":" c","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"anes) to the","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":" dough alon","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"g with the","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":" chi","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"ps.","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"\\n- S","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"ubstitute *","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"*1 tsp pe","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"ppermint ext","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"ract** fo","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"r one of th","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"e t","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"easpoo","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"ns of vani","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"lla extract","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":".\\n- Optio","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"nal: A","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"dd a few d","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"rops of **re","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"d or green ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"food col","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"oring**","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":" for a f","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"un holid","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"ay lo","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"ok.\\n\\","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"n###","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":" Holida","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"y Drizz","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"le\\n","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"\\n1. Melt","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":" ½ cup sem","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"i-sweet c","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"hocolate chi","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"ps in t","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"he microwav","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"e in 2","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"0-second in","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"tervals,","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":" s","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"tirrin","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"g b","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"etwee","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"n each.\\n2","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":". Use a fork","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":" or pip","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"ing b","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"ag t","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"o dr","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"izzle melt","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"ed chocol","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"ate over th","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"e cooled","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":" cookies.\\","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"n3. Im","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"mediately ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"sprinkl","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"e wi","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"th **cru","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"sh","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"ed candy ca","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"nes*","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"* an","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"d let set","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":" for ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"15 minutes","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":".\\n\\n> ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"**Tip:** ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"Package thes","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"e in ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"festive tins","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":" or cell","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"ophane ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"ba","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"gs tied w","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"ith ribbon ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"fo","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"r a per","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"fect homemad","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"e hol","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"ida","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"y gift","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"! 🎁\\n","metadata":{}},{"type":"tool-params-delta","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","delta":"\\n## Tips\"}]}","metadata":{}},{"type":"tool-params-end","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":2386,"outputTokens":460,"totalTokens":2846},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2386,"output_tokens":48,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>","options":{}},{"role":"user","content":"Create a document with a cookie recipe.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The user wants me to create a document with a cookie recipe. Let me create a nice markdown document with a classic cookie recipe.","options":{}},{"type":"tool-call","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","params":{"name":"Classic Chocolate Chip Cookies","content":"# Classic Chocolate Chip Cookies\n\nA timeless recipe for soft, chewy chocolate chip cookies that are golden on the edges and gooey in the center.\n\n## Ingredients\n\n- 2 ¼ cups all-purpose flour\n- 1 tsp baking soda\n- 1 tsp salt\n- 1 cup (2 sticks) unsalted butter, softened\n- ¾ cup granulated sugar\n- ¾ cup packed brown sugar\n- 2 large eggs\n- 2 tsp vanilla extract\n- 2 cups semi-sweet chocolate chips\n\n## Instructions\n\n1. **Preheat** the oven to 375°F (190°C). Line baking sheets with parchment paper.\n2. **Combine dry ingredients:** In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.\n3. **Cream the butter and sugars:** In a large bowl, beat the softened butter, granulated sugar, and brown sugar together until light and fluffy (about 2–3 minutes).\n4. **Add eggs and vanilla:** Beat in the eggs one at a time, then mix in the vanilla extract until combined.\n5. **Mix in dry ingredients:** Gradually add the flour mixture to the wet ingredients, stirring until just combined. Do not overmix.\n6. **Fold in chocolate chips:** Gently stir in the chocolate chips.\n7. **Scoop the dough:** Drop rounded tablespoons of dough onto the prepared baking sheets, spacing them about 2 inches apart.\n8. **Bake:** Bake for 9–11 minutes, or until the edges are golden brown but the centers still look slightly underdone.\n9. **Cool:** Let the cookies cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.\n\n## Tips\n\n- For extra flavor, use a mix of semi-sweet and dark chocolate chips.\n- Chill the dough for 30 minutes before baking for thicker cookies.\n- Store in an airtight container at room temperature for up to 5 days.\n\n**Yield:** ~48 cookies | **Prep Time:** 15 min | **Bake Time:** 10 min\n"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01SAyCA4jYf7VPwAmYVNt17y","name":"create","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"id":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTJ4"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Your cookie recipe document has been created! 🍪 It includes:\n\n- **Title:** Classic Chocolate Chip Cookies\n- **Ingredients:** A full list including flour, butter, sugars, eggs, vanilla, and chocolate chips\n- **Instructions:** 9 step-by-step directions from preheating the oven to cooling the cookies\n- **Tips:** Helpful suggestions for extra flavor, thicker cookies, and storage\n\nLet me know if you'd like to make any changes, such as adjusting ingredients, adding variations, or tweaking the baking instructions!","options":{}},{"role":"user","content":"Add a section with a holiday-themed variation.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The user wants me to add a holiday-themed variation section to the cookie recipe document. Let me update the document.","options":{}},{"type":"tool-call","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTJ4","edits":[{"oldString":"## Tips","newString":"## 🎄 Holiday Variation: Peppermint White Chocolate Cookies\n\nGive these cookies a festive twist perfect for the holiday season!\n\n### Substitutions & Additions\n\n- Replace semi-sweet chocolate chips with **white chocolate chips**.\n- Add **½ cup crushed candy canes** (about 6–8 mini candy canes) to the dough along with the chips.\n- Substitute **1 tsp peppermint extract** for one of the teaspoons of vanilla extract.\n- Optional: Add a few drops of **red or green food coloring** for a fun holiday look.\n\n### Holiday Drizzle\n\n1. Melt ½ cup semi-sweet chocolate chips in the microwave in 20-second intervals, stirring between each.\n2. Use a fork or piping bag to drizzle melted chocolate over the cooled cookies.\n3. Immediately sprinkle with **crushed candy canes** and let set for 15 minutes.\n\n> **Tip:** Package these in festive tins or cellophane bags tied with ribbon for a perfect homemade holiday gift! 🎁\n\n## Tips"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01SNf8KeQGjFfkFBixQCzp85","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Classic Chocolate Chip Cookies\n\nA timeless recipe for soft, chewy chocolate chip cookies that are golden on the edges and gooey in the center.\n\n## Ingredients\n\n- 2 ¼ cups all-purpose flour\n- 1 tsp baking soda\n- 1 tsp salt\n- 1 cup (2 sticks) unsalted butter, softened\n- ¾ cup granulated sugar\n- ¾ cup packed brown sugar\n- 2 large eggs\n- 2 tsp vanilla extract\n- 2 cups semi-sweet chocolate chips\n\n## Instructions\n\n1. **Preheat** the oven to 375°F (190°C). Line baking sheets with parchment paper.\n2. **Combine dry ingredients:** In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.\n3. **Cream the butter and sugars:** In a large bowl, beat the softened butter, granulated sugar, and brown sugar together until light and fluffy (about 2–3 minutes).\n4. **Add eggs and vanilla:** Beat in the eggs one at a time, then mix in the vanilla extract until combined.\n5. **Mix in dry ingredients:** Gradually add the flour mixture to the wet ingredients, stirring until just combined. Do not overmix.\n6. **Fold in chocolate chips:** Gently stir in the chocolate chips.\n7. **Scoop the dough:** Drop rounded tablespoons of dough onto the prepared baking sheets, spacing them about 2 inches apart.\n8. **Bake:** Bake for 9–11 minutes, or until the edges are golden brown but the centers still look slightly underdone.\n9. **Cool:** Let the cookies cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.\n\n## 🎄 Holiday Variation: Peppermint White Chocolate Cookies\n\nGive these cookies a festive twist perfect for the holiday season!\n\n### Substitutions & Additions\n\n- Replace semi-sweet chocolate chips with **white chocolate chips**.\n- Add **½ cup crushed candy canes** (about 6–8 mini candy canes) to the dough along with the chips.\n- Substitute **1 tsp peppermint extract** for one of the teaspoons of vanilla extract.\n- Optional: Add a few drops of **red or green food coloring** for a fun holiday look.\n\n### Holiday Drizzle\n\n1. Melt ½ cup semi-sweet chocolate chips in the microwave in 20-second intervals, stirring between each.\n2. Use a fork or piping bag to drizzle melted chocolate over the cooled cookies.\n3. Immediately sprinkle with **crushed candy canes** and let set for 15 minutes.\n\n> **Tip:** Package these in festive tins or cellophane bags tied with ribbon for a perfect homemade holiday gift! 🎁\n\n## Tips\n\n- For extra flavor, use a mix of semi-sweet and dark chocolate chips.\n- Chill the dough for 30 minutes before baking for thicker cookies.\n- Store in an airtight container at room temperature for up to 5 days.\n\n**Yield:** ~48 cookies | **Prep Time:** 15 min | **Bake Time:** 10 min\n"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01KabXNZztdPTEGTvsx6UDJ2","modelId":"claude-opus-4-6","timestamp":"2026-04-21T08:13:27.149Z","metadata":{}},{"type":"text-start","id":"0","metadata":{}},{"type":"text-delta","id":"0","delta":"I've added","metadata":{}},{"type":"text-delta","id":"0","delta":" a **🎄 Holiday Variation: Peppermint White Chocolate Cookies** section to the recipe! It includes:\n\n- **Substitutions & Additions**","metadata":{}},{"type":"text-delta","id":"0","delta":" — swapping in white chocolate chips, crushed candy canes, and peppermint extract for a","metadata":{}},{"type":"text-delta","id":"0","delta":" festive flavor\n- **Holiday Drizzle** — instructions for a chocolate drizzle topped with crushed candy canes\n- A","metadata":{}},{"type":"text-delta","id":"0","delta":" **gift-giving tip** for packaging them as homemade holiday presents","metadata":{}},{"type":"text-delta","id":"0","delta":" 🎁\n\nLet me know if you'd like any other changes!","metadata":{}},{"type":"text-end","id":"0","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":3684,"outputTokens":128,"totalTokens":3812},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":3684,"output_tokens":3,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTR7</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add the missing ingredient (its flour).","options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_013bYUv7qZGTdb8MpTsdh7RU","modelId":"claude-opus-4-6","timestamp":"2026-04-21T08:13:31.414Z","metadata":{}},{"type":"reasoning-start","id":"0","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"Let","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" me first open the document to see its contents.","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{"anthropic":{"type":"thinking","signature":"Eu4BClkIDBgCKkCVr1A1J+aqALmLyqe1q5OXcYWXc7JVWASOydRf1dFOyadx06rDTP8RriabQAhjDMpDqVRvm7S0pE7Pw7AP4P75Mg9jbGF1ZGUtb3B1cy00LTY4ABIMk39wBtqkAx0qXhupGgyf5+m/7+SYFE4vosAiMPMTaRDgMLQ0PfCwss1JlT6IjuDbSTvwCwi5PTI+tmCHyr8/3gA8+7aXVdadeimJBCpDlWZ3qMqgF4eRW8rHYlrxyXzEEtIuzUpHKtN2J2jo0jTS/rffkNWbnrUvi14LyYknirrDdA2oltaW9Rbah6s/kORE6hgB"}}},{"type":"reasoning-end","id":"0","metadata":{}},{"type":"tool-params-start","id":"toolu_01BY3e8sp3Hn8zuBp6jR1Lxk","name":"open","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_01BY3e8sp3Hn8zuBp6jR1Lxk","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01BY3e8sp3Hn8zuBp6jR1Lxk","delta":"{\"do","metadata":{}},{"type":"tool-params-delta","id":"toolu_01BY3e8sp3Hn8zuBp6jR1Lxk","delta":"c\": \"dx","metadata":{}},{"type":"tool-params-delta","id":"toolu_01BY3e8sp3Hn8zuBp6jR1Lxk","delta":"n:echo:BD","metadata":{}},{"type":"tool-params-delta","id":"toolu_01BY3e8sp3Hn8zuBp6jR1Lxk","delta":"JXMU","metadata":{}},{"type":"tool-params-delta","id":"toolu_01BY3e8sp3Hn8zuBp6jR1Lxk","delta":"LPW5FB55UZ7","metadata":{}},{"type":"tool-params-delta","id":"toolu_01BY3e8sp3Hn8zuBp6jR1Lxk","delta":"KP5HLDH","metadata":{}},{"type":"tool-params-delta","id":"toolu_01BY3e8sp3Hn8zuBp6jR1Lxk","delta":"VTX","metadata":{}},{"type":"tool-params-delta","id":"toolu_01BY3e8sp3Hn8zuBp6jR1Lxk","delta":"UTHE2U:01","metadata":{}},{"type":"tool-params-delta","id":"toolu_01BY3e8sp3Hn8zuBp6jR1Lxk","delta":"JGFJJZ00G0W","metadata":{}},{"type":"tool-params-delta","id":"toolu_01BY3e8sp3Hn8zuBp6jR1Lxk","delta":"KQS","metadata":{}},{"type":"tool-params-delta","id":"toolu_01BY3e8sp3Hn8zuBp6jR1Lxk","delta":"JGMAKCN","metadata":{}},{"type":"tool-params-delta","id":"toolu_01BY3e8sp3Hn8zuBp6jR1Lxk","delta":"TR7\"}","metadata":{}},{"type":"tool-params-end","id":"toolu_01BY3e8sp3Hn8zuBp6jR1Lxk","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":1660,"outputTokens":132,"totalTokens":1792},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1660,"output_tokens":9,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTR7</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add the missing ingredient (its flour).","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its contents.","options":{}},{"type":"tool-call","id":"toolu_01BY3e8sp3Hn8zuBp6jR1Lxk","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTR7"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01BY3e8sp3Hn8zuBp6jR1Lxk","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"Ingredients: \n - 2 cups of ???\n - 1 cup of sugar\n - 1 cup of butter\n - 1 cup of eggs"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01Dmzqgh97Nz4gahkHRE1zDG","modelId":"claude-opus-4-6","timestamp":"2026-04-21T08:13:35.174Z","metadata":{}},{"type":"reasoning-start","id":"0","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"The","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" user wants me to replace \"???\" with \"flour\".","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{"anthropic":{"type":"thinking","signature":"EusBClkIDBgCKkAAXBrtJ11L6fmUxpyTtLkukHZpYlwRKbjuFdRNk81oPXEf4f9R6s1ziIil9OYpZP/jyAhf0Y4tNDWLvOBEnZ1VMg9jbGF1ZGUtb3B1cy00LTY4ABIMF31AsAAMlxhXcKHEGgz/ZUzg8GGdL9o/H/0iMBupgyaBTMFsc2brICxDlwaheLvlJH+ciiHha5ICgefwbxLif27/BhbOMXaeJ9rKqipAOBwHCl3NVkrdYZ1GsxL2MU3rNUr9EM4FVcmaup01y9YvOjnZt+utH9ef23ObfvmyLj/6Vzo1w1fhfbLgkmBkIBgB"}}},{"type":"reasoning-end","id":"0","metadata":{}},{"type":"tool-params-start","id":"toolu_01Pjv94YY8Rp6k4kPi7CS7Ki","name":"update","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_01Pjv94YY8Rp6k4kPi7CS7Ki","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Pjv94YY8Rp6k4kPi7CS7Ki","delta":"{\"d","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Pjv94YY8Rp6k4kPi7CS7Ki","delta":"oc\": \"dxn","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Pjv94YY8Rp6k4kPi7CS7Ki","delta":":echo:BDJXMU","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Pjv94YY8Rp6k4kPi7CS7Ki","delta":"LPW5FB55UZ7","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Pjv94YY8Rp6k4kPi7CS7Ki","delta":"KP5HLDH","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Pjv94YY8Rp6k4kPi7CS7Ki","delta":"VTX","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Pjv94YY8Rp6k4kPi7CS7Ki","delta":"UTHE2U:","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Pjv94YY8Rp6k4kPi7CS7Ki","delta":"01JGFJJZ00","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Pjv94YY8Rp6k4kPi7CS7Ki","delta":"G0WKQSJGMAKC","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Pjv94YY8Rp6k4kPi7CS7Ki","delta":"NTR7\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Pjv94YY8Rp6k4kPi7CS7Ki","delta":", \"edits\": [","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Pjv94YY8Rp6k4kPi7CS7Ki","delta":"{\"o","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Pjv94YY8Rp6k4kPi7CS7Ki","delta":"ldStr","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Pjv94YY8Rp6k4kPi7CS7Ki","delta":"in","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Pjv94YY8Rp6k4kPi7CS7Ki","delta":"g\":\"2 ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Pjv94YY8Rp6k4kPi7CS7Ki","delta":"cups ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Pjv94YY8Rp6k4kPi7CS7Ki","delta":"of ???\",","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Pjv94YY8Rp6k4kPi7CS7Ki","delta":"\"newS","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Pjv94YY8Rp6k4kPi7CS7Ki","delta":"tring\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Pjv94YY8Rp6k4kPi7CS7Ki","delta":":\"2 cups o","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Pjv94YY8Rp6k4kPi7CS7Ki","delta":"f f","metadata":{}},{"type":"tool-params-delta","id":"toolu_01Pjv94YY8Rp6k4kPi7CS7Ki","delta":"lour\"}]}","metadata":{}},{"type":"tool-params-end","id":"toolu_01Pjv94YY8Rp6k4kPi7CS7Ki","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":1838,"outputTokens":171,"totalTokens":2009},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1838,"output_tokens":8,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTR7</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add the missing ingredient (its flour).","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its contents.","options":{}},{"type":"tool-call","id":"toolu_01BY3e8sp3Hn8zuBp6jR1Lxk","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTR7"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01BY3e8sp3Hn8zuBp6jR1Lxk","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"Ingredients: \n - 2 cups of ???\n - 1 cup of sugar\n - 1 cup of butter\n - 1 cup of eggs"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The user wants me to replace \"???\" with \"flour\".","options":{}},{"type":"tool-call","id":"toolu_01Pjv94YY8Rp6k4kPi7CS7Ki","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTR7","edits":[{"oldString":"2 cups of ???","newString":"2 cups of flour"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01Pjv94YY8Rp6k4kPi7CS7Ki","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"Ingredients: \n - 2 cups of flour\n - 1 cup of sugar\n - 1 cup of butter\n - 1 cup of eggs"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01JYwknSAf9h37EwcaU8y2vV","modelId":"claude-opus-4-6","timestamp":"2026-04-21T08:13:39.573Z","metadata":{}},{"type":"text-start","id":"0","metadata":{}},{"type":"text-delta","id":"0","delta":"Done","metadata":{}},{"type":"text-delta","id":"0","delta":"! I've replaced the missing ingredient placeholder `???` with **flour**. The ingredient list now reads:\n\n-","metadata":{}},{"type":"text-delta","id":"0","delta":" 2 cups of **flour**\n- 1 cup of sugar\n- 1 cup of butter\n- 1 cup of eggs","metadata":{}},{"type":"text-end","id":"0","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":2057,"outputTokens":60,"totalTokens":2117},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2057,"output_tokens":1,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV5</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01FCJx7h45KADUbzEJoUJ7iN","modelId":"claude-opus-4-6","timestamp":"2026-04-21T08:13:42.239Z","metadata":{}},{"type":"reasoning-start","id":"0","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"Let","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" me first open the document to see its current contents.","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{"anthropic":{"type":"thinking","signature":"EvYBClkIDBgCKkB59APG7kQJaS56ZghJ7yGmUDPTIff8aJqcCaiTm7DBlPfIkAEzU9xUX9RfyXK8kuAlQ2FqlGTMKvYxrrstJfcdMg9jbGF1ZGUtb3B1cy00LTY4ABIMg3kFsLkBNkqhGnKeGgz38aCBt/UWQh3T+eQiMBXwHltdFyvrhg/iok8Pp3DcgZ83WouHxXIaJ7iaQR9Zy1AQiFE6TYg2YWyu5aMw4ipLPRR6sWaoQGKTMj2MxI+2XoANOq3/+pj/0nC65H73Nd04ZZ+zZSMMM+k6QCGAgsCRq0EkTGAbwjz3X/1MYdLHJikmU6ygZLSiq3PkGAE="}}},{"type":"reasoning-end","id":"0","metadata":{}},{"type":"text-start","id":"1","metadata":{}},{"type":"text-delta","id":"1","delta":"Let","metadata":{}},{"type":"text-delta","id":"1","delta":" me open the document first to see what's currently on the shopping list.","metadata":{}},{"type":"text-end","id":"1","metadata":{}},{"type":"tool-params-start","id":"toolu_01TDky6tn1p4aqgKeoZ69r13","name":"open","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_01TDky6tn1p4aqgKeoZ69r13","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01TDky6tn1p4aqgKeoZ69r13","delta":"{\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01TDky6tn1p4aqgKeoZ69r13","delta":"doc\": \"dxn","metadata":{}},{"type":"tool-params-delta","id":"toolu_01TDky6tn1p4aqgKeoZ69r13","delta":":echo:BDJ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01TDky6tn1p4aqgKeoZ69r13","delta":"XMULPW5FB5","metadata":{}},{"type":"tool-params-delta","id":"toolu_01TDky6tn1p4aqgKeoZ69r13","delta":"5UZ7KP5","metadata":{}},{"type":"tool-params-delta","id":"toolu_01TDky6tn1p4aqgKeoZ69r13","delta":"HLDHVT","metadata":{}},{"type":"tool-params-delta","id":"toolu_01TDky6tn1p4aqgKeoZ69r13","delta":"XUTH","metadata":{}},{"type":"tool-params-delta","id":"toolu_01TDky6tn1p4aqgKeoZ69r13","delta":"E2U:01JG","metadata":{}},{"type":"tool-params-delta","id":"toolu_01TDky6tn1p4aqgKeoZ69r13","delta":"FJJZ00G0","metadata":{}},{"type":"tool-params-delta","id":"toolu_01TDky6tn1p4aqgKeoZ69r13","delta":"WKQSJGMAKC","metadata":{}},{"type":"tool-params-delta","id":"toolu_01TDky6tn1p4aqgKeoZ69r13","delta":"NTV5\"}","metadata":{}},{"type":"tool-params-end","id":"toolu_01TDky6tn1p4aqgKeoZ69r13","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":1659,"outputTokens":150,"totalTokens":1809},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1659,"output_tokens":9,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV5</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its current contents.","options":{}},{"type":"text","text":"Let me open the document first to see what's currently on the shopping list.","options":{}},{"type":"tool-call","id":"toolu_01TDky6tn1p4aqgKeoZ69r13","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV5"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01TDky6tn1p4aqgKeoZ69r13","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Shopping list"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_019WZ17nmNUvD6aVabeuJfas","modelId":"claude-opus-4-6","timestamp":"2026-04-21T08:13:46.087Z","metadata":{}},{"type":"reasoning-start","id":"0","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"The","metadata":{}},{"type":"reasoning-delta","id":"0","delta":" document currently just has a heading \"# Shopping list\". I need to add \"milk\" to it.","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{}},{"type":"reasoning-delta","id":"0","delta":"","metadata":{"anthropic":{"type":"thinking","signature":"EpMCClkIDBgCKkCVR0MlE/75lDc9loNRTT8e4IygDUwrtCePRSoC7AiMoWfR0ohVYF5X41fF0I1Eg+5zqSrwW2+kDZ54viHUmA2JMg9jbGF1ZGUtb3B1cy00LTY4ABIMTcdwS3vv49zXcps7Ggx5lYQFRqZPPywKvYUiMBMyk2yqmisD3TWihA8712XRI28xsjdUovbIj0PfkeBuXK4LuhHUQHb8zRPvUpLfkSposNiQFDcHU0koObbqhX7phtLPe074rkz8QS9/Zu6WNuoTtfYksVs+M6DaoCbywbKdq0Vd7/uo79pfL4j06MVTCY/EWa6b5i9fkfELX94yrne1GmtkqIbtqtgSQeo0ts9kYLeoG2gIErkYAQ=="}}},{"type":"reasoning-end","id":"0","metadata":{}},{"type":"text-start","id":"1","metadata":{}},{"type":"text-delta","id":"1","delta":"The shopping list is currently empty. I'll add milk to it now.","metadata":{}},{"type":"text-end","id":"1","metadata":{}},{"type":"tool-params-start","id":"toolu_01W7YZEiBFfa674wh4YcqirW","name":"update","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_01W7YZEiBFfa674wh4YcqirW","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W7YZEiBFfa674wh4YcqirW","delta":"{\"d","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W7YZEiBFfa674wh4YcqirW","delta":"oc\": \"dx","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W7YZEiBFfa674wh4YcqirW","delta":"n:e","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W7YZEiBFfa674wh4YcqirW","delta":"cho:BDJXMUL","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W7YZEiBFfa674wh4YcqirW","delta":"PW5FB","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W7YZEiBFfa674wh4YcqirW","delta":"55UZ7KP5HL","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W7YZEiBFfa674wh4YcqirW","delta":"DHVTXUTH","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W7YZEiBFfa674wh4YcqirW","delta":"E2U:01JGF","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W7YZEiBFfa674wh4YcqirW","delta":"JJZ00G0WKQ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W7YZEiBFfa674wh4YcqirW","delta":"SJGMAKCNTV5\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W7YZEiBFfa674wh4YcqirW","delta":", \"edits\":","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W7YZEiBFfa674wh4YcqirW","delta":" [{\"oldStrin","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W7YZEiBFfa674wh4YcqirW","delta":"g\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W7YZEiBFfa674wh4YcqirW","delta":":\"# ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W7YZEiBFfa674wh4YcqirW","delta":"Shopp","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W7YZEiBFfa674wh4YcqirW","delta":"ing","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W7YZEiBFfa674wh4YcqirW","delta":" list\",\"n","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W7YZEiBFfa674wh4YcqirW","delta":"ewString\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W7YZEiBFfa674wh4YcqirW","delta":":\"# Sho","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W7YZEiBFfa674wh4YcqirW","delta":"pping list\\","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W7YZEiBFfa674wh4YcqirW","delta":"n- Mil","metadata":{}},{"type":"tool-params-delta","id":"toolu_01W7YZEiBFfa674wh4YcqirW","delta":"k\"}]}","metadata":{}},{"type":"tool-params-end","id":"toolu_01W7YZEiBFfa674wh4YcqirW","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":1813,"outputTokens":200,"totalTokens":2013},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1813,"output_tokens":8,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV5</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its current contents.","options":{}},{"type":"text","text":"Let me open the document first to see what's currently on the shopping list.","options":{}},{"type":"tool-call","id":"toolu_01TDky6tn1p4aqgKeoZ69r13","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV5"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01TDky6tn1p4aqgKeoZ69r13","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Shopping list"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The document currently just has a heading \"# Shopping list\". I need to add \"milk\" to it.","options":{}},{"type":"text","text":"The shopping list is currently empty. I'll add milk to it now.","options":{}},{"type":"tool-call","id":"toolu_01W7YZEiBFfa674wh4YcqirW","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV5","edits":[{"oldString":"# Shopping list","newString":"# Shopping list\n- Milk"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01W7YZEiBFfa674wh4YcqirW","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n- Milk"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01HNVDbbsnDB8vdgQZGxph7m","modelId":"claude-opus-4-6","timestamp":"2026-04-21T08:13:51.297Z","metadata":{}},{"type":"text-start","id":"0","metadata":{}},{"type":"text-delta","id":"0","delta":"Done! I've added **","metadata":{}},{"type":"text-delta","id":"0","delta":"Milk** to the shopping list. 🥛","metadata":{}},{"type":"text-end","id":"0","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":2014,"outputTokens":21,"totalTokens":2035},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2014,"output_tokens":6,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV5</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its current contents.","options":{}},{"type":"text","text":"Let me open the document first to see what's currently on the shopping list.","options":{}},{"type":"tool-call","id":"toolu_01TDky6tn1p4aqgKeoZ69r13","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV5"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01TDky6tn1p4aqgKeoZ69r13","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Shopping list"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The document currently just has a heading \"# Shopping list\". I need to add \"milk\" to it.","options":{}},{"type":"text","text":"The shopping list is currently empty. I'll add milk to it now.","options":{}},{"type":"tool-call","id":"toolu_01W7YZEiBFfa674wh4YcqirW","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV5","edits":[{"oldString":"# Shopping list","newString":"# Shopping list\n- Milk"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01W7YZEiBFfa674wh4YcqirW","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n- Milk"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Done! I've added **Milk** to the shopping list. 🥛","options":{}},{"role":"user","content":"Add bread to the shopping list.","options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01QrS4qDP7mVs7uq1493Peiw","modelId":"claude-opus-4-6","timestamp":"2026-04-21T08:13:54.069Z","metadata":{}},{"type":"tool-params-start","id":"toolu_01FKbZDH7b2RWMnD4ShbMBm7","name":"update","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_01FKbZDH7b2RWMnD4ShbMBm7","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01FKbZDH7b2RWMnD4ShbMBm7","delta":"{\"doc\":","metadata":{}},{"type":"tool-params-delta","id":"toolu_01FKbZDH7b2RWMnD4ShbMBm7","delta":" \"dxn:echo:","metadata":{}},{"type":"tool-params-delta","id":"toolu_01FKbZDH7b2RWMnD4ShbMBm7","delta":"BDJXMULPW5","metadata":{}},{"type":"tool-params-delta","id":"toolu_01FKbZDH7b2RWMnD4ShbMBm7","delta":"FB55UZ7","metadata":{}},{"type":"tool-params-delta","id":"toolu_01FKbZDH7b2RWMnD4ShbMBm7","delta":"KP","metadata":{}},{"type":"tool-params-delta","id":"toolu_01FKbZDH7b2RWMnD4ShbMBm7","delta":"5HLDHVT","metadata":{}},{"type":"tool-params-delta","id":"toolu_01FKbZDH7b2RWMnD4ShbMBm7","delta":"XUT","metadata":{}},{"type":"tool-params-delta","id":"toolu_01FKbZDH7b2RWMnD4ShbMBm7","delta":"HE2","metadata":{}},{"type":"tool-params-delta","id":"toolu_01FKbZDH7b2RWMnD4ShbMBm7","delta":"U:01JGFJJZ00","metadata":{}},{"type":"tool-params-delta","id":"toolu_01FKbZDH7b2RWMnD4ShbMBm7","delta":"G0WKQSJGMAK","metadata":{}},{"type":"tool-params-delta","id":"toolu_01FKbZDH7b2RWMnD4ShbMBm7","delta":"CNT","metadata":{}},{"type":"tool-params-delta","id":"toolu_01FKbZDH7b2RWMnD4ShbMBm7","delta":"V5\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01FKbZDH7b2RWMnD4ShbMBm7","delta":", \"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01FKbZDH7b2RWMnD4ShbMBm7","delta":"edi","metadata":{}},{"type":"tool-params-delta","id":"toolu_01FKbZDH7b2RWMnD4ShbMBm7","delta":"ts","metadata":{}},{"type":"tool-params-delta","id":"toolu_01FKbZDH7b2RWMnD4ShbMBm7","delta":"\": [{\"o","metadata":{}},{"type":"tool-params-delta","id":"toolu_01FKbZDH7b2RWMnD4ShbMBm7","delta":"ldStrin","metadata":{}},{"type":"tool-params-delta","id":"toolu_01FKbZDH7b2RWMnD4ShbMBm7","delta":"g\":\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_01FKbZDH7b2RWMnD4ShbMBm7","delta":"- Milk\",\"new","metadata":{}},{"type":"tool-params-delta","id":"toolu_01FKbZDH7b2RWMnD4ShbMBm7","delta":"String\":\"- ","metadata":{}},{"type":"tool-params-delta","id":"toolu_01FKbZDH7b2RWMnD4ShbMBm7","delta":"Milk\\n-","metadata":{}},{"type":"tool-params-delta","id":"toolu_01FKbZDH7b2RWMnD4ShbMBm7","delta":" Brea","metadata":{}},{"type":"tool-params-delta","id":"toolu_01FKbZDH7b2RWMnD4ShbMBm7","delta":"d\"}]}","metadata":{}},{"type":"tool-params-end","id":"toolu_01FKbZDH7b2RWMnD4ShbMBm7","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":2045,"outputTokens":148,"totalTokens":2193},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2045,"output_tokens":66,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV5</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its current contents.","options":{}},{"type":"text","text":"Let me open the document first to see what's currently on the shopping list.","options":{}},{"type":"tool-call","id":"toolu_01TDky6tn1p4aqgKeoZ69r13","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV5"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01TDky6tn1p4aqgKeoZ69r13","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Shopping list"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The document currently just has a heading \"# Shopping list\". I need to add \"milk\" to it.","options":{}},{"type":"text","text":"The shopping list is currently empty. I'll add milk to it now.","options":{}},{"type":"tool-call","id":"toolu_01W7YZEiBFfa674wh4YcqirW","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV5","edits":[{"oldString":"# Shopping list","newString":"# Shopping list\n- Milk"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01W7YZEiBFfa674wh4YcqirW","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n- Milk"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Done! I've added **Milk** to the shopping list. 🥛","options":{}},{"role":"user","content":"Add bread to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"tool-call","id":"toolu_01FKbZDH7b2RWMnD4ShbMBm7","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV5","edits":[{"oldString":"- Milk","newString":"- Milk\n- Bread"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01FKbZDH7b2RWMnD4ShbMBm7","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n- Milk\n- Bread"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01HQADX2iLa3cucTSBQT6iX1","modelId":"claude-opus-4-6","timestamp":"2026-04-21T08:13:57.063Z","metadata":{}},{"type":"text-start","id":"0","metadata":{}},{"type":"text-delta","id":"0","delta":"Done! I've added **Bread","metadata":{}},{"type":"text-delta","id":"0","delta":"** to the shopping list. 🍞 Here's what's on it now:\n\n- Milk\n- Bread","metadata":{}},{"type":"text-end","id":"0","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":2236,"outputTokens":38,"totalTokens":2274},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2236,"output_tokens":8,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV5</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its current contents.","options":{}},{"type":"text","text":"Let me open the document first to see what's currently on the shopping list.","options":{}},{"type":"tool-call","id":"toolu_01TDky6tn1p4aqgKeoZ69r13","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV5"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01TDky6tn1p4aqgKeoZ69r13","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Shopping list"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The document currently just has a heading \"# Shopping list\". I need to add \"milk\" to it.","options":{}},{"type":"text","text":"The shopping list is currently empty. I'll add milk to it now.","options":{}},{"type":"tool-call","id":"toolu_01W7YZEiBFfa674wh4YcqirW","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV5","edits":[{"oldString":"# Shopping list","newString":"# Shopping list\n- Milk"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01W7YZEiBFfa674wh4YcqirW","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n- Milk"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Done! I've added **Milk** to the shopping list. 🥛","options":{}},{"role":"user","content":"Add bread to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"tool-call","id":"toolu_01FKbZDH7b2RWMnD4ShbMBm7","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV5","edits":[{"oldString":"- Milk","newString":"- Milk\n- Bread"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01FKbZDH7b2RWMnD4ShbMBm7","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n- Milk\n- Bread"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Done! I've added **Bread** to the shopping list. 🍞 Here's what's on it now:\n\n- Milk\n- Bread","options":{}},{"role":"user","content":"Add eggs to the shopping list.","options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01PcCTVNDy7pJD8dwGePE8WL","modelId":"claude-opus-4-6","timestamp":"2026-04-21T08:13:59.934Z","metadata":{}},{"type":"tool-params-start","id":"toolu_019eS23GCrUzMCTQstCSGT8y","name":"update","providerExecuted":false,"metadata":{}},{"type":"tool-params-delta","id":"toolu_019eS23GCrUzMCTQstCSGT8y","delta":"","metadata":{}},{"type":"tool-params-delta","id":"toolu_019eS23GCrUzMCTQstCSGT8y","delta":"{\"d","metadata":{}},{"type":"tool-params-delta","id":"toolu_019eS23GCrUzMCTQstCSGT8y","delta":"oc\": ","metadata":{}},{"type":"tool-params-delta","id":"toolu_019eS23GCrUzMCTQstCSGT8y","delta":"\"dxn:","metadata":{}},{"type":"tool-params-delta","id":"toolu_019eS23GCrUzMCTQstCSGT8y","delta":"echo:BDJXM","metadata":{}},{"type":"tool-params-delta","id":"toolu_019eS23GCrUzMCTQstCSGT8y","delta":"ULPW5FB5","metadata":{}},{"type":"tool-params-delta","id":"toolu_019eS23GCrUzMCTQstCSGT8y","delta":"5UZ7KP5","metadata":{}},{"type":"tool-params-delta","id":"toolu_019eS23GCrUzMCTQstCSGT8y","delta":"HLDHVTXU","metadata":{}},{"type":"tool-params-delta","id":"toolu_019eS23GCrUzMCTQstCSGT8y","delta":"THE2U:01","metadata":{}},{"type":"tool-params-delta","id":"toolu_019eS23GCrUzMCTQstCSGT8y","delta":"JGFJJZ00G0WK","metadata":{}},{"type":"tool-params-delta","id":"toolu_019eS23GCrUzMCTQstCSGT8y","delta":"QSJGMAKCNTV5","metadata":{}},{"type":"tool-params-delta","id":"toolu_019eS23GCrUzMCTQstCSGT8y","delta":"\"","metadata":{}},{"type":"tool-params-delta","id":"toolu_019eS23GCrUzMCTQstCSGT8y","delta":", \"edits\": ","metadata":{}},{"type":"tool-params-delta","id":"toolu_019eS23GCrUzMCTQstCSGT8y","delta":"[{\"old","metadata":{}},{"type":"tool-params-delta","id":"toolu_019eS23GCrUzMCTQstCSGT8y","delta":"String\":","metadata":{}},{"type":"tool-params-delta","id":"toolu_019eS23GCrUzMCTQstCSGT8y","delta":"\"-","metadata":{}},{"type":"tool-params-delta","id":"toolu_019eS23GCrUzMCTQstCSGT8y","delta":" Bre","metadata":{}},{"type":"tool-params-delta","id":"toolu_019eS23GCrUzMCTQstCSGT8y","delta":"ad\",\"ne","metadata":{}},{"type":"tool-params-delta","id":"toolu_019eS23GCrUzMCTQstCSGT8y","delta":"wString\":\"-","metadata":{}},{"type":"tool-params-delta","id":"toolu_019eS23GCrUzMCTQstCSGT8y","delta":" Bread\\n- Eg","metadata":{}},{"type":"tool-params-delta","id":"toolu_019eS23GCrUzMCTQstCSGT8y","delta":"gs\"}]}","metadata":{}},{"type":"tool-params-end","id":"toolu_019eS23GCrUzMCTQstCSGT8y","metadata":{}},{"type":"finish","reason":"tool-calls","usage":{"inputTokens":2284,"outputTokens":148,"totalTokens":2432},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2284,"output_tokens":73,"server_tool_use":null,"service_tier":"standard"}}}}]},{"parameters":{"model":"@anthropic/claude-opus-4-6","stream":true,"tools":[{"name":"create","description":"Creates a new markdown document and adds it to the space.","inputSchema":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string"},"content":{"type":"string"}},"additionalProperties":false}},{"name":"open","description":"Opens and reads the contents of a new markdown document.","inputSchema":{"type":"object","required":["doc"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]}},"additionalProperties":false}},{"name":"update","description":"Applies a set of edits to the markdown document.","inputSchema":{"type":"object","required":["doc","edits"],"properties":{"doc":{"type":"string","description":"The ID of the referenced object. Formats accepted:\n- DXN (dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4). DXNs can be prepended with an @ symbol for compatibility with in-text references.\n- space ID, object ID tuple (spaceID:objectID)\n- Only object ID that is assumed to be in the current space (01KG7R1ZXWFMWQ4DA1Q6TN1DG4)","examples":["dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","@dxn:echo:@:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","BM3FSHFOMJCHCG5QW7JTVKGYABD2GAA7G:01KG7R1ZXWFMWQ4DA1Q6TN1DG4","01KG7R1ZXWFMWQ4DA1Q6TN1DG4"]},"edits":{"type":"array","items":{"type":"object","required":["oldString","newString"],"properties":{"oldString":{"type":"string","description":"The text to find in the document."},"newString":{"type":"string","description":"The text to replace it with."},"replaceAll":{"type":"boolean","description":"If true, replaces all occurrences. Defaults to false (first occurrence only)."}},"additionalProperties":false},"description":"The edits to apply to the document. Each edit finds oldString and replaces it with newString."}},"additionalProperties":false}}]},"prompt":{"content":[{"role":"system","content":"## Blueprints Definitions\n\n<blueprint>\n You can create, read and update markdown documents.\n When asked to edit or update documents return updates as a set of compact diff string pairs.\n For each diff, respond with the smallest possible matching span.\n \n Example:\n ```diff\n - \"There is a tyop in this sentence.\"\n + \"There is a typo in this sentence.\"\n - \"This id good.\"\n + \"This sentence is really good.\"\n ```\n</blueprint>\n\n## Context Objects\n\n<object>\n <dxn>dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV5</dxn>\n <typename>org.dxos.type.document</typename>\n</object>","options":{}},{"role":"user","content":"Add milk to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"Let me first open the document to see its current contents.","options":{}},{"type":"text","text":"Let me open the document first to see what's currently on the shopping list.","options":{}},{"type":"tool-call","id":"toolu_01TDky6tn1p4aqgKeoZ69r13","name":"open","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV5"},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01TDky6tn1p4aqgKeoZ69r13","name":"open","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"content":"# Shopping list"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":[{"type":"reasoning","text":"The document currently just has a heading \"# Shopping list\". I need to add \"milk\" to it.","options":{}},{"type":"text","text":"The shopping list is currently empty. I'll add milk to it now.","options":{}},{"type":"tool-call","id":"toolu_01W7YZEiBFfa674wh4YcqirW","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV5","edits":[{"oldString":"# Shopping list","newString":"# Shopping list\n- Milk"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01W7YZEiBFfa674wh4YcqirW","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n- Milk"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Done! I've added **Milk** to the shopping list. 🥛","options":{}},{"role":"user","content":"Add bread to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"tool-call","id":"toolu_01FKbZDH7b2RWMnD4ShbMBm7","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV5","edits":[{"oldString":"- Milk","newString":"- Milk\n- Bread"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_01FKbZDH7b2RWMnD4ShbMBm7","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n- Milk\n- Bread"}},"providerExecuted":false,"options":{}}],"options":{}},{"role":"assistant","content":"Done! I've added **Bread** to the shopping list. 🍞 Here's what's on it now:\n\n- Milk\n- Bread","options":{}},{"role":"user","content":"Add eggs to the shopping list.","options":{}},{"role":"assistant","content":[{"type":"tool-call","id":"toolu_019eS23GCrUzMCTQstCSGT8y","name":"update","params":{"doc":"dxn:echo:BDJXMULPW5FB55UZ7KP5HLDHVTXUTHE2U:01JGFJJZ00G0WKQSJGMAKCNTV5","edits":[{"oldString":"- Bread","newString":"- Bread\n- Eggs"}]},"providerExecuted":false,"options":{}}],"options":{}},{"role":"tool","content":[{"type":"tool-result","id":"toolu_019eS23GCrUzMCTQstCSGT8y","name":"update","isFailure":false,"result":{"_id":"Exit","_tag":"Success","value":{"newContent":"# Shopping list\n- Milk\n- Bread\n- Eggs"}},"providerExecuted":false,"options":{}}],"options":{"anthropic":{"cacheControl":{"ttl":"5m","type":"ephemeral"}}}}]},"response":[{"type":"response-metadata","id":"msg_01Xj4GzdbbsPmEri5oYMS7CB","modelId":"claude-opus-4-6","timestamp":"2026-04-21T08:14:02.610Z","metadata":{}},{"type":"text-start","id":"0","metadata":{}},{"type":"text-delta","id":"0","delta":"Done! I've added **Eggs","metadata":{}},{"type":"text-delta","id":"0","delta":"** to the shopping list. 🥚 Here's what's on it now:\n\n- Milk\n- Bread\n- Eggs","metadata":{}},{"type":"text-end","id":"0","metadata":{}},{"type":"finish","reason":"stop","usage":{"inputTokens":2480,"outputTokens":42,"totalTokens":2522},"metadata":{"anthropic":{"usage":{"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2480,"output_tokens":8,"server_tool_use":null,"service_tier":"standard"}}}}]}]}
|