ToolRole
Generated by TypeDoc. Do not edit this page directly.
Class: ToolRole
Section titled “Class: ToolRole”Defined in: packages/core/src/runtime/types/roles.ts:71
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ToolRole(): ToolRole;Returns
Section titled “Returns”ToolRole
Inherited from
Section titled “Inherited from”Properties
Section titled “Properties”| Property | Modifier | Type | Default value | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|---|
default? | public | boolean | undefined | - | HarnessRole.default | packages/core/src/runtime/types/roles.ts:33 |
description? | public | string | undefined | - | HarnessRole.description | packages/core/src/runtime/types/roles.ts:34 |
label | public | string | "Tool" | HarnessRole.label | - | packages/core/src/runtime/types/roles.ts:73 |
name | public | string | "tool" | HarnessRole.name | - | packages/core/src/runtime/types/roles.ts:74 |
nativeRole | public | NativeRoles | NativeRoles.Tool | HarnessRole.nativeRole | - | packages/core/src/runtime/types/roles.ts:76 |
target | public | RoleTargets | RoleTargets.Messages | HarnessRole.target | - | packages/core/src/runtime/types/roles.ts:75 |
type | static | string | "tool" | - | - | packages/core/src/runtime/types/roles.ts:72 |
Accessors
Section titled “Accessors”Get Signature
Section titled “Get Signature”get type(): string;Defined in: packages/core/src/runtime/types/roles.ts:36
Returns
Section titled “Returns”string