formatActionArg
formatActionArg(
params,defs,separator?):string|undefined
Defined in: ai/fsm/registry.ts:204
Join declared parameters back into the canonical string — so data authored as
parameters still reaches an action (or a tool) that only speaks arg.
Trailing empties are dropped, keeping "tabs" rather than "tabs:".
Parameters
Section titled “Parameters”params
Section titled “params”Readonly<Record<string, AiParamValue>> | undefined
readonly AiParamDef[]
separator?
Section titled “separator?”string = ':'
Returns
Section titled “Returns”string | undefined