Optional ReadonlyblockOptional ReadonlyinputsOptional ReadonlyinstructionOptional ReadonlykeepOptional ReadonlylmOptional ReadonlyoutputOptional ReadonlysectionsOptional ReadonlysettingsOptional ReadonlytoolsOptional Readonlywithout
What a hook changes, as data. Each hook takes some fields; another refuses (
plugin-change).instruction: the instruction itself, for this call (beforeCall);sections: text added after it, in order (beforeCall,context);lm: the model for this call;settings: lm15 settings for it (temperature,maxTokens,reasoning, …) (beforeCall);tools: the names of the tools offered, from the function's own (beforeCall);keep: the ids of the earlier turns shown;without: fields left out of earlier turns, a list for every turn or{ [turnId]: names }(context);inputs: inputs replaced, by name (turnStart: the turn's;toolCall: the tool's);block: the tool may not run, and why (toolCall);output: the tool's result as the model is shown it (toolResult).