AgentDBDocs

Integrations

Connectors to outside systems: sync, send, inbound events.

Start with: connectors_types, connectors_create, connectors_sync, connectors_send.

12 operations. Discover them from an agent with agentdb_capabilities {"category": "integrations"}.

#connectors.inbound

experimental

Receive a signed inbound event for a connector (no API key)

Experimental: may change before 2.0.

REST
POST /v1/inbound/{ws}/{connector} no authentication
ParameterInTypeRequiredDescription
wspathstringyesstring
connectorpathstringyesstring

Example

REST
curl -s -X POST "https://app.agentdb.link/v1/inbound/$AGENTDB_WORKSPACE/<connector>"

#connectors_create

experimental added in 1.0.0-rc.6 changes data

Configure a connector (owners/admins). credentials are stored encrypted and never shown again (only their field names). inbound=true returns a signing secret ONCE for POST /v1/inbound/<workspace>/<connector>. External actions need allowed_actions and an outbound_webhook_id. Schedule syncs with jobs_create {action: {type: connector_sync, connector_id}}. Experimental: may change before 2.0.

Experimental: may change before 2.0. No real provider is built in yet (noop and the mock only); the connector contract may change with the first one.

MCP tool
connectors_create
REST
POST /v1/workspaces/{ws}/connectors scope records:write
CLI
agentdb connectors create

Arguments

ArgumentTypeRequiredDescription
namestringyesstring, 1–100 characters
typestringyesstring, up to 64 characters
configobjectobject, default {}
credentialsobjectobject
inboundbooleanboolean, default false
outbound_webhook_idstringstring, up to 64 characters
allowed_actionsstring[]string[], up to 20 items, default []
idempotency_keystringOptional retry key ([A-Za-z0-9._:-], max 255). Repeating a call with the same key and arguments returns the original result without writing again.
workspacestringWorkspace id (preferred), slug or exact name. Omit for the default workspace. Resolve names once with workspace_select.

Example

MCP
{
  "tool": "connectors_create",
  "arguments": {
    "name": "No-op test",
    "type": "noop"
  }
}
MCP via agentdb_execute
{
  "tool": "agentdb_execute",
  "arguments": {
    "operation": "connectors_create",
    "arguments": {
      "name": "No-op test",
      "type": "noop"
    }
  }
}
REST
curl -s -X POST "https://app.agentdb.link/v1/workspaces/$AGENTDB_WORKSPACE/connectors" \
  -H "Authorization: Bearer $AGENTDB_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name":"No-op test","type":"noop"}'
CLI
agentdb connectors create [options]

#connectors_delete

experimental added in 1.0.0-rc.6 changes data destructive

Delete a connector. Also its runs, inbound events and sync jobs. Experimental: may change before 2.0.

Experimental: may change before 2.0. No real provider is built in yet (noop and the mock only); the connector contract may change with the first one.

MCP tool
connectors_delete
REST
DELETE /v1/workspaces/{ws}/connectors/{connector} scope records:write
CLI
agentdb connectors delete

Arguments

ArgumentTypeRequiredDescription
connector_idstringyesConnector id (con_...)
idempotency_keystringOptional retry key ([A-Za-z0-9._:-], max 255). Repeating a call with the same key and arguments returns the original result without writing again.
workspacestringWorkspace id (preferred), slug or exact name. Omit for the default workspace. Resolve names once with workspace_select.

Example

MCP
{
  "tool": "connectors_delete",
  "arguments": {
    "connector_id": "con_example"
  }
}
MCP via agentdb_execute
{
  "tool": "agentdb_execute",
  "arguments": {
    "operation": "connectors_delete",
    "arguments": {
      "connector_id": "con_example"
    }
  }
}
REST
curl -s -X DELETE "https://app.agentdb.link/v1/workspaces/$AGENTDB_WORKSPACE/connectors/con_example" \
  -H "Authorization: Bearer $AGENTDB_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'
CLI
agentdb connectors delete [options] <connector_id>

#connectors_get

experimental added in 1.0.0-rc.6 read-only

One connector. Experimental: may change before 2.0.

Experimental: may change before 2.0. No real provider is built in yet (noop and the mock only); the connector contract may change with the first one.

