Archive a tool set
Retire a tool set without deleting it. Reversible, and allowed even while agents still assign it.
200.
Archive works while assigned. Delete does not.
This is the reason archive exists. A tool set assigned to a variation refuses to delete with a400. Archiving the same set succeeds:
The assignment survives
Archiving does not remove the variation assignment. It decouples the tools from running objectives while the set is archived, andunarchive restores it whole. Verified: a set assigned to a variation, archived, then unarchived, is still assigned to that variation afterward.
Finding archived sets
The default list shows onlySTATE_ACTIVE sets. An archived one appears only when you ask:
Related
Delete a tool set
List tool sets
?state=STATE_ARCHIVED to see what you retired.Create a tool set
Add an assignment
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"
Body
Archive tool set request
Response
OK
Standard metadata for persistent, named resources (e.g., agents, tools, prompts)
The current lifecycle state of the tool set. Output only. Tool sets are created STATE_ACTIVE; use the :archive and :unarchive actions to transition between states.
STATE_UNSPECIFIED, STATE_ACTIVE, STATE_ARCHIVED Tool set information