For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
    • Welcome
  • API Reference
      • GETListar Herramientas
      • POSTCrear Herramienta
      • GETObtener Herramienta
      • DELEliminar Herramienta
      • PATCHActualizar Herramienta
Logo
API ReferenceTools

Obtener Herramienta

GET
https://nebrijaai.com/api/v1/tools/:id
GET
/api/v1/tools/:id
$curl https://nebrijaai.com/api/v1/tools/id \
> -H "Authorization: Bearer <token>" \
> -H "Content-Type: application/json"
1{
2 "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
3 "name": "Weather API Connector",
4 "type": "httpRequest",
5 "description": "Tool to fetch current weather data from external API.",
6 "config": {
7 "endpoint": "https://api.weather.com/v3/wx/conditions/current",
8 "method": "GET",
9 "headers": {
10 "Authorization": "Bearer abcdef1234567890"
11 },
12 "queryParams": {
13 "language": "en-US",
14 "format": "json"
15 }
16 },
17 "payloadSchema": {
18 "type": "object",
19 "properties": {
20 "location": {
21 "type": "string",
22 "description": "Location to get weather for"
23 }
24 },
25 "required": [
26 "location"
27 ]
28 },
29 "messages": {
30 "success": "Weather data retrieved successfully.",
31 "error": "Failed to fetch weather data."
32 },
33 "isLocked": true,
34 "createdAt": "2024-01-15T09:30:00Z",
35 "updatedAt": "2024-01-15T09:30:00Z"
36}
Was this page helpful?
Previous

Eliminar Herramienta

Next
Built with

Authentication

AuthorizationBearer

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

Path parameters

idstringRequiredformat: "uuid"

Response

Detalles de la herramienta.
idstringformat: "uuid"
namestring
typeenum
Allowed values:
descriptionstring
configobject
payloadSchemaobject
messagesobject
isLockedboolean
createdAtdatetime
updatedAtdatetime

Errors

404
Not Found Error