Add Hidden to ToolDesc for reserved tool capabilities #10

Merged
weichen merged 1 commits from feature/file-preview-caps into main 2026-09-30 17:20:20 +00:00
Owner

What

ToolDesc gains Hidden (json omitempty): registries can mark reserved-capability tools (the fs family) that stay invisible to models and tool listings until a runtime gate opens them.

Verification

go test ./... green; no golden samples carry the field. Rebased onto cardflow core (6bdc4f2).

Refs: task feature/file-preview-caps.

## What ToolDesc gains `Hidden` (json omitempty): registries can mark reserved-capability tools (the fs family) that stay invisible to models and tool listings until a runtime gate opens them. ## Verification go test ./... green; no golden samples carry the field. Rebased onto cardflow core (6bdc4f2). Refs: task feature/file-preview-caps.
weichen added 1 commit 2026-09-30 17:20:03 +00:00
Why: the fs tool family (proposal 2026-09-30-file-preview-and-reserved-
capabilities) is implemented but must stay invisible to models and tool
listings until a runtime gate opens it.

Evidence: new bool field with json omitempty; no golden samples carry it;
go test ./... green.

Impact: registries can mark gated tools; servers and runners filter on
it (backend PR in the same task).

Refs: task feature/file-preview-caps.
weichen merged commit 90b57477bb into main 2026-09-30 17:20:20 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Core#10