Skip to content

Commit e95f39e

Browse files
Will-hxwclaude
andcommitted
fix(everything): add allowed values to resourceType description
The resourceType argument in the resource-prompt was missing a description of allowed values. Added "must be 'Text' or 'Blob'" to help automated callers understand the expected input format. Issue: #3985 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 4503e2d commit e95f39e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/everything/resources/templates.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const RESOURCE_TYPES: string[] = [
2525
* The completion logic matches the input against available resource types.
2626
*/
2727
export const resourceTypeCompleter = completable(
28-
z.string().describe("Type of resource to fetch"),
28+
z.string().describe("Type of resource — must be 'Text' or 'Blob'"),
2929
(value: string) => {
3030
return RESOURCE_TYPES.filter((t) => t.startsWith(value));
3131
}

0 commit comments

Comments
 (0)