MCP tool
connectors_get
REST
GET /v1/workspaces/{ws}/connectors/{connector} scope records:read
CLI
agentdb connectors get

Arguments

ArgumentTypeRequiredDescription
connector_idstringyesConnector id (con_...)
workspacestringWorkspace id (preferred), slug or exact name. Omit for the default workspace. Resolve names once with workspace_select.

Example

MCP
{
  "tool": "connectors_get",
  "arguments": {
    "connector_id": "con_example"
  }
}
MCP via agentdb_execute
{
  "tool": "agentdb_execute",
  "arguments": {
    "operation": "connectors_get",
    "arguments": {
      "connector_id": "con_example"
    }
  }
}
REST
curl -s "https://app.agentdb.link/v1/workspaces/$AGENTDB_WORKSPACE/connectors/con_example" \
  -H "Authorization: Bearer $AGENTDB_TOKEN"
CLI
agentdb connectors get [options] <connector_id>

#connectors_inbound_events

experimental added in 1.0.0-rc.6 read-only

Verified inbound events. Newest first; status received | processed | failed. Experimental: may change before 2.0.

Experimental: may change before 2.0. No real provider is built in yet (noop and the mock only); the connector contract may change with the first one.

MCP tool
connectors_inbound_events
REST
GET /v1/workspaces/{ws}/connector-inbound-events scope records:read
CLI
agentdb connectors inbound-events

Arguments

ArgumentTypeRequiredDescription
connector_idstringstring, up to 64 characters
limitintegerinteger, 1–100, default 50
cursorintegerinteger, at least 1
workspacestringWorkspace id (preferred), slug or exact name. Omit for the default workspace. Resolve names once with workspace_select.

Example

MCP
{
  "tool": "connectors_inbound_events",
  "arguments": {
    "connector_id": "con_example",
    "limit": 10
  }
}
MCP via agentdb_execute
{
  "tool": "agentdb_execute",
  "arguments": {
    "operation": "connectors_inbound_events",
    "arguments": {
      "connector_id": "con_example",
      "limit": 10
    }
  }
}
REST
curl -s "https://app.agentdb.link/v1/workspaces/$AGENTDB_WORKSPACE/connector-inbound-events" \
  -H "Authorization: Bearer $AGENTDB_TOKEN"
CLI
agentdb connectors inbound-events [options]

#connectors_list

experimental added in 1.0.0-rc.6 read-only

List connectors. Status, last run, sync jobs; never credentials. Experimental: may change before 2.0.

Experimental: may change before 2.0. No real provider is built in yet (noop and the mock only); the connector contract may change with the first one.

MCP tool
connectors_list
REST
GET /v1/workspaces/{ws}/connectors scope records:read
CLI
agentdb connectors list

Arguments

ArgumentTypeRequiredDescription
workspacestringWorkspace id (preferred), slug or exact name. Omit for the default workspace. Resolve names once with workspace_select.

Example

MCP
{
  "tool": "connectors_list",
  "arguments": {}
}
MCP via agentdb_execute
{
  "tool": "agentdb_execute",
  "arguments": {
    "operation": "connectors_list",
    "arguments": {}
  }
}
REST
curl -s "https://app.agentdb.link/v1/workspaces/$AGENTDB_WORKSPACE/connectors" \
  -H "Authorization: Bearer $AGENTDB_TOKEN"
CLI
agentdb connectors list [options]

#connectors_rotate_inbound_secret

experimental added in 1.0.0-rc.6 changes data

New inbound signing secret. Returned once; the old one stops working at once. Experimental: may change before 2.0.

Experimental: may change before 2.0. No real provider is built in yet (noop and the mock only); the connector contract may change with the first one.

MCP tool
connectors_rotate_inbound_secret
REST
POST /v1/workspaces/{ws}/connectors/{connector}/rotate-inbound-secret scope records:write
CLI
agentdb connectors rotate-inbound-secret

Arguments

ArgumentTypeRequiredDescription
connector_idstringyesConnector id (con_...)
idempotency_keystringOptional retry key ([A-Za-z0-9._:-], max 255). Repeating a call with the same key and arguments returns the original result without writing again.
workspacestringWorkspace id (preferred), slug or exact name. Omit for the default workspace. Resolve names once with workspace_select.

