We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d8014a commit 2f35b1fCopy full SHA for 2f35b1f
docs/quickstart/server.mdx
@@ -543,7 +543,7 @@ The tool execution handler is responsible for actually executing the logic of ea
543
```typescript
544
// Register weather tools
545
server.tool(
546
- "get-alerts",
+ "get_alerts",
547
"Get weather alerts for a state",
548
{
549
state: z.string().length(2).describe("Two-letter state code (e.g. CA, NY)"),
@@ -591,7 +591,7 @@ server.tool(
591
);
592
593
594
- "get-forecast",
+ "get_forecast",
595
"Get weather forecast for a location",
596
597
latitude: z.number().min(-90).max(90).describe("Latitude of the location"),
0 commit comments