Skip to main content
GET
/
tools
/
{tool_name}
Python
import os
from datagrid_ai import Datagrid

client = Datagrid(
    api_key=os.environ.get("DATAGRID_API_KEY"),  # This is the default and can be omitted
)
tool_def = client.tools.retrieve(
    "string",
)
print(tool_def.description)
{
  "object": "tool",
  "name": "<string>",
  "label": "<string>",
  "description": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://developers.datagrid.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

tool_name
string
required

The name of the tool to retrieve. The unique identifier for a tool.

Response

Retrieved tool

The Tool object represents a tool that can be used by agents.

object
enum<string>
required

The object type, which is always tool.

Available options:
tool
name
string
required

The unique identifier name used to reference the tool.

label
string
required

The display name of the tool.

description
string
required

A detailed description of what the tool does.