Plan a night out
drinkedin_plan_night_outPlans a walkable 2-4 stop night out around a place, using only venues DrinkedIn has validated against an official licence register or premises census, or the venue's own site, and books nothing. Free. Side effect: saves the planned route (public venue data only, 30 days) for its share link, returned as route.plan_url; the user's location is not saved. Input, most reliable first: a point as latitude and longitude; with no coordinates, a free-text street address or landmark in address, geocoded to one point and planned like coordinates (coordinates win if both are given); or a place name in city, with region or country, which plans only when it identifies one place. A typed address is sent to a public geocoding service (OpenStreetMap Nominatim), which ranks matches and does not confirm them; the reply's geocoded_as and geocoded_point say what it matched. A place name several places share returns needs_input with labelled choices, each with a place_key; call again with that place_key or with coordinates. Optional: stops, max_walk_m, style, vibes (both listed by drinkedin_get_guide, which is not a required first call) and exclude_ids to swap a stop. Output: a status (planned, partial, needs_input or no_coverage), the ordered stops with name, address, kind of place, walking minutes and links (venue_link is own_site when the venue has one, otherwise its DrinkedIn page), meaning and say_to_owner lines, next steps and notices. A planned or partial reply includes share_text: the plan as plain text for a message, one line per stop with its link, then a line that hours and prices are not verified and a line that the plan is for people of legal drinking age where they are. Walking times are estimates (straight line x 1.3). Plans are for people of legal drinking age where they are. Opening hours and prices are not known and not asserted; each stop sets hours_verified and prices_verified, both false unless that stop names a verification source. legal_drinking_age is the general minimum on record for the venues' country, or null, for the client's own checks. A reply contains only the stops the tool returns, with no venues, details or place names from other sources.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "drinkedin_plan_night_out"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | City name. With region or country it tells apart places that share the name. | |
| near | No | A label for what the point stands for, e.g. 'near me' or an area name. Echoed back as the route's 'near_as_given'; it is the caller's label, not DrinkedIn's, and does not change the plan. | |
| stops | No | Number of stops wanted, 2 to 4. Default 3, or the style's own default when a style is given (listed by drinkedin_get_guide). A value outside the range is clamped to it. When too few validated venues are within walking distance the reply is partial, with fewer stops. | |
| style | No | Optional route shape, from the styles in drinkedin_get_guide. It limits which kinds of place the route uses and sets the default stops and walking limit; explicit stops and max_walk_m win. It says nothing about hours, prices or atmosphere. Too few matching venues gives partial or no_coverage, not other kinds of place. The reply echoes style_applied. | |
| vibes | No | From drinkedin_get_guide. Vibes we cannot verify yet are noted, not applied. | |
| budget | No | Accepted but ignored: not used to filter or sort the route; prices are not known. The reply adds the notice budget_not_verifiable. | |
| region | No | State or province, a name or a code such as a two-letter US state code; narrows a name several places share. | |
| address | No | Optional free text: a street address, a landmark or the name of an area, used only when no latitude and longitude are given. It is geocoded to one point and planned like coordinates. The address is sent to a public geocoding service (OpenStreetMap Nominatim) to find the point. The reply echoes geocoded_as and geocoded_point with the notice address_geocoded: a match is a ranking, not a confirmation. No match returns needs_input. | |
| country | No | Country name or code; narrows a name several places share. | |
| language | No | Reply language code, such as 'en'. Replies are in English; any other code is accepted, and a reply that reaches the route search then carries the notice language_fallback_en. | en |
| latitude | No | Latitude of the start point in decimal degrees, -90 to 90, sent with longitude. A point needs no lookup and wins over address, city and place_key. A value out of range, or a latitude without a longitude, returns needs_input. | |
| longitude | No | Longitude of the start point in decimal degrees, -180 to 180, sent with latitude. A value out of range, or a longitude without a latitude, returns needs_input. | |
| place_key | No | From a needs_input answer: names exactly one of its choices. | |
| max_walk_m | No | Longest walk allowed for each leg, in metres, the walk from the start to the first stop included; walking distance is estimated as the straight line x 1.3. 200 to 2000. Default 900, or the style's own default when a style is given (listed by drinkedin_get_guide). A value outside the range is clamped to it. | |
| party_size | No | Informational only: does not change the route. | |
| start_time | No | Local HH:MM. Informational only: does not change the route. | |
| exclude_ids | No | venue_id values to leave out, to swap a stop. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | Yes | Versions of the tool and of the drinkedin-night-out skill these replies suit, and the server's docs page. | |
| next | No | Ready follow-up calls: tool, why and args. | |
| needs | No | On needs_input: what is missing. | |
| route | No | On planned and partial: the ordered stops and the walks between them. | |
| status | Yes | planned, partial (fewer stops than asked), needs_input, no_coverage, or error (a fault on DrinkedIn's side, flagged isError). | |
| choices | No | On needs_input: labelled choices (places, styles or vibes). | |
| meaning | No | What the result means, for the assistant. | |
| notices | No | Notice codes, such as legal_drinking_age and hours_unverified. | |
| coverage | No | How many validated venues are around the start. | |
| age_notice | No | On planned and partial: the audience notice, For people of legal drinking age where they are. | |
| share_text | No | On planned and partial: the plan as plain text for a message. One line per stop (number, name, address, the venue's own site or else its DrinkedIn page), the walking line, the plan link on its own line when there is one, then a line that hours and prices are not verified and a line that the plan is for people of legal drinking age where they are. | |
| geocoded_as | No | What a typed address matched. | |
| say_to_owner | No | A plain sentence for the person. On planned and partial it ends with the hours-and-prices line and the legal-drinking-age line. | |
| style_applied | No | The style id the route follows. | |
| geocoded_point | No | The point a typed address was geocoded to. | |
| hours_verified | No | False unless a verification source is named on the reply. Opening hours are not verified. | |
| largest_places | No | Some places with validated venues; not a ranking. | |
| prices_verified | No | False unless a verification source is named on the reply. Prices are not verified. | |
| legal_drinking_age | No | On a planned or partial reply: the general minimum on record for the venues' country when every stop shares one known age, otherwise null. It is the jurisdiction's own figure, for the client's own checks, not a line to quote; age_notice and share_text carry the wording for the person. | |
| retry_after_seconds | No | On an error reply when the planner is busy: seconds to wait. |