You're viewing a demo portfolio

Join the waitlist
PRSM

integrations_add_endpoints

Active

Tool of io.github.saloprj/dialogbrain

declared in 1.17.0

Add one or more API endpoints to an HTTP-API integration as callable tools, merged additively into the integration for `base_url` (created if none exists). Each endpoint becomes a tool with params + request/response schemas inferred from the samples you pass. When CREATING a new integration, provide auth: either `identity` (saved Browser Identity name/id) for cookie-session APIs, OR an `auth` block for token/header APIs, e.g. {type:'bearer', token:'...'} or {type:'api_key', token:'...', header_name:'X-API-Key'}. Updates keep the existing auth unless a new `auth` is passed. Returns the new tool count and names. Refresh the tools list afterwards to use them.

Parameters schema

{
  "type": "object",
  "required": [
    "base_url",
    "endpoints"
  ],
  "properties": {
    "auth": {
      "type": "object",
      "description": "Auth block for a NEW token/header integration (or to change auth on update): {type: none|bearer|api_key|basic|custom_headers, ...}. bearer/basic → {token}; api_key → {token, header_name?}; custom_headers → {headers:{name:value,...}}. Token values are encrypted. Omit for browser_identity (use `identity`) or to keep existing auth."
    },
    "name": {
      "type": "string",
      "description": "Display name when creating a new integration. OMIT to default to the host."
    },
    "extract": {
      "type": "object",
      "description": "Explicit browser_identity auth extract for a NEW integration when auto-detect can't find one, e.g. {kind:'cookie', name:'_session', value_format:'raw', header_name:'Cookie', header_template:'{{name}}={{value}}'}. Updates reuse existing auth, so omit then."
    },
    "base_url": {
      "type": "string",
      "description": "API base URL of the integration, e.g. https://api.boomnow.com"
    },
    "identity": {
      "type": "string",
      "description": "Saved Browser Identity name or numeric id — one way to auth a NEW cookie-session integration (updates reuse existing auth). For token/header APIs use `auth` instead."
    },
    "endpoints": {
      "type": "array",
      "items": {
        "type": "object"
      },
      "description": "Endpoints to add. Each: {method, path, query?(object), request_body?(object sample), response_body?(object/array sample)}. path is relative to base_url, e.g. /api/conversations/all."
    }
  }
}

What this tool wraps· 2 endpoints

min confidence0.700.50

Parent server

io.github.saloprj/dialogbrain

https://github.com/saloprj/dialogbrain-mcp

1/7 registries
View full server →