Skip to main content

Module family

Module family 

Source
Expand description

The action router behind a family tool (one tool with an action, docs/specs/SPEC_MUXAPI_TOOL_CONSOLIDATION_2026_10_15.md §4.1). Each action names the internal handler it runs, by that handler’s old tool name, and the parameters the family tool calls differently, so one handler serves the action unchanged.

Structs§

Act 🔒
One action of a family tool.

Functions§

pick 🔒
The action arguments asks for, with its arguments as the handler takes them: action removed, renamed parameters under their handler names. An unknown or missing action is an error that lists the actions.
public_params 🔒
A handler’s error about a parameter the family tool renamed, under the name the caller passes it by (“missing required parameter: target_agent” → “… agent”): the caller can’t pass the handler’s name.
relabel 🔒
text with the internal tool name it starts with replaced by the public one (“BrowserClick e12: done” → “Browser click e12: done”): a handler names the tool it ran as at the start of its output and errors, and that name isn’t advertised. Only that label changes: what follows is the page, a script’s value or a window’s title, and is returned exactly.
relabeled 🔒
A handler’s result, output and error alike, under the public names.