ToolApprovalRequestedEvent
Generated by TypeDoc. Do not edit this page directly.
Class: ToolApprovalRequestedEvent
Section titled “Class: ToolApprovalRequestedEvent”Defined in: packages/core/src/runtime/events.ts:192
Extends
Section titled “Extends”HarnessEvent<{args:unknown;id:string;modeId?:string;name:string;permissions?:unknown[];risk?:string; }>
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ToolApprovalRequestedEvent(record): ToolApprovalRequestedEvent;Defined in: packages/core/src/runtime/types/events.ts:35
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
record | HarnessEventRecord<{ args: unknown; id: string; modeId?: string; name: string; permissions?: unknown[]; risk?: string; }> |
Returns
Section titled “Returns”ToolApprovalRequestedEvent
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; id: string; modeId?: string; name: string; permissions?: unknown[]; risk?: string; }> | undefined | - | HarnessEvent.record | packages/core/src/runtime/types/events.ts:35 |
schema | static | ObjectSchema<{ args: UnknownSchema; id: StringSchema; modeId: OptionalSchema<unknown, string | undefined>; name: StringSchema; permissions: OptionalSchema<unknown[] | undefined, unknown[] | undefined>; risk: OptionalSchema<unknown, string | undefined>; }> | undefined | HarnessEvent.schema | - | packages/core/src/runtime/events.ts:201 |
type | static | string | "tool:approval_requested" | HarnessEvent.type | - | packages/core/src/runtime/events.ts:200 |
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