@mastra/mcp-docs-server 0.13.30 → 0.13.31-alpha.0

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.
Files changed (86) hide show
  1. package/.docs/organized/changelogs/%40internal%2Fchangeset-cli.md +2 -0
  2. package/.docs/organized/changelogs/%40internal%2Fstorage-test-utils.md +8 -8
  3. package/.docs/organized/changelogs/%40internal%2Ftypes-builder.md +2 -0
  4. package/.docs/organized/changelogs/%40mastra%2Fagent-builder.md +22 -22
  5. package/.docs/organized/changelogs/%40mastra%2Fai-sdk.md +38 -0
  6. package/.docs/organized/changelogs/%40mastra%2Fastra.md +16 -16
  7. package/.docs/organized/changelogs/%40mastra%2Fchroma.md +16 -16
  8. package/.docs/organized/changelogs/%40mastra%2Fclickhouse.md +16 -16
  9. package/.docs/organized/changelogs/%40mastra%2Fclient-js.md +21 -21
  10. package/.docs/organized/changelogs/%40mastra%2Fcloud.md +16 -16
  11. package/.docs/organized/changelogs/%40mastra%2Fcloudflare-d1.md +16 -16
  12. package/.docs/organized/changelogs/%40mastra%2Fcloudflare.md +16 -16
  13. package/.docs/organized/changelogs/%40mastra%2Fcore.md +108 -108
  14. package/.docs/organized/changelogs/%40mastra%2Fcouchbase.md +17 -17
  15. package/.docs/organized/changelogs/%40mastra%2Fdeployer-cloud.md +29 -29
  16. package/.docs/organized/changelogs/%40mastra%2Fdeployer-cloudflare.md +29 -29
  17. package/.docs/organized/changelogs/%40mastra%2Fdeployer-netlify.md +29 -29
  18. package/.docs/organized/changelogs/%40mastra%2Fdeployer-vercel.md +29 -29
  19. package/.docs/organized/changelogs/%40mastra%2Fdeployer.md +49 -49
  20. package/.docs/organized/changelogs/%40mastra%2Fdynamodb.md +16 -16
  21. package/.docs/organized/changelogs/%40mastra%2Fevals.md +33 -33
  22. package/.docs/organized/changelogs/%40mastra%2Flance.md +16 -16
  23. package/.docs/organized/changelogs/%40mastra%2Flibsql.md +16 -16
  24. package/.docs/organized/changelogs/%40mastra%2Floggers.md +17 -17
  25. package/.docs/organized/changelogs/%40mastra%2Fmcp-docs-server.md +16 -16
  26. package/.docs/organized/changelogs/%40mastra%2Fmcp-registry-registry.md +16 -16
  27. package/.docs/organized/changelogs/%40mastra%2Fmcp.md +16 -16
  28. package/.docs/organized/changelogs/%40mastra%2Fmemory.md +30 -30
  29. package/.docs/organized/changelogs/%40mastra%2Fmongodb.md +16 -16
  30. package/.docs/organized/changelogs/%40mastra%2Fmssql.md +16 -16
  31. package/.docs/organized/changelogs/%40mastra%2Fopensearch.md +16 -16
  32. package/.docs/organized/changelogs/%40mastra%2Fpg.md +32 -32
  33. package/.docs/organized/changelogs/%40mastra%2Fpinecone.md +16 -16
  34. package/.docs/organized/changelogs/%40mastra%2Fplayground-ui.md +60 -60
  35. package/.docs/organized/changelogs/%40mastra%2Fqdrant.md +16 -16
  36. package/.docs/organized/changelogs/%40mastra%2Frag.md +16 -16
  37. package/.docs/organized/changelogs/%40mastra%2Freact.md +32 -0
  38. package/.docs/organized/changelogs/%40mastra%2Fs3vectors.md +15 -0
  39. package/.docs/organized/changelogs/%40mastra%2Fserver.md +30 -30
  40. package/.docs/organized/changelogs/%40mastra%2Fturbopuffer.md +16 -16
  41. package/.docs/organized/changelogs/%40mastra%2Fupstash.md +19 -19
  42. package/.docs/organized/changelogs/%40mastra%2Fvectorize.md +16 -16
  43. package/.docs/organized/changelogs/%40mastra%2Fvoice-azure.md +17 -17
  44. package/.docs/organized/changelogs/%40mastra%2Fvoice-cloudflare.md +16 -16
  45. package/.docs/organized/changelogs/%40mastra%2Fvoice-deepgram.md +16 -16
  46. package/.docs/organized/changelogs/%40mastra%2Fvoice-elevenlabs.md +16 -16
  47. package/.docs/organized/changelogs/%40mastra%2Fvoice-gladia.md +17 -17
  48. package/.docs/organized/changelogs/%40mastra%2Fvoice-google-gemini-live.md +15 -0
  49. package/.docs/organized/changelogs/%40mastra%2Fvoice-google.md +16 -16
  50. package/.docs/organized/changelogs/%40mastra%2Fvoice-murf.md +16 -16
  51. package/.docs/organized/changelogs/%40mastra%2Fvoice-openai-realtime.md +16 -16
  52. package/.docs/organized/changelogs/%40mastra%2Fvoice-openai.md +17 -17
  53. package/.docs/organized/changelogs/%40mastra%2Fvoice-playai.md +16 -16
  54. package/.docs/organized/changelogs/%40mastra%2Fvoice-sarvam.md +16 -16
  55. package/.docs/organized/changelogs/%40mastra%2Fvoice-speechify.md +16 -16
  56. package/.docs/organized/changelogs/create-mastra.md +33 -33
  57. package/.docs/organized/changelogs/mastra.md +58 -58
  58. package/.docs/organized/code-examples/heads-up-game.md +5 -5
  59. package/.docs/raw/agents/agent-memory.mdx +1 -1
  60. package/.docs/raw/agents/networks.mdx +0 -2
  61. package/.docs/raw/agents/overview.mdx +67 -1
  62. package/.docs/raw/agents/using-tools.mdx +1 -1
  63. package/.docs/raw/frameworks/agentic-uis/ai-sdk.mdx +284 -266
  64. package/.docs/raw/reference/agents/generate.mdx +13 -5
  65. package/.docs/raw/reference/agents/getDefaultGenerateOptions.mdx +1 -1
  66. package/.docs/raw/reference/agents/getDefaultStreamOptions.mdx +2 -2
  67. package/.docs/raw/reference/agents/getInstructions.mdx +1 -1
  68. package/.docs/raw/reference/agents/getLLM.mdx +1 -1
  69. package/.docs/raw/reference/agents/getMemory.mdx +1 -1
  70. package/.docs/raw/reference/agents/getModel.mdx +1 -1
  71. package/.docs/raw/reference/agents/getScorers.mdx +1 -1
  72. package/.docs/raw/reference/cli/create-mastra.mdx +16 -0
  73. package/.docs/raw/reference/cli/mastra.mdx +7 -1
  74. package/.docs/raw/reference/streaming/ChunkType.mdx +1 -1
  75. package/.docs/raw/reference/streaming/agents/MastraModelOutput.mdx +1 -2
  76. package/.docs/raw/reference/streaming/agents/stream.mdx +18 -10
  77. package/.docs/raw/reference/streaming/agents/streamLegacy.mdx +2 -2
  78. package/.docs/raw/reference/tools/create-tool.mdx +1 -1
  79. package/.docs/raw/reference/tools/graph-rag-tool.mdx +2 -2
  80. package/.docs/raw/reference/tools/vector-query-tool.mdx +2 -2
  81. package/.docs/raw/reference/vectors/pg.mdx +83 -2
  82. package/.docs/raw/server-db/runtime-context.mdx +4 -2
  83. package/.docs/raw/streaming/events.mdx +108 -0
  84. package/.docs/raw/streaming/overview.mdx +41 -1
  85. package/CHANGELOG.md +7 -0
  86. package/package.json +4 -4
