import requests
url = "https://api.diga.io/v1/integration/{integration_id}/tool"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"headers": {},
"method": "GET",
"type": "HTTP",
"description": "<string>",
"endpoint_path": "<string>",
"query": [],
"body": [],
"timeout": 5,
"approval_required": false
}
],
"has_more": true,
"first_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"last_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"current_page": 123,
"total_pages": 123
}List all tools from an integration. For MCP: fetches from MCP server with name-based cursors. For HTTP: returns tools from database with UUID cursors. Automatically syncs MCP tools.
import requests
url = "https://api.diga.io/v1/integration/{integration_id}/tool"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"headers": {},
"method": "GET",
"type": "HTTP",
"description": "<string>",
"endpoint_path": "<string>",
"query": [],
"body": [],
"timeout": 5,
"approval_required": false
}
],
"has_more": true,
"first_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"last_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"current_page": 123,
"total_pages": 123
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Integration ID
x >= 11 <= x <= 100asc, desc Successful Response