tg-delete-tool

Removes agent tool configurations from TrustGraph.

Synopsis

tg-delete-tool --id ID [options]

Description

The tg-delete-tool command permanently deletes an agent tool configuration by ID. Once deleted, the tool will no longer be available for use by agents.

Note: This command deletes agent tools (stored in ‘tool’ configuration group). To remove MCP tool configurations, use tg-delete-mcp-tool instead.

Options

Required Arguments

Option Description
--id ID ID of the tool to delete (case-sensitive)

Optional Arguments

Option Default Description
-u, --api-url URL $TRUSTGRAPH_URL or http://localhost:8088/ TrustGraph API URL
-t, --token TOKEN $TRUSTGRAPH_TOKEN Authentication token

Examples

Delete Tool

tg-delete-tool --id weather

Delete From Remote Instance

tg-delete-tool -u http://trustgraph.example.com:8088/ --id calculator

Environment Variables

  • TRUSTGRAPH_URL: Default API URL
  • TRUSTGRAPH_TOKEN: Default authentication token

API Integration

This command uses the Tool Configuration API to delete agent tool definitions from the ‘tool’ configuration group.