Function: governedActionOf()
governedActionOf(
context):GovernedActionIds|undefined
Defined in: packages/agentos/src/safety/runtime/GovernedTool.ts:181
The ids the library made for a governed call, read from the context its tool's execute() receives.
Parameters
context
The context a tool was called with.
ToolExecutionContext | undefined
Returns
GovernedActionIds | undefined
The ids, when the context is a governed call's; undefined otherwise.