open_in_diogenes
Open a passage, text search, or morphological search result in the running Diogenes app by building its screen URL, or return the URL without launching a browser.
Instructions
Build a URL for a screen of the user's running Diogenes app (served on localhost) and open it (in a cmux browser pane when cmux is running, otherwise the default browser): a passage in context, the results of a text search, or the results of a morphological search. Searches can be scoped only to the whole TLG or a saved corpus (use save_corpus first for an ad-hoc scope). Set open=false to just get the URL (e.g. to load it in a specific browser pane).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"kind": "<kind>"
},
"name": "open_in_diogenes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | passage: a hit ref such as 'tlg,0557,002:47:1:3'. | |
| kind | Yes | ||
| open | No | Open the URL in the browser (default true). | |
| work | No | passage: work number. | |
| query | No | search: the pattern. morph_search: the lemma. | |
| author | No | passage: author number (alternative to ref). | |
| corpus | No | search/morph_search: saved corpus name; default whole TLG. | |
| location | No | passage: citation, highest level first. | |
| lemma_beta | No | morph_search: pick one lemma if ambiguous. |