30 days free. No credit card. Full access from the moment you connect your site.

Start free trial

GeoDirectory List Listing Tabs

geodirectory/list-listing-tabs returns the tab layout for a listing type: the tabs shown on a single listing page, with their IDs and sort order.

Tabs are not REST-exposed, so this reads them directly from the tab layout table.

At a glance

Abilitygeodirectory/list-listing-tabs
ToolsetGeoDirectory — toolset/geodirectory
GroupGeoDirectory › Tabs, Sorting & Blocks
RequiresAcrossAI Pro, plus GeoDirectory active on the site
Capabilitymanage_options
SafetyRead-only — changes nothing
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI Pro 0.9.16 and later

How it works

That is the reason this ability exists. GeoDirectory’s REST API covers listings, fields and locations; the tab layout is admin-only, which means nothing generic reaches it.

The IDs matter because every write to a tab addresses it by ID, and the sort order matters because reordering takes the complete list. Guessing either is how a reorder ends up with two tabs at the same position.

Tabs nest one level, so a parent tab has children and a child cannot. The parent relationship comes back with each row, which is what tells you whether deleting a tab cascades.

Read this before adding, reordering or removing a tab.

Input

NameTypeRequiredWhat it is
post_typestringNoListing type, for example gd_place. Defaults to the site default. See geodirectory/get-directory-overview for the valid values.

What comes back

NameTypeWhat it is
tabsarrayEach tab with its ID, name, type, key, parent and sort order.
successbooleanWhether the call completed.
messagestringA one-line summary of what happened, suitable for showing a human.
error_codestringPresent only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation.

Example

Ask your assistant:

What tabs does a listing page show?

It resolves to one call:

{
  "ability": "geodirectory/list-listing-tabs",
  "parameters": {}
}

Worth knowing

  • Tabs are not in GeoDirectory’s REST API. Nothing generic reads them.
  • Tabs nest one level only.
  • The parent column tells you whether a delete would cascade.
  • Read-only.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading