Create Venue


Creates a venue, the place an event happens, in The Events Calendar, as a draft unless status is "publish". Saved through The Events Calendar's own venue API. Returns the venue as stored, and warns when a venue with the same name already exists so a duplicate is not made by mistake. Pass the returned venue_id to mosmcp/tec-create-event or mosmcp/tec-update-event. Undo by moving the venue to the trash in the admin.

Also known as: add a venue, new location, event location, add a place.

Property Value
Ability slug mosmcp/tec-create-venue
Wire tool name mosmcp__tec-create-venue
Category The Events Calendar (mosmcp-events-calendar)
Plan Pro

 

Required access

Requirement Value
Capability edit_tribe_venues
Minimum default role Administrator
Annotations readOnly: false · destructive: false · idempotent: false · openWorld: false

 

Input schema

Field Type Required Default Description
name string (min length 1) Yes — The venue name.
address string — Street address.
city string —
state_province string — State, province or region.
zip string — Postal or ZIP code.
country string — Country name or two-letter code, for example "United Kingdom" or "GB".
phone string —
website string — The venue's own website, a full http or https address.
description string — About the venue. HTML is saved the way the editor saves it for this user.
show_map boolean — Show a map on the venue and its events. Defaults to true.
show_map_link boolean — Show a link to the map. Defaults to true.
status string (one of draft, publish) draft Publishing status. Defaults to "draft".

 

Output schema

Field Type Required
venue_id integer Yes
name string Yes
status string Yes
address string
city string
state_province string
zip string
country string
phone string
website string
view_url string
show_map boolean
show_map_link boolean
description string
edit_url string
notes string[]

 


<< Previous Next >>
Create Event Get Event

For more information about the Secure MCP Server for WordPress plugin, explore the following resources:

Product Overview | Pricing | Try for Free | Documentation

If you have any questions regarding plugin configuration, pricing plans or licensing, please contact us or mail us at aisupport@xecurify.com.