Skip to content

rulvar API reference


rulvar API reference / @rulvar/rulvar / PendingToolTurn

Interface: PendingToolTurn

Defined in: packages/core/dist/index.d.ts

Mid-turn suspension state (M3-T03): the turn's already-executed tool results plus the call awaiting an approval resolution, so resume continues the SAME turn without re-running executed tools.

Properties

PropertyTypeDescriptionDefined in
awaiting{ args: unknown; id: string; name: string; }The model-issued call whose ask verdict suspended the turn.packages/core/dist/index.d.ts
awaiting.argsunknown-packages/core/dist/index.d.ts
awaiting.idstring-packages/core/dist/index.d.ts
awaiting.namestring-packages/core/dist/index.d.ts
executed{ id: string; isError?: boolean; name: string; result: unknown; }[]tool-result parts already produced this turn, in execution order.packages/core/dist/index.d.ts
remaining{ args: unknown; id: string; name: string; }[]Calls after the awaiting one, still to execute on resume.packages/core/dist/index.d.ts