Add dotnet activities for train interface.

This commit is contained in:
Rob Holland
2025-02-14 11:51:57 +00:00
parent 39462955eb
commit e085f02128
12 changed files with 157 additions and 23 deletions

View File

@@ -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",
),
],
)