Home / Servers / DigitalOcean API / harness_get_trigger_by_session

GetTriggerBySession reverse-looks-up the trigger that produced or binds a sessio

An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.

GetTriggerBySession reverse-looks-up the trigger that produced or binds a session. Returns the trigger that produced (fresh) or binds (reuse) the given session. Resolves to the row even after the trigger is soft-deleted. [GET /v2/agents/triggers/by-session/{session_id}]

Name on the gateway: digitalocean_api__harness_get_trigger_by_session · read-only.

Parameters

NameTypeDescription
session_id requiredstringThe session UUID.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "digitalocean_api__harness_get_trigger_by_session",
  "arguments": {
    "session_id": "…"
  }
}

Or connect the DigitalOcean API server directly, which lists 874 tools including this one:

Run in your terminal
claude mcp add --transport http hj-digitalocean-api https://mcp.hjlabs.in/mcp/digitalocean-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the gettriggerbysession reverse-looks-up the trigger that produced or binds a sessio tool with session_id set to ….

More from DigitalOcean API