drio
Technical OverviewAPI Reference

Tools

Intent-level tool creation and runtime visibility.

GET
/api/v3/apps/{app_id}/tools

Authorization

oauth openid, profile, email
AuthorizationBearer <token>

In: header

Scope: openid, profile, email

Path Parameters

app_id*string

Query Parameters

cursor?string
limit?integer
Default50
Range1 <= value <= 100
query?string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://mcp.getdrio.com/api/v3/apps/string/tools"
{
  "items": [
    {
      "id": "string",
      "app_id": "string",
      "key": "string",
      "name": "string",
      "description": "string",
      "enabled": true,
      "order": 0,
      "annotations": {
        "title": "string",
        "read_only_hint": true,
        "destructive_hint": true,
        "idempotent_hint": true,
        "open_world_hint": true
      },
      "source": {
        "type": "integration_operation",
        "integration_id": "string",
        "operation_id": "string"
      },
      "runtime_status": {
        "state": "exposed",
        "reason": "string"
      },
      "widget_id": "string"
    }
  ],
  "next_cursor": "string"
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": null,
    "request_id": "266ea41d-adf5-480b-af50-15b940c2b846"
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": null,
    "request_id": "266ea41d-adf5-480b-af50-15b940c2b846"
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": null,
    "request_id": "266ea41d-adf5-480b-af50-15b940c2b846"
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": null,
    "request_id": "266ea41d-adf5-480b-af50-15b940c2b846"
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": null,
    "request_id": "266ea41d-adf5-480b-af50-15b940c2b846"
  }
}
POST
/api/v3/apps/{app_id}/tools

Authorization

oauth openid, profile, email
AuthorizationBearer <token>

In: header

Scope: openid, profile, email

Path Parameters

app_id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://mcp.getdrio.com/api/v3/apps/string/tools" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "description": "string",    "source": {      "type": "integration_operation",      "integration_id": "string",      "operation_id": "string"    }  }'
{
  "tool": {
    "id": "string",
    "app_id": "string",
    "key": "string",
    "name": "string",
    "description": "string",
    "enabled": true,
    "order": 0,
    "annotations": {
      "title": "string",
      "read_only_hint": true,
      "destructive_hint": true,
      "idempotent_hint": true,
      "open_world_hint": true
    },
    "source": {
      "type": "integration_operation",
      "integration_id": "string",
      "operation_id": "string"
    },
    "runtime_status": {
      "state": "exposed",
      "reason": "string"
    },
    "widget_id": "string"
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": null,
    "request_id": "266ea41d-adf5-480b-af50-15b940c2b846"
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": null,
    "request_id": "266ea41d-adf5-480b-af50-15b940c2b846"
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": null,
    "request_id": "266ea41d-adf5-480b-af50-15b940c2b846"
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": null,
    "request_id": "266ea41d-adf5-480b-af50-15b940c2b846"
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": null,
    "request_id": "266ea41d-adf5-480b-af50-15b940c2b846"
  }
}