@@ -1,5 +1,20 @@
1
1
  # @mastra/voice-openai
2
2
 
3
+ ## 0.11.9
4
+
5
+ ### Patch Changes
6
+
7
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8619](https://github.com/mastra-ai/mastra/pull/8619))
8
+
9
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8557](https://github.com/mastra-ai/mastra/pull/8557))
10
+
11
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8626](https://github.com/mastra-ai/mastra/pull/8626))
12
+
13
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8686](https://github.com/mastra-ai/mastra/pull/8686))
14
+
15
+ - Updated dependencies [[`1ed9670`](https://github.com/mastra-ai/mastra/commit/1ed9670d3ca50cb60dc2e517738c5eef3968ed27), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`f59fc1e`](https://github.com/mastra-ai/mastra/commit/f59fc1e406b8912e692f6bff6cfd4754cc8d165c), [`158381d`](https://github.com/mastra-ai/mastra/commit/158381d39335be934b81ef8a1947bccace492c25), [`a1799bc`](https://github.com/mastra-ai/mastra/commit/a1799bcc1b5a1cdc188f2ac0165f17a1c4ac6f7b), [`6ff6094`](https://github.com/mastra-ai/mastra/commit/6ff60946f4ecfebdeef6e21d2b230c2204f2c9b8), [`fb703b9`](https://github.com/mastra-ai/mastra/commit/fb703b9634eeaff1a6eb2b5531ce0f9e8fb04727), [`37a2314`](https://github.com/mastra-ai/mastra/commit/37a23148e0e5a3b40d4f9f098b194671a8a49faf), [`7b1ef57`](https://github.com/mastra-ai/mastra/commit/7b1ef57fc071c2aa2a2e32905b18cd88719c5a39), [`05a9dee`](https://github.com/mastra-ai/mastra/commit/05a9dee3d355694d28847bfffb6289657fcf7dfa), [`e3c1077`](https://github.com/mastra-ai/mastra/commit/e3c107763aedd1643d3def5df450c235da9ff76c), [`1908ca0`](https://github.com/mastra-ai/mastra/commit/1908ca0521f90e43779cc29ab590173ca560443c), [`1bccdb3`](https://github.com/mastra-ai/mastra/commit/1bccdb33eb90cbeba2dc5ece1c2561fb774b26b6), [`5ef944a`](https://github.com/mastra-ai/mastra/commit/5ef944a3721d93105675cac2b2311432ff8cc393), [`d6b186f`](https://github.com/mastra-ai/mastra/commit/d6b186fb08f1caf1b86f73d3a5ee88fb999ca3be), [`ee68e82`](https://github.com/mastra-ai/mastra/commit/ee68e8289ea4408d29849e899bc6e78b3bd4e843), [`228228b`](https://github.com/mastra-ai/mastra/commit/228228b0b1de9291cb8887587f5cea1a8757ebad), [`ea33930`](https://github.com/mastra-ai/mastra/commit/ea339301e82d6318257720d811b043014ee44064), [`65493b3`](https://github.com/mastra-ai/mastra/commit/65493b31c36f6fdb78f9679f7e1ecf0c250aa5ee), [`a998b8f`](https://github.com/mastra-ai/mastra/commit/a998b8f858091c2ec47683e60766cf12d03001e4), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`8a37bdd`](https://github.com/mastra-ai/mastra/commit/8a37bddb6d8614a32c5b70303d583d80c620ea61), [`135d6f2`](https://github.com/mastra-ai/mastra/commit/135d6f22a326ed1dffff858700669dff09d2c9eb)]:
16
+ - @mastra/core@0.21.0
17
+
3
18
  ## 0.11.9-alpha.0
4
19
 
5
20
  ### Patch Changes
@@ -283,20 +298,5 @@
283
298
  ### Patch Changes
284
299
 
285
300
  - 55856ed: dependencies updates:
286
- - Updated dependency [`openai@^5.11.0` ↗︎](https://www.npmjs.com/package/openai/v/5.11.0) (from `^5.10.2`, in `dependencies`)
287
- - 4a406ec: fixes TypeScript declaration file imports to ensure proper ESM compatibility
288
- - Updated dependencies [cb36de0]
289
- - Updated dependencies [d0496e6]
290
- - Updated dependencies [a82b851]
291
- - Updated dependencies [ea0c5f2]
292
- - Updated dependencies [41a0a0e]
293
- - Updated dependencies [2871020]
294
- - Updated dependencies [94f4812]
295
- - Updated dependencies [e202b82]
296
- - Updated dependencies [e00f6a0]
297
- - Updated dependencies [4a406ec]
298
- - Updated dependencies [b0e43c1]
299
- - Updated dependencies [5d377e5]
300
- - Updated dependencies [1fb812e]
301
-
302
- ... 1398 more lines hidden. See full changelog in package directory.
301
+
302
+ ... 1413 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,20 @@
1
1
  # @mastra/voice-playai
2
2
 
3
+ ## 0.11.9
4
+
5
+ ### Patch Changes
6
+
7
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8619](https://github.com/mastra-ai/mastra/pull/8619))
8
+
9
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8557](https://github.com/mastra-ai/mastra/pull/8557))
10
+
11
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8626](https://github.com/mastra-ai/mastra/pull/8626))
12
+
13
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8686](https://github.com/mastra-ai/mastra/pull/8686))
14
+
15
+ - Updated dependencies [[`1ed9670`](https://github.com/mastra-ai/mastra/commit/1ed9670d3ca50cb60dc2e517738c5eef3968ed27), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`f59fc1e`](https://github.com/mastra-ai/mastra/commit/f59fc1e406b8912e692f6bff6cfd4754cc8d165c), [`158381d`](https://github.com/mastra-ai/mastra/commit/158381d39335be934b81ef8a1947bccace492c25), [`a1799bc`](https://github.com/mastra-ai/mastra/commit/a1799bcc1b5a1cdc188f2ac0165f17a1c4ac6f7b), [`6ff6094`](https://github.com/mastra-ai/mastra/commit/6ff60946f4ecfebdeef6e21d2b230c2204f2c9b8), [`fb703b9`](https://github.com/mastra-ai/mastra/commit/fb703b9634eeaff1a6eb2b5531ce0f9e8fb04727), [`37a2314`](https://github.com/mastra-ai/mastra/commit/37a23148e0e5a3b40d4f9f098b194671a8a49faf), [`7b1ef57`](https://github.com/mastra-ai/mastra/commit/7b1ef57fc071c2aa2a2e32905b18cd88719c5a39), [`05a9dee`](https://github.com/mastra-ai/mastra/commit/05a9dee3d355694d28847bfffb6289657fcf7dfa), [`e3c1077`](https://github.com/mastra-ai/mastra/commit/e3c107763aedd1643d3def5df450c235da9ff76c), [`1908ca0`](https://github.com/mastra-ai/mastra/commit/1908ca0521f90e43779cc29ab590173ca560443c), [`1bccdb3`](https://github.com/mastra-ai/mastra/commit/1bccdb33eb90cbeba2dc5ece1c2561fb774b26b6), [`5ef944a`](https://github.com/mastra-ai/mastra/commit/5ef944a3721d93105675cac2b2311432ff8cc393), [`d6b186f`](https://github.com/mastra-ai/mastra/commit/d6b186fb08f1caf1b86f73d3a5ee88fb999ca3be), [`ee68e82`](https://github.com/mastra-ai/mastra/commit/ee68e8289ea4408d29849e899bc6e78b3bd4e843), [`228228b`](https://github.com/mastra-ai/mastra/commit/228228b0b1de9291cb8887587f5cea1a8757ebad), [`ea33930`](https://github.com/mastra-ai/mastra/commit/ea339301e82d6318257720d811b043014ee44064), [`65493b3`](https://github.com/mastra-ai/mastra/commit/65493b31c36f6fdb78f9679f7e1ecf0c250aa5ee), [`a998b8f`](https://github.com/mastra-ai/mastra/commit/a998b8f858091c2ec47683e60766cf12d03001e4), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`8a37bdd`](https://github.com/mastra-ai/mastra/commit/8a37bddb6d8614a32c5b70303d583d80c620ea61), [`135d6f2`](https://github.com/mastra-ai/mastra/commit/135d6f22a326ed1dffff858700669dff09d2c9eb)]:
16
+ - @mastra/core@0.21.0
17
+
3
18
  ## 0.11.9-alpha.0
4
19
 
5
20
  ### Patch Changes
@@ -283,20 +298,5 @@
283
298
  - Updated dependencies [d0496e6]
284
299
  - Updated dependencies [a82b851]
285
300
  - Updated dependencies [ea0c5f2]
286
- - Updated dependencies [41a0a0e]
287
- - Updated dependencies [2871020]
288
- - Updated dependencies [94f4812]
289
- - Updated dependencies [e202b82]
290
- - Updated dependencies [e00f6a0]
291
- - Updated dependencies [4a406ec]
292
- - Updated dependencies [b0e43c1]
293
- - Updated dependencies [5d377e5]
294
- - Updated dependencies [1fb812e]
295
- - Updated dependencies [35c5798]
296
- - @mastra/core@0.13.0
297
-
298
- ## 0.10.7-alpha.0
299
-
300
- ### Patch Changes
301
301
 
302
- ... 1334 more lines hidden. See full changelog in package directory.
302
+ ... 1349 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,20 @@
1
1
  # @mastra/voice-sarvam
2
2
 
3
+ ## 0.11.9
4
+
5
+ ### Patch Changes
6
+
7
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8619](https://github.com/mastra-ai/mastra/pull/8619))
8
+
9
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8557](https://github.com/mastra-ai/mastra/pull/8557))
10
+
11
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8626](https://github.com/mastra-ai/mastra/pull/8626))
12
+
13
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8686](https://github.com/mastra-ai/mastra/pull/8686))
14
+
15
+ - Updated dependencies [[`1ed9670`](https://github.com/mastra-ai/mastra/commit/1ed9670d3ca50cb60dc2e517738c5eef3968ed27), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`f59fc1e`](https://github.com/mastra-ai/mastra/commit/f59fc1e406b8912e692f6bff6cfd4754cc8d165c), [`158381d`](https://github.com/mastra-ai/mastra/commit/158381d39335be934b81ef8a1947bccace492c25), [`a1799bc`](https://github.com/mastra-ai/mastra/commit/a1799bcc1b5a1cdc188f2ac0165f17a1c4ac6f7b), [`6ff6094`](https://github.com/mastra-ai/mastra/commit/6ff60946f4ecfebdeef6e21d2b230c2204f2c9b8), [`fb703b9`](https://github.com/mastra-ai/mastra/commit/fb703b9634eeaff1a6eb2b5531ce0f9e8fb04727), [`37a2314`](https://github.com/mastra-ai/mastra/commit/37a23148e0e5a3b40d4f9f098b194671a8a49faf), [`7b1ef57`](https://github.com/mastra-ai/mastra/commit/7b1ef57fc071c2aa2a2e32905b18cd88719c5a39), [`05a9dee`](https://github.com/mastra-ai/mastra/commit/05a9dee3d355694d28847bfffb6289657fcf7dfa), [`e3c1077`](https://github.com/mastra-ai/mastra/commit/e3c107763aedd1643d3def5df450c235da9ff76c), [`1908ca0`](https://github.com/mastra-ai/mastra/commit/1908ca0521f90e43779cc29ab590173ca560443c), [`1bccdb3`](https://github.com/mastra-ai/mastra/commit/1bccdb33eb90cbeba2dc5ece1c2561fb774b26b6), [`5ef944a`](https://github.com/mastra-ai/mastra/commit/5ef944a3721d93105675cac2b2311432ff8cc393), [`d6b186f`](https://github.com/mastra-ai/mastra/commit/d6b186fb08f1caf1b86f73d3a5ee88fb999ca3be), [`ee68e82`](https://github.com/mastra-ai/mastra/commit/ee68e8289ea4408d29849e899bc6e78b3bd4e843), [`228228b`](https://github.com/mastra-ai/mastra/commit/228228b0b1de9291cb8887587f5cea1a8757ebad), [`ea33930`](https://github.com/mastra-ai/mastra/commit/ea339301e82d6318257720d811b043014ee44064), [`65493b3`](https://github.com/mastra-ai/mastra/commit/65493b31c36f6fdb78f9679f7e1ecf0c250aa5ee), [`a998b8f`](https://github.com/mastra-ai/mastra/commit/a998b8f858091c2ec47683e60766cf12d03001e4), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`8a37bdd`](https://github.com/mastra-ai/mastra/commit/8a37bddb6d8614a32c5b70303d583d80c620ea61), [`135d6f2`](https://github.com/mastra-ai/mastra/commit/135d6f22a326ed1dffff858700669dff09d2c9eb)]:
16
+ - @mastra/core@0.21.0
17
+
3
18
  ## 0.11.9-alpha.0
4
19
 
5
20
  ### Patch Changes
@@ -283,20 +298,5 @@
283
298
  - Updated dependencies [d0496e6]
284
299
  - Updated dependencies [a82b851]
285
300
  - Updated dependencies [ea0c5f2]
286
- - Updated dependencies [41a0a0e]
287
- - Updated dependencies [2871020]
288
- - Updated dependencies [94f4812]
289
- - Updated dependencies [e202b82]
290
- - Updated dependencies [e00f6a0]
291
- - Updated dependencies [4a406ec]
292
- - Updated dependencies [b0e43c1]
293
- - Updated dependencies [5d377e5]
294
- - Updated dependencies [1fb812e]
295
- - Updated dependencies [35c5798]
296
- - @mastra/core@0.13.0
297
-
298
- ## 0.10.7-alpha.0
299
-
300
- ### Patch Changes
301
301
 
302
- ... 984 more lines hidden. See full changelog in package directory.
302
+ ... 999 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,20 @@
1
1
  # @mastra/voice-speechify
2
2
 
3
+ ## 0.11.9
4
+
5
+ ### Patch Changes
6
+
7
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8619](https://github.com/mastra-ai/mastra/pull/8619))
8
+
9
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8557](https://github.com/mastra-ai/mastra/pull/8557))
10
+
11
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8626](https://github.com/mastra-ai/mastra/pull/8626))
12
+
13
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8686](https://github.com/mastra-ai/mastra/pull/8686))
14
+
15
+ - Updated dependencies [[`1ed9670`](https://github.com/mastra-ai/mastra/commit/1ed9670d3ca50cb60dc2e517738c5eef3968ed27), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`f59fc1e`](https://github.com/mastra-ai/mastra/commit/f59fc1e406b8912e692f6bff6cfd4754cc8d165c), [`158381d`](https://github.com/mastra-ai/mastra/commit/158381d39335be934b81ef8a1947bccace492c25), [`a1799bc`](https://github.com/mastra-ai/mastra/commit/a1799bcc1b5a1cdc188f2ac0165f17a1c4ac6f7b), [`6ff6094`](https://github.com/mastra-ai/mastra/commit/6ff60946f4ecfebdeef6e21d2b230c2204f2c9b8), [`fb703b9`](https://github.com/mastra-ai/mastra/commit/fb703b9634eeaff1a6eb2b5531ce0f9e8fb04727), [`37a2314`](https://github.com/mastra-ai/mastra/commit/37a23148e0e5a3b40d4f9f098b194671a8a49faf), [`7b1ef57`](https://github.com/mastra-ai/mastra/commit/7b1ef57fc071c2aa2a2e32905b18cd88719c5a39), [`05a9dee`](https://github.com/mastra-ai/mastra/commit/05a9dee3d355694d28847bfffb6289657fcf7dfa), [`e3c1077`](https://github.com/mastra-ai/mastra/commit/e3c107763aedd1643d3def5df450c235da9ff76c), [`1908ca0`](https://github.com/mastra-ai/mastra/commit/1908ca0521f90e43779cc29ab590173ca560443c), [`1bccdb3`](https://github.com/mastra-ai/mastra/commit/1bccdb33eb90cbeba2dc5ece1c2561fb774b26b6), [`5ef944a`](https://github.com/mastra-ai/mastra/commit/5ef944a3721d93105675cac2b2311432ff8cc393), [`d6b186f`](https://github.com/mastra-ai/mastra/commit/d6b186fb08f1caf1b86f73d3a5ee88fb999ca3be), [`ee68e82`](https://github.com/mastra-ai/mastra/commit/ee68e8289ea4408d29849e899bc6e78b3bd4e843), [`228228b`](https://github.com/mastra-ai/mastra/commit/228228b0b1de9291cb8887587f5cea1a8757ebad), [`ea33930`](https://github.com/mastra-ai/mastra/commit/ea339301e82d6318257720d811b043014ee44064), [`65493b3`](https://github.com/mastra-ai/mastra/commit/65493b31c36f6fdb78f9679f7e1ecf0c250aa5ee), [`a998b8f`](https://github.com/mastra-ai/mastra/commit/a998b8f858091c2ec47683e60766cf12d03001e4), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`8a37bdd`](https://github.com/mastra-ai/mastra/commit/8a37bddb6d8614a32c5b70303d583d80c620ea61), [`135d6f2`](https://github.com/mastra-ai/mastra/commit/135d6f22a326ed1dffff858700669dff09d2c9eb)]:
16
+ - @mastra/core@0.21.0
17
+
3
18
  ## 0.11.9-alpha.0
4
19
 
5
20
  ### Patch Changes
@@ -283,20 +298,5 @@
283
298
  ### Patch Changes
284
299
 
285
300
  - 03997ae: Update peerdeps
286
- - @mastra/core@0.14.0-alpha.7
287
-
288
- ## 0.10.7
289
-
290
- ### Patch Changes
291
301
 
292
- - 4a406ec: fixes TypeScript declaration file imports to ensure proper ESM compatibility
293
- - Updated dependencies [cb36de0]
294
- - Updated dependencies [d0496e6]
295
- - Updated dependencies [a82b851]
296
- - Updated dependencies [ea0c5f2]
297
- - Updated dependencies [41a0a0e]
298
- - Updated dependencies [2871020]
299
- - Updated dependencies [94f4812]
300
- - Updated dependencies [e202b82]
301
-
302
- ... 1349 more lines hidden. See full changelog in package directory.
302
+ ... 1364 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,37 @@
1
1
  # create-mastra
2
2
 
3
+ ## 0.17.0-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Pin `@rollup/*` dependencies to fixed versions (instead of using `^`) to: ([#8900](https://github.com/mastra-ai/mastra/pull/8900))
8
+ - Hotfix a bug inside `@rollup/plugin-commonjs`
9
+ - Have more control over the versions in the future to not have breakages over night
10
+
11
+ ## 0.16.0
12
+
13
+ ### Patch Changes
14
+
15
+ - Use model-router in create-mastra starter template ([#8631](https://github.com/mastra-ai/mastra/pull/8631))
16
+
17
+ - Fix auto tab for model picker in playground-ui, the UI no longer auto tabs to the next selector when selecting a model/provider. ([#8680](https://github.com/mastra-ai/mastra/pull/8680))
18
+
19
+ - Create unified Sidebar component to use on Playground and Cloud ([#8655](https://github.com/mastra-ai/mastra/pull/8655))
20
+
21
+ - Adds reset button to model picker to reset to original model set on the agent. ([#8633](https://github.com/mastra-ai/mastra/pull/8633))
22
+
23
+ - Use only zod validation in dynamic form ([#8802](https://github.com/mastra-ai/mastra/pull/8802))
24
+
25
+ - Add div wrapper around entity tables to fix table vertical position ([#8758](https://github.com/mastra-ai/mastra/pull/8758))
26
+
27
+ - Customize AITraces type to seamlessly work on Cloud too ([#8759](https://github.com/mastra-ai/mastra/pull/8759))
28
+
29
+ - Refactor EntryList component and Scorer and Observability pages ([#8652](https://github.com/mastra-ai/mastra/pull/8652))
30
+
31
+ - Stream finalResult from network loop ([#8795](https://github.com/mastra-ai/mastra/pull/8795))
32
+
33
+ - Improve README ([#8819](https://github.com/mastra-ai/mastra/pull/8819))
34
+
3
35
  ## 0.16.0-alpha.1
4
36
 
5
37
  ### Patch Changes
@@ -267,36 +299,4 @@
267
299
 
268
300
  - Fix DateTimePicker style issue ([#8106](https://github.com/mastra-ai/mastra/pull/8106))
269
301
 
270
- ## 0.13.2-alpha.2
271
-
272
- ## 0.13.2-alpha.1
273
-
274
- ### Patch Changes
275
-
276
- - dependencies updates: ([#8007](https://github.com/mastra-ai/mastra/pull/8007))
277
- - Updated dependency [`fs-extra@^11.3.2` ↗︎](https://www.npmjs.com/package/fs-extra/v/11.3.2) (from `^11.3.1`, in `dependencies`)
278
-
279
- ## 0.13.2-alpha.0
280
-
281
- ## 0.13.1
282
-
283
- ## 0.13.1-alpha.0
284
-
285
- ## 0.13.0
286
-
287
- ### Patch Changes
288
-
289
- - clean up console logs in monorepo ([#7926](https://github.com/mastra-ai/mastra/pull/7926))
290
-
291
- - Update peerdep of @mastra/core ([#7619](https://github.com/mastra-ai/mastra/pull/7619))
292
-
293
- - fix minor playground stuff for observability ([#7765](https://github.com/mastra-ai/mastra/pull/7765))
294
-
295
- - Handle zod intersections in dynamic form ([#7768](https://github.com/mastra-ai/mastra/pull/7768))
296
-
297
- - Playground ui -pass runtimeContext to client SDK get methods ([#7767](https://github.com/mastra-ai/mastra/pull/7767))
298
-
299
- ## 0.13.0-alpha.5
300
-
301
-
302
- ... 1710 more lines hidden. See full changelog in package directory.
302
+ ... 1742 more lines hidden. See full changelog in package directory.
@@ -1,5 +1,62 @@
1
1
  # mastra
2
2
 
3
+ ## 0.17.0-alpha.0
4
+
5
+ ### Minor Changes
6
+
7
+ - - Remove the `mastra deploy` CLI command. Use the deploy instructions of your individual platform. ([#8798](https://github.com/mastra-ai/mastra/pull/8798))
8
+ - Remove `--env` flag from `mastra build` command
9
+ - Remove `--port` flag from `mastra dev`. Use `server.port` on the `new Mastra()` class instead.
10
+ - Validate `--components` and `--llm` flags for `mastra create` and `mastra init`
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [[`5253cd2`](https://github.com/mastra-ai/mastra/commit/5253cd2d5b2cf4558963fa73c6a6b36c72f8875f), [`ca85c93`](https://github.com/mastra-ai/mastra/commit/ca85c932b232e6ad820c811ec176d98e68c59b0a), [`a1d40f8`](https://github.com/mastra-ai/mastra/commit/a1d40f88d4ce42c4508774ad22e38ac582157af2), [`11e9e8f`](https://github.com/mastra-ai/mastra/commit/11e9e8f4fb09a493ea00deda49081788f16e753b), [`00bf52b`](https://github.com/mastra-ai/mastra/commit/00bf52b89a93e6bffaaaf1714316870ad8af6572), [`01c4a25`](https://github.com/mastra-ai/mastra/commit/01c4a2506c514d5e861c004d3d2fb3791c6391f3), [`cce8aad`](https://github.com/mastra-ai/mastra/commit/cce8aad878a0dd98e5647680f3765caba0b1701c)]:
15
+ - @mastra/deployer@0.21.1-alpha.0
16
+ - @mastra/core@0.21.1-alpha.0
17
+
18
+ ## 0.16.0
19
+
20
+ ### Minor Changes
21
+
22
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8795](https://github.com/mastra-ai/mastra/pull/8795))
23
+
24
+ ### Patch Changes
25
+
26
+ - Use model-router in create-mastra starter template ([#8631](https://github.com/mastra-ai/mastra/pull/8631))
27
+
28
+ - Fix typo in playground causing semantic recall to always be false when enabled. ([#8640](https://github.com/mastra-ai/mastra/pull/8640))
29
+
30
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8619](https://github.com/mastra-ai/mastra/pull/8619))
31
+
32
+ - Create unified Sidebar component to use on Playground and Cloud ([#8655](https://github.com/mastra-ai/mastra/pull/8655))
33
+
34
+ - Use only zod validation in dynamic form ([#8802](https://github.com/mastra-ai/mastra/pull/8802))
35
+
36
+ - Add support for --debug options to build/dev commands to add more logging ([#8792](https://github.com/mastra-ai/mastra/pull/8792))
37
+
38
+ - Add div wrapper around entity tables to fix table vertical position ([#8758](https://github.com/mastra-ai/mastra/pull/8758))
39
+
40
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8557](https://github.com/mastra-ai/mastra/pull/8557))
41
+
42
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8626](https://github.com/mastra-ai/mastra/pull/8626))
43
+
44
+ - Customize AITraces type to seamlessly work on Cloud too ([#8759](https://github.com/mastra-ai/mastra/pull/8759))
45
+
46
+ - Refactor EntryList component and Scorer and Observability pages ([#8652](https://github.com/mastra-ai/mastra/pull/8652))
47
+
48
+ - Stream finalResult from network loop ([#8795](https://github.com/mastra-ai/mastra/pull/8795))
49
+
50
+ - Improve README ([#8819](https://github.com/mastra-ai/mastra/pull/8819))
51
+
52
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8686](https://github.com/mastra-ai/mastra/pull/8686))
53
+
54
+ - Updated dependencies [[`0fb6616`](https://github.com/mastra-ai/mastra/commit/0fb66169600ed2a3dc1297b1bfa8a7693ebb6e3c), [`1ed9670`](https://github.com/mastra-ai/mastra/commit/1ed9670d3ca50cb60dc2e517738c5eef3968ed27), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`1dbd76a`](https://github.com/mastra-ai/mastra/commit/1dbd76aff29cc764d3a1ac7bb01172fe59cb5992), [`f59fc1e`](https://github.com/mastra-ai/mastra/commit/f59fc1e406b8912e692f6bff6cfd4754cc8d165c), [`ca5a01f`](https://github.com/mastra-ai/mastra/commit/ca5a01f0dd4dabdbfde3beeaf92c7333e0f9bb39), [`158381d`](https://github.com/mastra-ai/mastra/commit/158381d39335be934b81ef8a1947bccace492c25), [`a1799bc`](https://github.com/mastra-ai/mastra/commit/a1799bcc1b5a1cdc188f2ac0165f17a1c4ac6f7b), [`6ff6094`](https://github.com/mastra-ai/mastra/commit/6ff60946f4ecfebdeef6e21d2b230c2204f2c9b8), [`2ddb851`](https://github.com/mastra-ai/mastra/commit/2ddb8519c4b6f1d31be10ffd33b41d2b649a04ff), [`fb703b9`](https://github.com/mastra-ai/mastra/commit/fb703b9634eeaff1a6eb2b5531ce0f9e8fb04727), [`dfe856f`](https://github.com/mastra-ai/mastra/commit/dfe856f7f60ff4765b75930e7b5d82dd0f0f7d89), [`37a2314`](https://github.com/mastra-ai/mastra/commit/37a23148e0e5a3b40d4f9f098b194671a8a49faf), [`7b1ef57`](https://github.com/mastra-ai/mastra/commit/7b1ef57fc071c2aa2a2e32905b18cd88719c5a39), [`7b1ef57`](https://github.com/mastra-ai/mastra/commit/7b1ef57fc071c2aa2a2e32905b18cd88719c5a39), [`05a9dee`](https://github.com/mastra-ai/mastra/commit/05a9dee3d355694d28847bfffb6289657fcf7dfa), [`e3c1077`](https://github.com/mastra-ai/mastra/commit/e3c107763aedd1643d3def5df450c235da9ff76c), [`1908ca0`](https://github.com/mastra-ai/mastra/commit/1908ca0521f90e43779cc29ab590173ca560443c), [`1bccdb3`](https://github.com/mastra-ai/mastra/commit/1bccdb33eb90cbeba2dc5ece1c2561fb774b26b6), [`5ef944a`](https://github.com/mastra-ai/mastra/commit/5ef944a3721d93105675cac2b2311432ff8cc393), [`228228b`](https://github.com/mastra-ai/mastra/commit/228228b0b1de9291cb8887587f5cea1a8757ebad), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`d6b186f`](https://github.com/mastra-ai/mastra/commit/d6b186fb08f1caf1b86f73d3a5ee88fb999ca3be), [`ee68e82`](https://github.com/mastra-ai/mastra/commit/ee68e8289ea4408d29849e899bc6e78b3bd4e843), [`228228b`](https://github.com/mastra-ai/mastra/commit/228228b0b1de9291cb8887587f5cea1a8757ebad), [`ea33930`](https://github.com/mastra-ai/mastra/commit/ea339301e82d6318257720d811b043014ee44064), [`65493b3`](https://github.com/mastra-ai/mastra/commit/65493b31c36f6fdb78f9679f7e1ecf0c250aa5ee), [`a998b8f`](https://github.com/mastra-ai/mastra/commit/a998b8f858091c2ec47683e60766cf12d03001e4), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`8a37bdd`](https://github.com/mastra-ai/mastra/commit/8a37bddb6d8614a32c5b70303d583d80c620ea61), [`7b1ef57`](https://github.com/mastra-ai/mastra/commit/7b1ef57fc071c2aa2a2e32905b18cd88719c5a39), [`e0e1cf1`](https://github.com/mastra-ai/mastra/commit/e0e1cf1e37b9dc61099ab331a6d386e44b816310), [`135d6f2`](https://github.com/mastra-ai/mastra/commit/135d6f22a326ed1dffff858700669dff09d2c9eb)]:
55
+ - @mastra/deployer@0.21.0
56
+ - @mastra/core@0.21.0
57
+ - @mastra/loggers@0.10.16
58
+ - @mastra/mcp@0.13.5
59
+
3
60
  ## 0.16.0-alpha.1
4
61
 
5
62
  ### Minor Changes
@@ -241,62 +298,5 @@
241
298
 
242
299
  - fix playground message history initial state for v1 models ([#8427](https://github.com/mastra-ai/mastra/pull/8427))
243
300
 
244
- - show thread list in desc order ([#8381](https://github.com/mastra-ai/mastra/pull/8381))
245
-
246
- - Fix an issue preventing showing working memory and semantic recall in the playground ([#8358](https://github.com/mastra-ai/mastra/pull/8358))
247
-
248
- - Fix shell option breaking server start on windows env ([#8377](https://github.com/mastra-ai/mastra/pull/8377))
249
-
250
- - Add observe strean to get streans after workflow has been interrupted ([#8318](https://github.com/mastra-ai/mastra/pull/8318))
251
-
252
- - Updated dependencies [[`00cb6bd`](https://github.com/mastra-ai/mastra/commit/00cb6bdf78737c0fac14a5a0c7b532a11e38558a), [`869ba22`](https://github.com/mastra-ai/mastra/commit/869ba222e1d6b58fc1b65e7c9fd55ca4e01b8c2f), [`1b73665`](https://github.com/mastra-ai/mastra/commit/1b73665e8e23f5c09d49fcf3e7d709c75259259e), [`989a4db`](https://github.com/mastra-ai/mastra/commit/989a4dbbaf07a2794d0e1863714c6d10f1244d6b), [`f7d7475`](https://github.com/mastra-ai/mastra/commit/f7d747507341aef60ed39e4b49318db1f86034a6), [`084b77b`](https://github.com/mastra-ai/mastra/commit/084b77b2955960e0190af8db3f77138aa83ed65c), [`a93ff84`](https://github.com/mastra-ai/mastra/commit/a93ff84b5e1af07ee236ac8873dac9b49aa5d501), [`bc5aacb`](https://github.com/mastra-ai/mastra/commit/bc5aacb646d468d325327e36117129f28cd13bf6), [`03622f8`](https://github.com/mastra-ai/mastra/commit/03622f86e9d7342197f80f95333ea3ff65c783ae), [`6b5af12`](https://github.com/mastra-ai/mastra/commit/6b5af12ce9e09066e0c32e821c203a6954498bea), [`bf60e4a`](https://github.com/mastra-ai/mastra/commit/bf60e4a89c515afd9570b7b79f33b95e7d07c397), [`d41aee5`](https://github.com/mastra-ai/mastra/commit/d41aee526d124e35f42720a08e64043229193679), [`e8fe13c`](https://github.com/mastra-ai/mastra/commit/e8fe13c4b4c255a42520127797ec394310f7c919), [`3ca833d`](https://github.com/mastra-ai/mastra/commit/3ca833dc994c38e3c9b4f9b4478a61cd8e07b32a), [`1edb8d1`](https://github.com/mastra-ai/mastra/commit/1edb8d1cfb963e72a12412990fb9170936c9904c), [`fbf6e32`](https://github.com/mastra-ai/mastra/commit/fbf6e324946332d0f5ed8930bf9d4d4479cefd7a), [`4753027`](https://github.com/mastra-ai/mastra/commit/4753027ee889288775c6958bdfeda03ff909af67)]:
253
- - @mastra/core@0.20.0
254
- - @mastra/deployer@0.20.0
255
- - @mastra/mcp@0.13.3
256
- - @mastra/loggers@0.10.15
257
-
258
- ## 0.14.0-alpha.0
259
-
260
- ### Minor Changes
261
-
262
- - Breaking change to move the agent.streamVNext/generateVNext implementation to the default stream/generate. The old stream/generate have now been moved to streamLegacy and generateLegacy ([#8097](https://github.com/mastra-ai/mastra/pull/8097))
263
-
264
- ### Patch Changes
265
-
266
- - Remove log drains UI from the playground ([#8379](https://github.com/mastra-ai/mastra/pull/8379))
267
-
268
- - add refetch interval to traces to make it feel "instant" ([#8386](https://github.com/mastra-ai/mastra/pull/8386))
269
-
270
- - better memory message ([#8382](https://github.com/mastra-ai/mastra/pull/8382))
271
-
272
- - Add doc url to netlify gateway ([#8356](https://github.com/mastra-ai/mastra/pull/8356))
273
-
274
- - fix codeblock line number color contrast for legacy traces ([#8385](https://github.com/mastra-ai/mastra/pull/8385))
275
-
276
- - Model router documentation and playground UI improvements ([#8372](https://github.com/mastra-ai/mastra/pull/8372))
277
-
278
- **Documentation generation (`@mastra/core`):**
279
- - Fixed inverted dynamic model selection logic in provider examples
280
- - Improved copy: replaced marketing language with action-oriented descriptions
281
- - Added generated file comments with timestamps to all MDX outputs so maintainers know not to directly edit generated files
282
-
283
- **Playground UI model picker (`@mastra/playground-ui`):**
284
- - Fixed provider field clearing when typing in model input
285
- - Added responsive layout (stacks on mobile, side-by-side on desktop)
286
- - Improved general styling of provider/model pickers
287
-
288
- **Environment variables (`@mastra/deployer`):**
289
- - Properly handle array of env vars (e.g., NETLIFY_TOKEN, NETLIFY_SITE_ID)
290
- - Added correct singular/plural handling for "environment variable(s)"
291
-
292
- - fix playground message history initial state for v1 models ([#8427](https://github.com/mastra-ai/mastra/pull/8427))
293
-
294
- - show thread list in desc order ([#8381](https://github.com/mastra-ai/mastra/pull/8381))
295
-
296
- - Fix an issue preventing showing working memory and semantic recall in the playground ([#8358](https://github.com/mastra-ai/mastra/pull/8358))
297
-
298
- - Fix shell option breaking server start on windows env ([#8377](https://github.com/mastra-ai/mastra/pull/8377))
299
-
300
- - Add observe strean to get streans after workflow has been interrupted ([#8318](https://github.com/mastra-ai/mastra/pull/8318))
301
301
 
302
- ... 6146 more lines hidden. See full changelog in package directory.
302
+ ... 6203 more lines hidden. See full changelog in package directory.
@@ -7,15 +7,15 @@
7
7
  },
8
8
  "dependencies": {
9
9
  "@ai-sdk/openai": "^1.3.23",
10
- "@mastra/core": "^0.20.2",
11
- "@mastra/libsql": "^0.15.1",
12
- "@mastra/loggers": "^0.10.15",
13
- "@mastra/memory": "^0.15.6",
10
+ "@mastra/core": "^0.21.0",
11
+ "@mastra/libsql": "^0.15.2",
12
+ "@mastra/loggers": "^0.10.16",
13
+ "@mastra/memory": "^0.15.7",
14
14
  "zod": "^3.25.76"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@types/node": "^24.3.0",
18
- "mastra": "^0.15.1",
18
+ "mastra": "^0.16.0",
19
19
  "typescript": "^5.9.2"
20
20
  }
21
21
  }
@@ -37,7 +37,7 @@ Mastra supports multiple storage providers. Popular options include:
37
37
  - [Cloudflare D1](../../reference/storage/cloudflare-d1.mdx)
38
38
 
39
39
  <Callout type="warning">
40
- `LibSQLStore` works well for local development and when deploying to [Mastra Cloud](../mastra-cloud/overview.mdx), but may not be supported by some [serverless platforms](../deployment/serverless-platforms/index.mdx) or [cloud providers](../deployment/cloud-providers/index.mdx).
40
+ `LibSQLStore` works well for local development and when deploying to [Mastra Cloud](../mastra-cloud/overview.mdx), but may not be supported by some [serverless platforms](../deployment/serverless-platforms) or [cloud providers](../deployment/cloud-providers).
41
41
  </Callout>
42
42
 
43
43
  ### Shared storage
@@ -65,7 +65,6 @@ const agentStep1 = createStep({
65
65
  text: z.string(),
66
66
  })
67
67
  },
68
- maxSteps: 1
69
68
  });
70
69
 
71
70
  return { text: resp.object.text };
@@ -88,7 +87,6 @@ const agentStep2 = createStep({
88
87
  text: z.string(),
89
88
  })
90
89
  },
91
- maxSteps: 1
92
90
  });
93
91
 
94
92
  return { text: resp.object.text };
@@ -251,12 +251,78 @@ const response = await testAgent.generate(
251
251
  keywords: z.array(z.string())
252
252
  })
253
253
  },
254
- maxSteps: 1
255
254
  }
256
255
  );
257
256
 
258
257
  console.log(response.object);
259
258
  ```
259
+
260
+ ### With Tool Calling
261
+
262
+ Use the `model` property to ensure that your agent can execute multi-step LLM calls with tool calling.
263
+
264
+ ```typescript showLineNumbers copy
265
+ import { z } from "zod";
266
+
267
+ const response = await testAgentWithTools.generate(
268
+ [
269
+ {
270
+ role: "system",
271
+ content: "Provide a summary and keywords for the following text:"
272
+ },
273
+ {
274
+ role: "user",
275
+ content: "Please use your test tool and let me know the results"
276
+ }
277
+ ],
278
+ {
279
+ structuredOutput: {
280
+ schema: z.object({
281
+ summary: z.string(),
282
+ keywords: z.array(z.string())
283
+ }),
284
+ model: "openai/gpt-4o"
285
+ },
286
+ }
287
+ );
288
+
289
+ console.log(response.object);
290
+ console.log(response.toolResults)
291
+ ```
292
+
293
+ ### Response format
294
+
295
+ By default `structuredOutput` will use `response_format` to pass the schema to the model provider. If the model provider does not natively support `response_format` it's possible that this will error or not give the desired results. To keep using the same model use `jsonPromptInjection` to bypass response format and inject a system prompt message to coerce the model to return structured output.
296
+
297
+ ```typescript showLineNumbers copy
298
+ import { z } from "zod";
299
+
300
+ const response = await testAgentThatDoesntSupportStructuredOutput.generate(
301
+ [
302
+ {
303
+ role: "system",
304
+ content: "Provide a summary and keywords for the following text:"
305
+ },
306
+ {
307
+ role: "user",
308
+ content: "Monkey, Ice Cream, Boat"
309
+ }
310
+ ],
311
+ {
312
+ structuredOutput: {
313
+ schema: z.object({
314
+ summary: z.string(),
315
+ keywords: z.array(z.string())
316
+ }),
317
+ jsonPromptInjection: true
318
+ },
319
+ }
320
+ );
321
+
322
+ console.log(response.object);
323
+ ```
324
+
325
+
260
326
  ## Working with images
261
327
 
262
328
  Agents can analyze and describe images by processing both the visual content and any text within them. To enable image analysis, pass an object with `type: 'image'` and the image URL in the `content` array. You can combine image content with text prompts to guide the agent's analysis.
@@ -91,5 +91,5 @@ export const weatherAgent = new Agent({
91
91
 
92
92
  - [Tools Overview](../tools-mcp/overview.mdx)
93
93
  - [Agent Memory](./agent-memory.mdx)
94
- - [Runtime Context](./runtime-context.mdx)
94
+ - [Runtime Context](../server-db/runtime-context.mdx)
95
95
  - [Calling Agents](../../examples/agents/calling-agents.mdx)