Tools Catalog / Plugin integrations / The Events Calendar / wp_tec_save_entity

wp_tec_save_entity tool reference for The Events Calendar

Write
Group The Events CalendarCapability edit_posts

creates or updates a The Events Calendar entity (`venue` or `organizer`) with the fields relevant to each type.

Description

creates or updates a The Events Calendar entity (`venue` or `organizer`) with the fields relevant to each type.

What it is for

  • Creating missing venues or organizers during an event workflow.
  • Maintaining venue and organizer records over time.

Example use case

creating a venue before event publishing.

Sample prompt

Create a new venue called City Hall Auditorium with full address details and publish it.

Sample response

{
  "tool": "wp_tec_save_entity",
  "status": "ok",
  "updated": true
}

What does wp_tec_save_entity do?

creates or updates a The Events Calendar entity (`venue` or `organizer`) with the fields relevant to each type.

Does wp_tec_save_entity modify site data?

Yes. It can create, update, activate, deactivate, or delete data depending on arguments.

Which capability is commonly required?

It usually runs with controls compatible with edit_posts and the active MCP profile.

How should wp_tec_save_entity be used safely?

Require confirmation, test in staging first, and verify rollback coverage.

Which plugin is required?

The Events Calendar must be installed and active in the target WordPress environment.