ToolCallingApi class
Logical tool-calling service contract. Host tool registration, permission checks, execution, callbacks, browser/native APIs, and side effects remain adapter-owned; this service describes only portable parsing, prompt formatting, and validation semantics over generated messages.
Constructors
- ToolCallingApi(RpcClient _client)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
formatPrompt(
ClientContext? ctx, ToolPromptFormatRequest request) → Future< ToolPromptFormatResult> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parse(
ClientContext? ctx, ToolParseRequest request) → Future< ToolParseResult> -
toString(
) → String -
A string representation of this object.
inherited
-
validateCall(
ClientContext? ctx, ToolCallValidationRequest request) → Future< ToolCallValidationResult>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited