Skip to content

fontlab_remopy.actions.Controls

Controls

Named catalogue calls; async clients return awaitable values.

Each method calls one native MCP tool by name and returns its JSON payload; keyword arguments are the tool's own parameters (see tools() for schemas). Methods that change FontLab state perform the operation immediately.

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
activate_font function (self, **arguments: Any) -> Any Call <code>set&#95;active&#95;font</code>.
activate_glyph function (self, **arguments: Any) -> Any Call <code>set&#95;active&#95;glyph</code>.
close_font function (self, **arguments: Any) -> Any Call <code>close&#95;font</code>.
current_font function (self) -> Any Call <code>get&#95;active&#95;font</code>: the font in the active window.
current_glyphs function (self) -> Any Call <code>get&#95;current&#95;glyphs</code>: the glyphs of the active window.
font_info function (self, **arguments: Any) -> Any Call <code>get&#95;font&#95;info</code> with the tool's arguments.
font_metrics function (self, **arguments: Any) -> Any Call <code>get&#95;font&#95;metrics</code> with the tool's arguments.
glyph function (self, name: str, **arguments: Any) -> Any Call <code>get&#95;glyph</code><code> for the glyph called </code><code>name</code>.
glyph_info function (self, **arguments: Any) -> Any Call <code>get&#95;glyph</code> with the tool's arguments.
glyph_metrics function (self, **arguments: Any) -> Any Call <code>get&#95;glyph&#95;metrics</code> with the tool's arguments.
list_actions function (self) -> Any Call <code>list&#95;actions</code><code>: the application actions that </code><code>run&#95;actions</code> accepts.
list_fonts function (self) -> Any Call <code>list&#95;fonts</code><code>: every open font, as </code><code>{&quot;fonts&quot;: &#91;...&#93;}</code>.
list_glyphs function (self, **arguments: Any) -> Any Call <code>list&#95;glyphs</code> with the tool's arguments.
new_font function (self, **arguments: Any) -> Any Call <code>new&#95;font</code>.
open_font function (self, **arguments: Any) -> Any Call <code>open&#95;font</code>.
output function (self, **arguments: Any) -> Any Call <code>get&#95;python&#95;output</code>: recent Python output captured by the MCP tool.
python function (self, function: Callable) -> Callable Decorate a normal function to execute remotely with JSON values.
run_actions function (self, **arguments: Any) -> Any Call <code>run&#95;actions</code>: run application actions.
save_font function (self, **arguments: Any) -> Any Call <code>save&#95;font</code>.
set_font_metrics function (self, **arguments: Any) -> Any Call <code>set&#95;font&#95;metrics</code>.
set_glyph_metrics function (self, **arguments: Any) -> Any Call <code>set&#95;glyph&#95;metrics</code>.