delete env tool
delete_env_toolRevoke an agent tool registration to withdraw consent and prevent training environments from calling its endpoint. Supply the tool registration ID; an audit event is recorded on deletion.
Instructions
Revokes a declared agent tool registration (consent withdrawal) so training environments can no longer call that endpoint. DELETE /v1/env/tools/{id} (API-key scope: platform:write). Returns: { ok: true } on success. Notes: Gated behind the fineTuning feature flag (404 'Fine-tuning is not enabled' when off). Requires an OWNER/ADMIN minting user (403). 404 'Tool not found' when the id is not in the workspace. Hard delete; writes an audit event.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Tool registration id (from GET /v1/env/tools; must belong to the key's workspace). |