Skip to content

Commit fc442c4

Browse files
authored
fix(docs): Fix the tool name mentioned in (Mastra) tool-based document (CopilotKit#1847)
1 parent 1cd5a8a commit fc442c4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/content/docs/mastra/generative-ui/tool-based.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export const weatherAgent = new Agent({
8989
</Step>
9090
<Step>
9191
### Render the tool call in your frontend
92-
At this point, your agent will be able to call the `get_weather` tool. Now
92+
At this point, your agent will be able to call the `weatherInfo` tool. Now
9393
we just need to add a `useCopilotAction` hook to render the tool call in
9494
the UI.
9595

@@ -130,4 +130,4 @@ Try asking the agent to get the weather for a location. You should see the custo
130130
render the tool call and display the arguments that were passed to the tool.
131131

132132
</Step>
133-
</Steps>
133+
</Steps>

0 commit comments

Comments
 (0)