Example

MCP
{
  "tool": "connectors_rotate_inbound_secret",
  "arguments": {
    "connector_id": "con_example"
  }
}
MCP via agentdb_execute
{
  "tool": "agentdb_execute",
  "arguments": {
    "operation": "connectors_rotate_inbound_secret",
    "arguments": {
      "connector_id": "con_example"
    }
  }
}
REST
curl -s -X POST "https://app.agentdb.link/v1/workspaces/$AGENTDB_WORKSPACE/connectors/con_example/rotate-inbound-secret" \
  -H "Authorization: Bearer $AGENTDB_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'
CLI
agentdb connectors rotate-inbound-secret [options] <connector_id>

#connectors_runs

experimental added in 1.0.0-rc.6 read-only

Sync run history. Newest first: trigger, status, stats or error (credentials are never included). Experimental: may change before 2.0.

Experimental: may change before 2.0. No real provider is built in yet (noop and the mock only); the connector contract may change with the first one.

MCP tool
connectors_runs
REST
GET /v1/workspaces/{ws}/connector-runs scope records:read
CLI
agentdb connectors runs

Arguments

ArgumentTypeRequiredDescription
connector_idstringstring, up to 64 characters
status"succeeded" | "failed"string, one of: succeeded, failed
limitintegerinteger, 1–100, default 50
cursorintegerinteger, at least 1
workspacestringWorkspace id (preferred), slug or exact name. Omit for the default workspace. Resolve names once with workspace_select.

Example

MCP
{
  "tool": "connectors_runs",
  "arguments": {
    "connector_id": "con_example",
    "limit": 10
  }
}
MCP via agentdb_execute
{
  "tool": "agentdb_execute",
  "arguments": {
    "operation": "connectors_runs",
    "arguments": {
      "connector_id": "con_example",
      "limit": 10
    }
  }
}
REST
curl -s "https://app.agentdb.link/v1/workspaces/$AGENTDB_WORKSPACE/connector-runs" \
  -H "Authorization: Bearer $AGENTDB_TOKEN"
CLI
agentdb connectors runs [options]

#connectors_send

experimental added in 1.0.0-rc.6 changes data

Perform an allowed external action. Delivered through the connector's outbound webhook (signed, retried, see webhooks_deliveries). Refused unless the action is in allowed_actions. Experimental: may change before 2.0.

Experimental: may change before 2.0. No real provider is built in yet (noop and the mock only); the connector contract may change with the first one.

MCP tool
connectors_send
REST
POST /v1/workspaces/{ws}/connectors/{connector}/actions scope records:write
CLI
agentdb connectors send

Arguments

ArgumentTypeRequiredDescription
actionstringyesstring
payloadobjectobject, default {}
connector_idstringyesConnector id (con_...)
idempotency_keystringOptional retry key ([A-Za-z0-9._:-], max 255). Repeating a call with the same key and arguments returns the original result without writing again.
workspacestringWorkspace id (preferred), slug or exact name. Omit for the default workspace. Resolve names once with workspace_select.

Example

MCP
{
  "tool": "connectors_send",
  "arguments": {
    "connector_id": "con_example",
    "action": "send_message",
    "payload": {
      "text": "Hello"
    }
  }
}
MCP via agentdb_execute
{
  "tool": "agentdb_execute",
  "arguments": {
    "operation": "connectors_send",
    "arguments": {
      "connector_id": "con_example",
      "action": "send_message",
      "payload": {
        "text": "Hello"
      }
    }
  }
}
REST
curl -s -X POST "https://app.agentdb.link/v1/workspaces/$AGENTDB_WORKSPACE/connectors/con_example/actions" \
  -H "Authorization: Bearer $AGENTDB_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"action":"send_message","payload":{"text":"Hello"}}'
CLI
agentdb connectors send [options] <connector_id>

#connectors_sync

experimental added in 1.0.0-rc.6 changes data

Run a sync now. A failure is recorded (run status failed, connector status error, connector.sync_failed event) and can be retried by calling this again. Experimental: may change before 2.0.

