FunctionTool
Represents a local function tool.
Class Diagram
Section titled “Class Diagram”---
title: FunctionTool
config:
look: handDrawn
theme: colorful
class:
hideEmptyMembersBox: true
---
classDiagram
class Tool {
+string name
+string kind
+string description
+Binding[] bindings
}
Tool <|-- FunctionTool
class FunctionTool {
+string kind
+Property[] parameters
+boolean strict
}
Yaml Example
Section titled “Yaml Example”kind: functionparameters: firstName: kind: string default: Jane lastName: kind: string default: Doe question: kind: string default: What is the meaning of life?strict: trueProperties
Section titled “Properties”| Name | Type | Description |
|---|---|---|
| kind | string | The kind identifier for function tools |
| parameters | Property[] | Parameters accepted by the function tool |
| strict | boolean | Indicates whether the function tool enforces strict validation on its parameters |