buildRejectionMessage
buildRejectionMessage(
options):string
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/shell/rejection.ts:75
Build the §7 rejection message handed back to the model as the refused call’s tool result.
Shape (each part omitted when it does not apply):
- who refused what;
- the rater’s explanation, when a rating exists;
- the three moves — always;
- the granted alternative plus the no-approval-needed clause, when the rater named one.
Parameters
Section titled “Parameters”options
Section titled “options”Returns
Section titled “Returns”string