Function: createToolAnnotations()
ts
function createToolAnnotations(props?): ToolAnnotations;Defined in: packages/core/src/domain/ToolAnnotations.ts:48
Create ToolAnnotations from partial properties.
Parameters
| Parameter | Type | Description |
|---|---|---|
props | ToolAnnotations | Annotation properties (all optional) |
Returns
A ToolAnnotations instance
Example
typescript
const ann = createToolAnnotations({ destructiveHint: true });