ToolApprovalResolvedEvent
Generated by TypeDoc. Do not edit this page directly.
Class: ToolApprovalResolvedEvent
Section titled “Class: ToolApprovalResolvedEvent”Defined in: packages/core/src/runtime/events.ts:211
Extends
Section titled “Extends”HarnessEvent<{args:unknown;decision:"approved"|"denied";id:string;modeId?:string;name:string; }>
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ToolApprovalResolvedEvent(record): ToolApprovalResolvedEvent;Defined in: packages/core/src/runtime/types/events.ts:35
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
record | HarnessEventRecord<{ args: unknown; decision: "approved" | "denied"; id: string; modeId?: string; name: string; }> |
Returns
Section titled “Returns”ToolApprovalResolvedEvent
Inherited from
Section titled “Inherited from”Properties
Section titled “Properties”| Property | Modifier | Type | Default value | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|---|
record | readonly | HarnessEventRecord<{ args: unknown; decision: "approved" | "denied"; id: string; modeId?: string; name: string; }> | undefined | - | HarnessEvent.record | packages/core/src/runtime/types/events.ts:35 |
schema | static | ObjectSchema<{ args: UnknownSchema; decision: EnumSchema<readonly ["approved", "denied"]>; id: StringSchema; modeId: OptionalSchema<unknown, string | undefined>; name: StringSchema; }> | undefined | HarnessEvent.schema | - | packages/core/src/runtime/events.ts:219 |
type | static | string | "tool:approval_resolved" | HarnessEvent.type | - | packages/core/src/runtime/events.ts:218 |
Accessors
Section titled “Accessors”Get Signature
Section titled “Get Signature”get at(): string;Defined in: packages/core/src/runtime/types/events.ts:49
Returns
Section titled “Returns”string
Inherited from
Section titled “Inherited from”Get Signature
Section titled “Get Signature”get id(): string;Defined in: packages/core/src/runtime/types/events.ts:37
Returns
Section titled “Returns”string
Inherited from
Section titled “Inherited from”payload
Section titled “payload”Get Signature
Section titled “Get Signature”get payload(): TPayload;Defined in: packages/core/src/runtime/types/events.ts:45
Returns
Section titled “Returns”TPayload
Inherited from
Section titled “Inherited from”Get Signature
Section titled “Get Signature”get type(): string;Defined in: packages/core/src/runtime/types/events.ts:41
Returns
Section titled “Returns”string