Skip to content
  • Auto
  • Light
  • Dark
DiscordForumGitHubSign up
View as Markdown
Copy Markdown

Open in Claude
Open in ChatGPT

Delete Tool

client.tools.delete(stringtoolID, RequestOptionsoptions?): ToolDeleteResponse
delete/v1/tools/{tool_id}

Delete a tool by name

ParametersExpand Collapse
toolID: string

The ID of the tool in the format 'tool-'

minLength41
maxLength41
ReturnsExpand Collapse
ToolDeleteResponse = unknown
Delete Tool
import Letta from '@letta-ai/letta-client';

const client = new Letta({
  apiKey: 'My API Key',
});

const tool = await client.tools.delete('tool-123e4567-e89b-42d3-8456-426614174000');

console.log(tool);
{}
Returns Examples
{}