Experimental: may change before 2.0. No real provider is built in yet (noop and the mock only); the connector contract may change with the first one.

MCP tool
connectors_sync
REST
POST /v1/workspaces/{ws}/connectors/{connector}/sync scope records:write
CLI
agentdb connectors sync

Arguments

ArgumentTypeRequiredDescription
connector_idstringyesConnector id (con_...)
idempotency_keystringOptional retry key ([A-Za-z0-9._:-], max 255). Repeating a call with the same key and arguments returns the original result without writing again.
workspacestringWorkspace id (preferred), slug or exact name. Omit for the default workspace. Resolve names once with workspace_select.

Example

MCP
{
  "tool": "connectors_sync",
  "arguments": {
    "connector_id": "con_example"
  }
}
MCP via agentdb_execute
{
  "tool": "agentdb_execute",
  "arguments": {
    "operation": "connectors_sync",
    "arguments": {
      "connector_id": "con_example"
    }
  }
}
REST
curl -s -X POST "https://app.agentdb.link/v1/workspaces/$AGENTDB_WORKSPACE/connectors/con_example/sync" \
  -H "Authorization: Bearer $AGENTDB_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'
CLI
agentdb connectors sync [options] <connector_id>

#connectors_types

experimental added in 1.0.0-rc.6 read-only

Connector types on this server. Config schema, credential field names, sync/inbound/actions, quotas. Real providers are not built in; noop always, mock only when test doubles are on. Experimental: may change before 2.0.

Experimental: may change before 2.0. No real provider is built in yet (noop and the mock only); the connector contract may change with the first one.

MCP tool
connectors_types
REST
GET /v1/workspaces/{ws}/connector-types scope records:read
CLI
agentdb connectors types

Arguments

ArgumentTypeRequiredDescription
workspacestringWorkspace id (preferred), slug or exact name. Omit for the default workspace. Resolve names once with workspace_select.

Example

MCP
{
  "tool": "connectors_types",
  "arguments": {}
}
MCP via agentdb_execute
{
  "tool": "agentdb_execute",
  "arguments": {
    "operation": "connectors_types",
    "arguments": {}
  }
}
REST
curl -s "https://app.agentdb.link/v1/workspaces/$AGENTDB_WORKSPACE/connector-types" \
  -H "Authorization: Bearer $AGENTDB_TOKEN"
CLI
agentdb connectors types [options]

#connectors_update

experimental added in 1.0.0-rc.6 changes data

Change a connector. config, credentials (replaces all = rotation), status paused|active, outbound_webhook_id, allowed_actions. Experimental: may change before 2.0.

Experimental: may change before 2.0. No real provider is built in yet (noop and the mock only); the connector contract may change with the first one.

MCP tool
connectors_update
REST
PATCH /v1/workspaces/{ws}/connectors/{connector} scope records:write
CLI
agentdb connectors update

Arguments

ArgumentTypeRequiredDescription
namestringstring, 1–100 characters
configobjectobject
credentialsobjectobject
status"active" | "paused"string, one of: active, paused
outbound_webhook_idstring | nullstring | null
allowed_actionsstring[]string[], up to 20 items
connector_idstringyesConnector id (con_...)
idempotency_keystringOptional retry key ([A-Za-z0-9._:-], max 255). Repeating a call with the same key and arguments returns the original result without writing again.
workspacestringWorkspace id (preferred), slug or exact name. Omit for the default workspace. Resolve names once with workspace_select.

Example

MCP
{
  "tool": "connectors_update",
  "arguments": {
    "connector_id": "con_example",
    "status": "paused"
  }
}
MCP via agentdb_execute
{
  "tool": "agentdb_execute",
  "arguments": {
    "operation": "connectors_update",
    "arguments": {
      "connector_id": "con_example",
      "status": "paused"
    }
  }
}
REST
curl -s -X PATCH "https://app.agentdb.link/v1/workspaces/$AGENTDB_WORKSPACE/connectors/con_example" \
  -H "Authorization: Bearer $AGENTDB_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"status":"paused"}'
CLI
agentdb connectors update [options] <connector_id>