discover_sessions
Find live and recently saved coding sessions an orchestrator can take over, including transcripts, titles, working directories, and last activity.
Instructions
Existing omp / Claude Code sessions the orchestrator can take over with adopt_session.
live: sessions running right now in a Tern pane (any window), with their transcript.
saved: the most recent saved sessions on disk that are not running (include_saved, up to limit
per engine), with their title, working directory and last activity.
managed_as: the agent name when the session is already under the bridge's control.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "discover_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| include_saved | No |