---
title: "Get assistant tool by ID"
method: GET
path: "/assistantTool/{tool_id}"
tags: ["Assistant Tools"]
---

# Get assistant tool by ID

`GET /assistantTool/{tool_id}`

Retrieve detailed information about a specific assistant tool

## Path parameters

- `tool_id` string, required

## Response `200`

Successful operation

- GetToolResponse
  - `tool` ToolDetail
    - `_id` string
    - `name` string
    - `icon_url` string
    - `definition` string — JSON string containing the tool definition with parameters and schema
    - `function` string — JavaScript code that executes the tool's logic
    - `user_id` string
    - `type` string
    - `createdAt` string, date-time
    - `updatedAt` string, date-time
    - `__v` integer

## Other responses

- `400` — Invalid ID supplied
- `401` — Unauthorized
- `404` — Tool not found

---

[API](https://skmtc.net/smartly/apis/smartly-ai-apis.md) · [All operations](https://skmtc.net/smartly/apis/smartly-ai-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/smartly/smartly-ai-apis/revisions/1e26909d86c9/schema)
