LangChain Tools API
The tools API from LangChain — 3 operation(s) for tools.
The tools API from LangChain — 3 operation(s) for tools.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/langchain:langchain-tools-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: LangSmith Tools API
description: 'The LangSmith API is used to programmatically create and manage LangSmith resources.
## Host
https://api.smith.langchain.com
## Authentication
To authenticate with the LangSmith API, set the `X-Api-Key` header
to a valid LangSmith API key.'
version: 0.1.0
servers:
- url: /
tags:
- name: Tools
paths:
/v1/platform/tools:
get:
security:
- API Key: []
- Tenant ID: []
- Bearer Auth: []
description: Returns a paginated list of tools in the workspace.
tags:
- Tools
summary: List tools
parameters:
- description: Maximum number of tools to return
name: limit
in: query
schema:
type: integer
title: Limit
- description: Number of tools to skip
name: offset
in: query
schema:
type: integer
title: Offset
- description: Search query to filter tools by name or description
name: query
in: query
schema:
type: string
title: Query
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/tools.ListToolsResponse'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/tools.ErrorResponse'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/tools.ErrorResponse'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/tools.ErrorResponse'
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/tools.ErrorResponse'
operationId: getV1PlatformTools
x-operation-id-source: derived
post:
security:
- API Key: []
- Tenant ID: []
- Bearer Auth: []
description: Creates a new tool in the workspace.
tags:
- Tools
summary: Create a tool
parameters: []
responses:
'201':
description: Created
content:
application/json:
schema:
$ref: '#/components/schemas/tools.Tool'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/tools.ErrorResponse'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/tools.ErrorResponse'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/tools.ErrorResponse'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/tools.ErrorResponse'
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/tools.ErrorResponse'
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/tools.CreateToolPayload'
operationId: postV1PlatformTools
x-operation-id-source: derived
/v1/platform/tools/id/{id}:
get:
security:
- API Key: []
- Tenant ID: []
- Bearer Auth: []
description: Returns a tool identified by its UUID.
tags:
- Tools
summary: Get a tool by ID
parameters:
- description: Tool UUID
name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/tools.Tool'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/tools.ErrorResponse'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/tools.ErrorResponse'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/tools.ErrorResponse'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/tools.ErrorResponse'
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/tools.ErrorResponse'
operationId: getV1PlatformToolsIdById
x-operation-id-source: derived
delete:
security:
- API Key: []
- Tenant ID: []
- Bearer Auth: []
description: Deletes a tool identified by its UUID.
tags:
- Tools
summary: Delete a tool by ID
parameters:
- description: Tool UUID
name: id
in: path
required: true
schema:
type: string
responses:
'204':
description: No Content
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/tools.ErrorResponse'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/tools.ErrorResponse'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/tools.ErrorResponse'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/tools.ErrorResponse'
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/tools.ErrorResponse'
operationId: deleteV1PlatformToolsIdById
x-operation-id-source: derived
patch:
security:
- API Key: []
- Tenant ID: []
- Bearer Auth: []
description: Updates an existing tool identified by its UUID.
tags:
- Tools
summary: Update a tool by ID
parameters:
- description: Tool UUID
name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/tools.Tool'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/tools.ErrorResponse'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/tools.ErrorResponse'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/tools.ErrorResponse'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/tools.ErrorResponse'
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/tools.ErrorResponse'
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/tools.UpdateToolPayload'
operationId: patchV1PlatformToolsIdById
x-operation-id-source: derived
/v1/platform/tools/{handle}:
get:
security:
- API Key: []
- Tenant ID: []
- Bearer Auth: []
description: Returns a tool identified by its handle.
tags:
- Tools
summary: Get a tool by handle
parameters:
- description: Tool handle
name: handle
in: path
required: true
schema:
type: string
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/tools.Tool'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/tools.ErrorResponse'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/tools.ErrorResponse'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/tools.ErrorResponse'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/tools.ErrorResponse'
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/tools.ErrorResponse'
operationId: getV1PlatformToolsByHandle
x-operation-id-source: derived
delete:
security:
- API Key: []
- Tenant ID: []
- Bearer Auth: []
description: Deletes a tool identified by its handle.
tags:
- Tools
summary: Delete a tool by handle
parameters:
- description: Tool handle
name: handle
in: path
required: true
schema:
type: string
responses:
'204':
description: No Content
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/tools.ErrorResponse'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/tools.ErrorResponse'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/tools.ErrorResponse'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/tools.ErrorResponse'
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/tools.ErrorResponse'
operationId: deleteV1PlatformToolsByHandle
x-operation-id-source: derived
patch:
security:
- API Key: []
- Tenant ID: []
- Bearer Auth: []
description: Updates an existing tool identified by its handle.
tags:
- Tools
summary: Update a tool by handle
parameters:
- description: Tool handle
name: handle
in: path
required: true
schema:
type: string
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/tools.Tool'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/tools.ErrorResponse'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/tools.ErrorResponse'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/tools.ErrorResponse'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/tools.ErrorResponse'
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/tools.ErrorResponse'
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/tools.UpdateToolPayload'
operationId: patchV1PlatformToolsByHandle
x-operation-id-source: derived
components:
schemas:
tools.CreateToolPayload:
type: object
required:
- description
- handle
- name
- parameters
properties:
description:
type: string
enabled:
type: boolean
handle:
type: string
metadata:
type: object
additionalProperties: true
name:
type: string
parameters:
type: object
additionalProperties: true
returns:
type: object
additionalProperties: true
tools.ErrorResponse:
type: object
properties:
error:
description: Error message
type: string
tools.UpdateToolPayload:
type: object
properties:
description:
type: string
enabled:
type: boolean
metadata:
type: object
additionalProperties: true
name:
type: string
parameters:
type: object
additionalProperties: true
returns:
type: object
additionalProperties: true
tools.Tool:
type: object
properties:
created_at:
type: string
description:
type: string
enabled:
type: boolean
handle:
type: string
id:
type: string
metadata:
type: object
additionalProperties: true
name:
type: string
parameters:
type: object
additionalProperties: true
returns:
type: object
additionalProperties: true
tenant_id:
type: string
updated_at:
type: string
tools.ListToolsResponse:
type: object
properties:
next_offset:
type: integer
tools:
type: array
items:
$ref: '#/components/schemas/tools.Tool'
total:
type: integer
securitySchemes:
API_Key:
type: apiKey
in: header
name: X-API-Key
Tenant_ID:
type: apiKey
in: header
name: X-Tenant-Id
Bearer_Auth:
type: http
description: Bearer tokens are used to authenticate from the UI. Must also specify x-tenant-id or x-organization-id (for org scoped apis).
scheme: bearer
Organization_ID:
type: apiKey
in: header
name: X-Organization-Id