Omit a tool
Hide a tool from your agents without deleting it. For hand-authored tool sets. Synced sets curate with filters.
:omit takes a tool out of circulation without deleting it. It moves to STATE_OMITTED, no agent sees it, and :restore brings it back.
GenerateFake omitted reports exactly this:
:omit and :restore are idempotent and return 200.
Which mechanism, by tool set kind
Curation depends on where the tools come from.:omit is the natural switch.
For a synced tool set, the source is the authority. The adapter re-runs on every sync, so the durable way to hide a tool is a filter that the sync reapplies, not a one-time state change the sync discards.
Curate a synced set with a filter
AnexcludeTools filter is reapplied on every sync, so it holds. Measured across three syncs, the excluded tool stayed STATE_OMITTED every time, while a manually omitted one flipped back on the first.
ATTRIBUTE_NAME, ATTRIBUTE_TITLE, or ATTRIBUTE_DESCRIPTION, with a matcher whose type is exact, contains, startsWith, endsWith, or regex. includeTools is the allowlist form: sync only the tools that match, and drop the rest.
Related
Restore a tool
STATE_AVAILABLE.Create a tool set
excludeTools and includeTools, the filters that survive a sync.List tools
Deny a tool call
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Workspace ID.
"workspace_01HXKD2E5NQM3T9AYWCF133E3Q"
Tool set ID. Accepts the canonical ts_… form or the external_id: form.
"toolset_01HXKD2E5NQM3T9AYWCFNRMN74"
Tool ID. Accepts the canonical tool_… form or the external_id: form.
"tool_01HXKD2E5NQM3T9AYWCFWVYY9K"
Body
Omit tool request
Response
OK
Standard metadata for persistent, named resources (e.g., agents, tools, prompts)
The current lifecycle state of the tool. Output only. Use the :omit and :restore actions to transition; tool set syncs may also update it.
STATE_UNSPECIFIED, STATE_AVAILABLE, STATE_OMITTED, STATE_ARCHIVED