Address PR #1229 code review feedback
- ToolsScreen.fixtures.ts: replace empty `{}` schemas in query_database
params and post_request body with explicit `type` for consistency
- ToolControls WithSearch story: add play function that types "git" so
the story actually demonstrates filtering
- ResourcesScreen stories: comment expandUserProfileTemplate to document
the userId/readUserProfileState.uri coupling
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
d5559b4ea6
commit
17d8532396
1 changed files with 13 additions and 3 deletions
|
|
@ -103,7 +103,7 @@ export const longToolList: Tool[] = [
|
|||
params: {
|
||||
type: "array",
|
||||
description: "Positional bind parameters",
|
||||
items: {},
|
||||
items: { type: "string" },
|
||||
},
|
||||
limit: { type: "number" },
|
||||
},
|
||||
|
|
@ -269,7 +269,7 @@ export const longToolList: Tool[] = [
|
|||
type: "object",
|
||||
properties: {
|
||||
url: { type: "string" },
|
||||
body: {},
|
||||
body: { type: "object", description: "JSON request body" },
|
||||
headers: { type: "object" },
|
||||
},
|
||||
required: ["url", "body"],
|
||||
|
|
|
|||
Loading…
Reference in a new issue