List agent tools and MCP servers for a chat setting
curl --request GET \
--url https://paradigm.lighton.ai/api/v3/agent/chat_settings/{id}/tools \
--header 'Authorization: Bearer <token>'import requests
url = "https://paradigm.lighton.ai/api/v3/agent/chat_settings/{id}/tools"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://paradigm.lighton.ai/api/v3/agent/chat_settings/{id}/tools', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"native": [
{
"id": "<string>",
"name": "<string>",
"type": "native",
"object": "tool",
"mcp_server_name": "<string>",
"require_document": true,
"accepted_file_types": [
"<string>"
]
}
],
"mcp_servers": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"authentication_method": "<string>",
"has_credentials": true,
"enabled": true,
"availability_scope": "<string>",
"is_global": true,
"object": "mcp_server",
"url": "<string>",
"company_id": 123,
"group_id": 123
}
]
}"<unknown>"{
"detail": "System is under maintenance.",
"error": "service_maintenance",
"mode": "full_shutdown",
"reason": "<string>",
"started_at": "2023-11-07T05:31:56Z",
"endpoint_category_names": [
"<string>"
]
}Agent
List agent tools and MCP servers for a chat setting
deprecated
Get available native tools and MCP servers with their tools for a given chat setting ID.
DEPRECATION WARNING: chat_settings are now becoming agents, please use the agents endpoint.
GET
/
api
/
v3
/
agent
/
chat_settings
/
{id}
/
tools
List agent tools and MCP servers for a chat setting
curl --request GET \
--url https://paradigm.lighton.ai/api/v3/agent/chat_settings/{id}/tools \
--header 'Authorization: Bearer <token>'import requests
url = "https://paradigm.lighton.ai/api/v3/agent/chat_settings/{id}/tools"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://paradigm.lighton.ai/api/v3/agent/chat_settings/{id}/tools', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"native": [
{
"id": "<string>",
"name": "<string>",
"type": "native",
"object": "tool",
"mcp_server_name": "<string>",
"require_document": true,
"accepted_file_types": [
"<string>"
]
}
],
"mcp_servers": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"authentication_method": "<string>",
"has_credentials": true,
"enabled": true,
"availability_scope": "<string>",
"is_global": true,
"object": "mcp_server",
"url": "<string>",
"company_id": 123,
"group_id": 123
}
]
}"<unknown>"{
"detail": "System is under maintenance.",
"error": "service_maintenance",
"mode": "full_shutdown",
"reason": "<string>",
"started_at": "2023-11-07T05:31:56Z",
"endpoint_category_names": [
"<string>"
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
ID of the chat setting to fetch tools for