aigentic
0.4.0-SNAPSHOT
common
platform
/
community.flock.aigentic.platform.testing.mock
/
ToolMock
Tool
Mock
data
class
ToolMock
(
val
expectations
:
List
<
ToolCallExpectation
>
,
val
name
:
ToolName
,
val
description
:
String
?
,
val
parameters
:
List
<
Parameter
>
)
:
Tool
Members
Constructors
Tool
Mock
Link copied to clipboard
constructor
(
expectations
:
List
<
ToolCallExpectation
>
,
name
:
ToolName
,
description
:
String
?
,
parameters
:
List
<
Parameter
>
)
Properties
description
Link copied to clipboard
open
override
val
description
:
String
?
expectations
Link copied to clipboard
val
expectations
:
List
<
ToolCallExpectation
>
handler
Link copied to clipboard
open
override
val
handler
:
suspend
(
toolArguments
:
JsonObject
)
->
String
invocations
Link copied to clipboard
val
invocations
:
MutableList
<
JsonElement
>
name
Link copied to clipboard
open
override
val
name
:
ToolName
parameters
Link copied to clipboard
open
override
val
parameters
:
List
<
Parameter
>