mirror of
https://github.com/temporal-community/temporal-ai-agent.git
synced 2026-03-15 14:08:08 +01:00
Add dotnet activities for train interface.
This commit is contained in:
@@ -54,14 +54,14 @@ search_trains_tool = ToolDefinition(
|
||||
],
|
||||
)
|
||||
|
||||
book_train_tool = ToolDefinition(
|
||||
name="BookTrain",
|
||||
description="Books a train ticket. Returns a booking reference.",
|
||||
book_trains_tool = ToolDefinition(
|
||||
name="BookTrains",
|
||||
description="Books train tickets. Returns a booking reference.",
|
||||
arguments=[
|
||||
ToolArgument(
|
||||
name="journey_id",
|
||||
name="train_ids",
|
||||
type="string",
|
||||
description="The ID of the journey to book",
|
||||
description="The IDs of the trains to book, comma separated",
|
||||
),
|
||||
],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user