ActionResult.ok
property · packages/agent-native/src/actions.ts:23
readonly ok: booleanAgent / foldkit-agent-native
interface · packages/agent-native/src/actions.ts:22
interface ActionResult {
readonly ok: boolean
readonly tag?: string | undefined
readonly completion?: 'completed' | 'failed' | undefined
readonly message: string
}What an action reports back. run never decides anything itself.
ActionResult.okproperty · packages/agent-native/src/actions.ts:23
readonly ok: booleanActionResult.tagproperty · packages/agent-native/src/actions.ts:25
readonly tag?: string | undefinedThe Message tag that was dispatched, when one was.
ActionResult.completionproperty · packages/agent-native/src/actions.ts:27
readonly completion?: 'completed' | 'failed' | undefinedHow the operation finished, when the capability declares completion.
ActionResult.messageproperty · packages/agent-native/src/actions.ts:28
readonly message: string