import requests
url = "http://localhost:3000/v1/integration/{integration_id}/tool-approval"
payload = { "tools": [
{
"tool_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"aprove_required": True
}
] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Update approval_required settings for tools in an integration.
Supports both HTTP and MCP tools.
import requests
url = "http://localhost:3000/v1/integration/{integration_id}/tool-approval"
payload = { "tools": [
{
"tool_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"aprove_required": True
}
] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Integration ID
Request to bulk update approval settings for tools.
Successful Response