Skip to content
Sign up

Delete Tool

tools.delete(strtool_id) -> object
delete/v1/tools/{tool_id}

Delete a tool by name

ParametersExpand Collapse
tool_id: str

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

minLength41
maxLength41
ReturnsExpand Collapse
object
Delete Tool
import os
from letta_client import Letta

client = Letta(
    api_key=os.environ.get("LETTA_API_KEY"),  # This is the default and can be omitted
)
tool = client.tools.delete(
    "tool-123e4567-e89b-42d3-8456-426614174000",
)
print(tool)
{}
Returns Examples
{}