get_locations

tools.get_locations(ctx, input)

Retrieve a given number of location details from a web service and format the results.

Parameters

Name Type Description Default
ctx RunContext[Deps] RunContext with database connection required
input GetLocationInput GetLocationInput containing request parameters which includes: - number_of_locations: The maximum number of locations to retrieve - filter_locations_name: An optional filter to search locations by their locationId, shortName, or description required

Returns: GetLocationOutput: Retrieved locations details with formatted markdown content