Skip to content

Commit 86c99b7

Browse files
committed
Ensure it provides a workerId
1 parent 07cedc0 commit 86c99b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/workers-builds/src/tools/workers-builds.tools.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ export function registerBuildsTools(agent: BuildsMCP) {
4141
'workers_builds_list_builds',
4242
fmt.trim(`
4343
Use the Workers Builds API to list builds for a Cloudflare Worker.
44-
If no workerId is provided, the active worker (set by workers_builds_set_active_worker) will be used.
44+
45+
MUST provide a workerId or call workers_builds_set_active_worker first.
4546
`),
4647
{
4748
workerId: z.string().optional().describe('The Worker ID to list builds for.'),

0 commit comments

Comments
 (0)