curl -X GET https://api.thinnest.ai/v2/tools/{agent_id}/{tool_id} \
-H "Authorization: Bearer $THINNESTAI_API_KEY"
import requests
url = "https://api.thinnest.ai/v2/tools/{agent_id}/{tool_id}"
headers = {
"Authorization": "Bearer " + "YOUR_THINNESTAI_API_KEY",
}
response = requests.get(url, headers=headers)
print(response.json())
const response = await fetch("https://api.thinnest.ai/v2/tools/{agent_id}/{tool_id}", {
method: "GET",
headers: {
"Authorization": "Bearer " + "YOUR_THINNESTAI_API_KEY",
},
});
const data = await response.json();
console.log(data);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://api.thinnest.ai/v2/tools/{agent_id}/{tool_id}", nil)
req.Header.Set("Authorization", "Bearer YOUR_THINNESTAI_API_KEY")
resp, err := http.DefaultClient.Do(req)
if err != nil { panic(err) }
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}
GET /v2/tools/{tool_id}
Response
{
"id": "tool_abc123",
"name": "check_inventory",
"type": "function",
"description": "Check product inventory levels",
"parameters": {
"type": "object",
"properties": {
"product_id": {"type": "string"}
}
},
"endpoint_url": "https://api.example.com/inventory",
"method": "GET",
"created_at": "2026-03-25T10:00:00Z",
"updated_at": "2026-03-25T10:00:00Z"
}

