Locate2u Mesh

Set up apps on Locate2u Mesh: organisations, credentials, webhooks, maps and API contracts.

Should I use this

Quality & Safety

A
Description quality
100%
Schema completeness
98%
Naming quality
96%
Poisoning risk
100%
Permission match
40%
Protocol compliance
100%

Findings (6)

  • LOWTool 'list_webhooks' suggests web access but openWorldHint=falsein list_webhooks
  • LOWTool 'get_webhook' suggests web access but openWorldHint=falsein get_webhook
  • LOWTool 'create_webhook' suggests web access but openWorldHint=falsein create_webhook
  • LOWTool 'update_webhook' suggests web access but openWorldHint=falsein update_webhook
  • LOWTool 'rotate_webhook_secret' suggests web access but openWorldHint=falsein rotate_webhook_secret
  • LOWTool 'delete_webhook' suggests web access but openWorldHint=falsein delete_webhook

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~12,952Tokens (tool definitions)
~1.5 KBTypical response size
Significant attention impact (10.12% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "mesh": {
      "url": "https://mcp.mesh.locate2u.app/mcp"
    }
  }
}

Remote endpoints

https://mcp.mesh.locate2u.app/mcpstreamable-http

What it can do

Tool inventory

Tools (43)

🟒 Read-only🟑 WriteπŸ”΄ Deleteβšͺ Unknown
🟒list_orgs

The organisations you belong to. Call this FIRST in any session β€” every other tool needs an `org` id from here, and it is never inferred. Cheap; safe to call again whenever you are unsure which organisation you are working in. πŸ”΄ THIS LIST IS NOT THE ONLY OPTION. If you are starting a new application and none of these is for it, call `create_org` instead of adopting one. An organisation is the tenancy boundary, so building into an existing one mixes the new application’s credentials, webhooks and data in with whatever that organisation is already used for, permanently β€” records do not move between organisations afterwards. Picking the only entry in a one-entry list is the specific mistake this warning exists for.

Input Schema

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
πŸ”΄create_org(name, roles, currency, locale, timezone)

Create a new organisation, owned by the signed-in person, and get back the `org` id every other tool needs. πŸ”΄ USE THIS WHEN YOU ARE BUILDING SOMETHING NEW AND `list_orgs` SHOWS ONLY ORGANISATIONS THAT BELONG TO OTHER WORK. An organisation is the tenancy boundary: its credentials, webhooks, settings, map keys and data are entirely separate from every other one. Putting a new application into an existing organisation mixes its credentials and its data in with whatever is already there, and nothing later will separate them β€” the id cannot be changed afterwards and records do not move between organisations. If in doubt, ask the person which they want rather than defaulting to the first one in the list. ⚠️ Along with `list_orgs`, the only tool that takes no `org` β€” it is what produces one. ⚠️ THE NEW ORGANISATION HAS NO MODULES. Core APIs work immediately. Anything sold as a module answers `403 module_not_enabled` until Locate2u grants it, and modules are NOT self-service β€” see the note in `list_modules`. Call `list_services` on the new organisation to see what it can reach before you design around an API. ⚠️ A machine credential cannot call this: it belongs to exactly one organisation, named in its own token. Only a signed-in person can.

Input Schema

{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The organisation name as a person would write it β€” the business or project this is for, e.g. \"Northwind Freight\". Not a slug or an identifier."
    },
    "roles": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "What this organisation does in a delivery; at least one. `merchant` places orders that need delivering. `last_mile_carrier` performs final-leg deliveries. `linehaul_carrier` moves freight between depots. `service_provider` performs on-site work. `customer` receives goods or services. ⚠️ An unrecognised value refuses the call and names the valid set β€” nothing partial is created."
    },
    "currency": {
      "type": "string",
      "description": "ISO 4217 code, e.g. AUD, NZD, GBP, USD. Defaults to AUD."
    },
    "locale": {
      "type": "string",
      "description": "BCP-47 language tag, e.g. en-AU. Defaults to en-AU."
    },
    "timezone": {
      "type": "string",
      "description": "IANA zone, e.g. Australia/Sydney. Defaults to Australia/Sydney. ⚠️ Worth asking the person for β€” it is what every delivery window and schedule is interpreted in, and it is changed afterwards in the management portal rather than here."
    }
  },
  "required": [
    "name",
    "roles"
  ],
  "additionalProperties": false
}
🟒describe_org(org)

What you can do in one organisation: your user id, your effective permission codes, and which modules are enabled. Use it to check you have the permissions a task needs before attempting it.

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    }
  },
  "required": [
    "org"
  ],
  "additionalProperties": false
}
🟒get_connection_details(org)

πŸ”΄ CALL THIS BEFORE WRITING ANY CODE THAT CALLS A MESH API. Returns the exact token endpoint, the issuer, BOTH ways to authenticate, whether to send a scope, and every API base URL for this organisation β€” everything an application needs in its configuration apart from the client id and secret, which come from create_credential. ⚠️ DO NOT ask the developer for a token URL, an issuer, an audience, a scope or a base URL: all of them are here, and a developer generally cannot look them up. πŸ”΄ THERE ARE TWO WAYS TO AUTHENTICATE AND YOU MUST PICK THE RIGHT ONE. `auth` is server-to-server β€” your application calling Mesh as itself. `signIn` is how a PERSON logs in. β›” If what you are building has a login screen for the organisation's own staff, use `signIn` and call create_sign_in_app: do NOT collect a password, do NOT store a password hash, and do NOT build a users table with credentials in it. Mesh already holds those people and owns the sign-in screen.

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    }
  },
  "required": [
    "org"
  ],
  "additionalProperties": false
}
🟒list_services(org)

Every Mesh API this organisation can see, with its base URL, its access tier, the modules that unlock it, and the URL of its OpenAPI document. To read a contract, use list_api_operations and get_openapi_spec β€” do not assume you can fetch the OpenAPI URL yourself, since a sandboxed agent client can often reach only this server. ⚠️ A LISTED SERVICE IS NOT NECESSARILY ONE THIS ORGANISATION MAY CALL, and that is deliberate. A service the organisation has not bought is still listed, with unlockedBy naming the module that would unlock it, so you can tell the customer exactly what to ask for rather than reporting the capability as missing. Check unlockedBy against list_modules before writing code against a service. ⚠️ What IS filtered out is any API that only unreleased product unlocks, and any surface that is not callable. Everything returned here is a real, reachable API.

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    }
  },
  "required": [
    "org"
  ],
  "additionalProperties": false
}
🟒list_api_operations(org, service)

Every endpoint of a Mesh API as one line each β€” method, path, summary, tags, and whether it needs a token. Call this BEFORE get_openapi_spec: a full contract can be ~33,000 tokens and this is a fiftieth of that, so you can find the endpoints you need and then ask for only those. Omit `service` to index every API this organisation can reach.

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    },
    "service": {
      "type": "string",
      "description": "Service name from list_services, e.g. \"public-api-orders\". Omit to index every reachable API."
    }
  },
  "required": [
    "org"
  ],
  "additionalProperties": false
}
🟒get_openapi_spec(org, service, tags, paths, operationIds)

The OpenAPI 3.1 document for ONE Mesh API, returned to you directly β€” use it to compose real HTTP calls instead of guessing paths, parameters or response shapes. ⚠️ Narrow it with `tags` or `paths` (from list_api_operations) unless you genuinely need the whole surface: the largest Mesh contract is ~33,000 tokens whole, and a narrowed one is still a complete, valid, generator-ready OpenAPI document. One service per call β€” there is deliberately no way to ask for all of them, which would be a quarter of a million tokens.

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    },
    "service": {
      "type": "string",
      "description": "Service name from list_services, e.g. \"public-api-orders\"."
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Keep only operations carrying one of these tags, e.g. [\"orders\"]."
    },
    "paths": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Keep only operations under these path prefixes, e.g. [\"/api/orders\"], which also matches /api/orders/{orderId}. Combined with tags or operationIds this NARROWS further β€” every filter you give must match."
    },
    "operationIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Keep only these exact operationIds."
    }
  },
  "required": [
    "org",
    "service"
  ],
  "additionalProperties": false
}
🟒list_permissions(org)

πŸ”΄ CALL THIS BEFORE create_credential OR update_credential_permissions. Every permission code the platform has, what each one allows, and β€” per code β€” whether THIS organisation may be granted it. ⚠️ READ `unlocked` ON EACH ROW. A permission belongs to one or more modules and the organisation must hold at least one of them. Asking for a locked code does not grant a reduced credential: the whole create call is refused with 400 permission_not_unlocked, and this is where you find that out instead. πŸ”΄ ALSO READ `missingConsents` (design ADR 0108). A permission can be unlocked and STILL not grantable, because it waits for the organisation to accept somebody else's terms β€” every fuel permission waits until every state's fuel data terms on offer are accepted. Asking for one refuses the whole call with 400 consent_required, naming each document. A person accepts them (management portal, Fuel Data Terms); there is deliberately no tool for it. ⚠️ `unlockedBy` IS A LIST AND ANY ONE OF THEM IS ENOUGH. polygons.read is unlocked by geofences OR by rates-and-invoicing. An EMPTY list means base platform β€” always available, never "nothing unlocks it". ⚠️ LOCKED CODES ARE RETURNED DELIBERATELY. A capability the organisation has not bought is worth knowing about: it is what the customer takes to their account manager. Do not report a locked permission as a capability Mesh lacks.

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    }
  },
  "required": [
    "org"
  ],
  "additionalProperties": false
}
🟒list_credentials(org)

The machine credentials (client id + secret pairs) that exist in this organisation, with the permissions each one holds. ⚠️ Secrets are never returned β€” they are shown once, at creation. To change what an existing credential may do without disturbing anything holding its secret, use update_credential_permissions.

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    }
  },
  "required": [
    "org"
  ],
  "additionalProperties": false
}
πŸ”΄create_credential(org, name, description, permissionCodes, driver)

Mint a client id + secret an application uses to call the Mesh APIs with the OAuth2 client_credentials grant. ⚠️ The secret is returned ONCE and cannot be retrieved again β€” write it straight into the application you are building (a .env or secret store), not into a file that gets committed. ⚠️ The client id and secret are the ONLY two values a human needs to supply β€” call get_connection_details for the token endpoint, the issuer and every API base URL rather than asking the developer for them, and send NO scope when exchanging the credential. Grant only the permissions the application needs; you can add more later with update_credential_permissions, which leaves the secret alone.

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    },
    "name": {
      "type": "string",
      "description": "A short identifying name, e.g. \"dispatch-service\"."
    },
    "description": {
      "type": "string",
      "description": "Optional note about what uses it."
    },
    "permissionCodes": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Permission codes this credential may use, e.g. [\"orders.read\",\"orders.write\"]. πŸ”΄ TAKE THEM FROM list_permissions, which is the grantable catalogue and says per code whether this organisation may have it. Not from describe_org, which returns your own permissions as a person. ⚠️ A code the organisation has not unlocked refuses the WHOLE call with 400 permission_not_unlocked, and a code still waiting for the organisation to accept terms (missingConsents in list_permissions) refuses it with 400 consent_required naming each document β€” nothing partial is created. Grant the fewest that do the job."
    },
    "driver": {
      "type": "boolean",
      "description": "Also register this credential as a driver, so its tokens carry driver_id. Only for a credential that reports vehicle telemetry."
    }
  },
  "required": [
    "org",
    "name",
    "permissionCodes"
  ],
  "additionalProperties": false
}
πŸ”΄create_sign_in_app(org, name, description, redirectUris, permissions)

πŸ”΄ USE THIS WHEN A PERSON NEEDS TO LOG IN to the application you are building. It registers your application with Mesh and returns a public OAuth client id plus the address to send people to. β›” DO NOT build a password field, store a password hash, or create a users table with credentials in it β€” Mesh already holds the organisation's people and renders the sign-in screen; your application redirects to it and receives a token back. ⚠️ THIS IS NOT create_credential. That mints a machine credential with a secret, for your server calling Mesh as itself. This mints a PUBLIC client with NO secret, for logging a human in. Using the machine credential to represent a person means every action is attributed to the application instead of to whoever performed it. ⚠️ FOR THE ORGANISATION'S OWN PEOPLE β€” dispatchers, operations managers, supervisors, who are already Mesh users with memberships and permissions. Signing in the organisation's own END-CUSTOMERS is a separate registration against a separate identity space and is not this tool. ⭐ IF YOUR APPLICATION HAS A BACK END OF ITS OWN, IT CAN VALIDATE THE TOKEN. The response carries an `audience`. Verify the token signature against the issuer's published keys and require that its `aud` claim contains that value β€” that is how your API knows the token was minted for your application and not somebody else's. Having checked it, forward the same token to Mesh's APIs unchanged; there is no exchange step. ⚠️ The redirect addresses are the security control and are validated: absolute https only (http is accepted on localhost and 127.0.0.1 for development), no wildcards, no fragments. Register every address your application actually uses β€” including your local development one. You can add more later with update_sign_in_app, which leaves the client id alone. ⭐ TO PUT THE ORGANISATION'S NAME AND COLOURS ON THE SIGN-IN SCREEN, call set_sign_in_branding afterwards β€” usually without a signInAppId, so every application the organisation registers is branded the same way. πŸ”΄ permissions IS THE MOST THIS APPLICATION MAY EVER DO, AND IT IS REQUIRED. A person signing in through it gets the OVERLAP of this list and their own permissions β€” so an application registered for stops cannot create a geofence even when an administrator signs into it. β›” DO NOT list every permission the organisation has "to be safe": that is the ceiling not existing, and it is the whole reason this field is here. List what the application actually calls. ⚠️ An EMPTY list is a real answer and means the application can identify a person and reach no Mesh API β€” correct if all you need is who they are. Codes come from list_permissions; a code this organisation cannot grant is refused and the message names it.

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    },
    "name": {
      "type": "string",
      "description": "A short identifying name for the application, e.g. \"dispatch-console\"."
    },
    "description": {
      "type": "string",
      "description": "Optional note about what it is."
    },
    "redirectUris": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Where Mesh returns the person after they sign in, e.g. [\"https://dispatch.example.com/auth/callback\",\"http://localhost:3000/auth/callback\"]. πŸ”΄ These are the ONLY addresses a sign-in may return to, which is what stops somebody else completing a login and keeping the token. Absolute https; http only on localhost or 127.0.0.1. No wildcards β€” a pattern matches subdomains that do not exist yet, including ones an attacker can create."
    },
    "permissions": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The MOST this application may ever do β€” a ceiling, not a grant. A person signing in receives the overlap of this and their own permissions. Codes from list_permissions, e.g. [\"stops.read\",\"stops.write\"]. πŸ”΄ List only what the application actually calls: handing it everything the organisation has is the ceiling not existing. An empty array is valid and means the application can identify a person and reach no Mesh API."
    }
  },
  "required": [
    "org",
    "name",
    "redirectUris",
    "permissions"
  ],
  "additionalProperties": false
}
🟒list_sign_in_apps(org)

The sign-in applications registered in this organisation. πŸ”΄ CALL THIS BEFORE create_sign_in_app β€” if the application you are building already has a registration, reuse its client id rather than minting a second one. A duplicate is not harmless: it is another live way into the organisation that nobody is tracking. ⚠️ Redirect addresses are NOT in this list, deliberately β€” they live in the authorization server and fetching them would cost a round trip per application. Use get_sign_in_app for one application to see what is actually being enforced. There are no secrets here. A sign-in application is a public client and has none.

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    }
  },
  "required": [
    "org"
  ],
  "additionalProperties": false
}
🟒get_sign_in_app(org, signInAppId)

One sign-in application, including the redirect addresses the authorization server is ACTUALLY enforcing β€” read back from it rather than from a stored copy, so this is the truth rather than what was once requested. ⭐ Also returns the `audience` your own back end should validate the token against. If a sign-in is being refused, the redirect address here is the first thing to compare against the one your application is sending: they must match exactly.

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    },
    "signInAppId": {
      "type": "integer",
      "description": "From list_sign_in_apps."
    }
  },
  "required": [
    "org",
    "signInAppId"
  ],
  "additionalProperties": false
}
πŸ”΄update_sign_in_app(org, signInAppId, name, description, redirectUris, ...)

Change the name, the description, or the redirect addresses. πŸ”΄ THE CLIENT ID DOES NOT CHANGE, so every copy of your application keeps working β€” this is what to use when the application moves from localhost to a real address, not a second create_sign_in_app. ⚠️ redirectUris REPLACES THE WHOLE LIST β€” it does not add to it. Send every address you want to keep. Read the current set with get_sign_in_app first and include the ones you are keeping, or you will quietly remove them and break a sign-in that works today. ⚠️ Changing redirect addresses can break sign-in for every user of the application at once, because an address that is no longer registered is one Mesh will refuse to return anybody to. ⚠️ permissions ALSO REPLACES THE WHOLE CEILING. πŸ”΄ This is how you NARROW an application you no longer trust β€” a permission removed here stops reaching tokens from this application whoever signs in. A token already issued keeps its claims until it expires, up to fifteen minutes. Read the current set with get_sign_in_app first and send the complete list you want, or you will quietly remove permissions the application depends on.

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    },
    "signInAppId": {
      "type": "integer",
      "description": "From list_sign_in_apps."
    },
    "name": {
      "type": "string",
      "description": "A new name. Omit to leave unchanged."
    },
    "description": {
      "type": "string",
      "description": "A new note. Omit to leave unchanged."
    },
    "redirectUris": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The COMPLETE list of addresses the application should end up with. Anything you omit is removed. Absolute https; http only on localhost or 127.0.0.1; no wildcards."
    },
    "permissions": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The COMPLETE ceiling the application should end up with. Anything you omit is removed β€” which is how you narrow one you no longer trust. Omit the field entirely to leave the ceiling unchanged."
    }
  },
  "required": [
    "org",
    "signInAppId"
  ],
  "additionalProperties": false
}
🟒get_sign_in_branding(org, signInAppId)

What a person sees on Mesh's sign-in screen: the brand name and colours. Pass signInAppId for one application β€” the answer shows its own branding, the EFFECTIVE branding (its own, falling back to the organisation default) and which of the two applies. Omit it for the organisation default, which every application without its own uses. ⚠️ THIS IS NOT WHITE-LABELING. The white-labeling API stores branding by web address for the tenant's own pages; the sign-in screen never reads it. Brand the sign-in screen with set_sign_in_branding.

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    },
    "signInAppId": {
      "type": "integer",
      "description": "From list_sign_in_apps. Omit for the organisation default."
    }
  },
  "required": [
    "org"
  ],
  "additionalProperties": false
}
πŸ”΄set_sign_in_branding(org, signInAppId, brandName, showBrandName, primaryColor, ...)

πŸ”΄ USE THIS TO PUT THE ORGANISATION'S NAME AND COLOURS ON MESH'S SIGN-IN SCREEN β€” the page people reach from an application registered with create_sign_in_app. Pass signInAppId to brand one application; omit it to set the organisation default, which every application without its own branding uses (usually what you want). ⭐ TAKES EFFECT ON THE NEXT SIGN-IN. There is nothing to wait for and nothing to deploy. A person already part-way through signing in finishes on the old screen. ⚠️ FIELDS YOU OMIT ARE LEFT AS THEY ARE. To remove one, name it in `clear`. To remove all of an application's own branding, use reset_sign_in_branding. ⚠️ Colours are six-digit hex such as #1E6B52. The primary colour fills the button, links and focus ring β€” CHECK IT AGAINST WHITE: a pale one gives a button nobody can read. ⭐ A branded screen carries no Mesh identity β€” no Mesh grid, colours, wordmark or "Powered by Mesh". β›” VALUES ONLY. There is no way to supply CSS, markup, fonts or a stylesheet, deliberately: this is the page where a password is typed. To add a logo, use set_sign_in_logo. ⚠️ THIS IS NOT WHITE-LABELING. The white-labeling API stores branding for the tenant's own web addresses; the sign-in screen does not read it.

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    },
    "signInAppId": {
      "type": "integer",
      "description": "From list_sign_in_apps. Omit to set the organisation default."
    },
    "brandName": {
      "type": "string",
      "description": "The name on the screen, up to 60 characters. A branded screen always has one: without it, the organisation name is used."
    },
    "showBrandName": {
      "type": "boolean",
      "description": "false when the logo already contains the name, so it is not shown twice. The name still describes the logo to screen readers and titles the page."
    },
    "primaryColor": {
      "type": "string",
      "description": "Hex, e.g. #1E6B52. Button, links, focus ring."
    },
    "secondaryColor": {
      "type": "string",
      "description": "Hex. Stored; not used by the sign-in screen yet."
    },
    "accentColor": {
      "type": "string",
      "description": "Hex. Stored; not used by the sign-in screen yet."
    },
    "backgroundColor": {
      "type": "string",
      "description": "Hex. The brand panel (split) or the whole page (centered). Text over it turns dark or light automatically."
    },
    "layout": {
      "type": "string",
      "enum": [
        "split",
        "split-right",
        "centered",
        "fullscreen",
        "card"
      ],
      "description": "split: brand panel left of the form (default). split-right: panel on the right. centered: one column, logo and name above the form. fullscreen: the background image fills the page and the form floats over it. card: the background fills the page and the sign-in box sits in the middle with your logo and name inside it."
    },
    "cardStyle": {
      "type": "string",
      "enum": [
        "solid",
        "glass"
      ],
      "description": "solid (default) or glass β€” a frosted card that lets a background image show through."
    },
    "fontStyle": {
      "type": "string",
      "enum": [
        "modern",
        "serif",
        "rounded"
      ],
      "description": "The typeface: modern (default), serif or rounded."
    },
    "clear": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "brandName",
          "primaryColor",
          "secondaryColor",
          "accentColor",
          "logoKey",
          "backgroundColor",
          "layout",
          "backgroundImageKey",
          "cardStyle",
          "fontStyle",
          "showBrandName"
        ]
      },
      "description": "Fields to remove, so they fall back to the organisation default (or to Mesh's own)."
    }
  },
  "required": [
    "org"
  ],
  "additionalProperties": false
}
πŸ”΄set_sign_in_logo(org, data, purpose, signInAppId)

Upload an image and show it on Mesh's sign-in screen, in one call. Pass signInAppId for one application; omit it for the organisation default, which every application without its own branding uses. ⚠️ PNG, JPEG or WebP, up to 256 KB, base64-encoded in `data`. β›” NO SVG β€” it can carry script, and this image is drawn on the page where a password is typed. A wide logo on a transparent background reads best; it is drawn about 40 pixels high. ⚠️ THE IMAGE IS PUBLIC. It is served to people who have not signed in yet. Upload nothing you would not put on a website. ⭐ Takes effect on the next sign-in. To remove the logo, call set_sign_in_branding with clear: ["logoKey"].

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    },
    "data": {
      "type": "string",
      "description": "The image file, base64-encoded (a data: URL prefix is accepted)."
    },
    "purpose": {
      "type": "string",
      "enum": [
        "logo",
        "background"
      ],
      "description": "logo (default, up to 256 KB) or background (up to 2 MB) β€” a full-page image behind the sign-in form."
    },
    "signInAppId": {
      "type": "integer",
      "description": "From list_sign_in_apps. Omit for the organisation default."
    }
  },
  "required": [
    "org",
    "data"
  ],
  "additionalProperties": false
}
πŸ”΄reset_sign_in_branding(org, signInAppId)

Remove branding. With signInAppId, that application goes back to the organisation default. Without it, the organisation default is removed and every application without its own branding shows Mesh's own screen. Takes effect on the next sign-in.

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    },
    "signInAppId": {
      "type": "integer",
      "description": "From list_sign_in_apps. Omit to remove the organisation default."
    }
  },
  "required": [
    "org"
  ],
  "additionalProperties": false
}
πŸ”΄delete_sign_in_app(org, signInAppId)

Permanently remove a sign-in application. πŸ”΄ EVERY PERSON WHO SIGNS IN THROUGH IT STOPS BEING ABLE TO, immediately β€” this is not like revoking a machine credential that one service holds, it is every user of that application at once. ⚠️ Irreversible, and the client id is not reissued. Confirm the id with list_sign_in_apps first. If the goal is only to change where people are returned to, use update_sign_in_app, which leaves the client id and every existing sign-in working.

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    },
    "signInAppId": {
      "type": "integer",
      "description": "From list_sign_in_apps."
    }
  },
  "required": [
    "org",
    "signInAppId"
  ],
  "additionalProperties": false
}
🟒list_members(org)

Everyone who has access to this organisation, active and suspended, with whether each one is the owner. ⚠️ SOMEBODY INVITED WHO HAS NOT ACCEPTED IS NOT HERE. They hold no membership until they accept β€” use list_invitations to see those, which is also where you look when someone says "I invited them and nothing happened".

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    }
  },
  "required": [
    "org"
  ],
  "additionalProperties": false
}
πŸ”΄set_member_status(org, userId, status)

Suspend somebody to refuse them access while keeping them and everything they have done, or reactivate them to let them back in. πŸ”΄ THIS IS THE REVERSIBLE ONE β€” prefer it to remove_member whenever the person might come back, or while something is being looked into. ⚠️ A token already issued keeps working until it expires, which is at most fifteen minutes. What stops at once is the minting of new ones. β›” The organisation owner cannot be suspended; it would leave nobody able to administer the organisation.

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    },
    "userId": {
      "type": "integer",
      "description": "From list_members."
    },
    "status": {
      "type": "string",
      "enum": [
        "active",
        "suspended"
      ],
      "description": "`suspended` to refuse access, `active` to restore it."
    }
  },
  "required": [
    "org",
    "userId",
    "status"
  ],
  "additionalProperties": false
}
πŸ”΄remove_member(org, userId)

Removes their membership. ⚠️ IRREVERSIBLE β€” they must be invited again to return, and the new invitation has to be accepted. If there is any chance they come back, use set_member_status with `suspended` instead. ⭐ Their user record survives, deliberately: they may belong to other organisations, and everything they created still refers to them, so removing the record would make the organisation's own history unreadable. β›” The organisation owner cannot be removed.

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    },
    "userId": {
      "type": "integer",
      "description": "From list_members."
    }
  },
  "required": [
    "org",
    "userId"
  ],
  "additionalProperties": false
}
🟒list_invitations(org)

Every invitation β€” pending, accepted and revoked β€” newest first. ⚠️ `status` records what happened to an invitation (pending, accepted, revoked); `isExpired` records whether its link can still be used. Read both: a `pending` invitation with `isExpired: true` needs resend_invitation before it can be accepted.

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    }
  },
  "required": [
    "org"
  ],
  "additionalProperties": false
}
πŸ”΄invite_person(org, email, expiresInDays)

πŸ”΄ USE THIS TO ADD A PERSON TO AN ORGANISATION. Mesh emails the invitation to the address given, and the response carries `invitationUrl` β€” THE SAME LINK THE EMAIL CONTAINS. ⭐ Hand that link to the person who asked for the invitation as well: it lets them pass it on straight away, in whatever channel they are already using. β›” DO NOT ASK FOR, GENERATE OR STORE A PASSWORD. The invited person sets their own on Mesh's own sign-in screen when they open the link. Mesh never accepts a password through any API and never will. ⚠️ ONE PENDING INVITATION PER ADDRESS. Inviting the same person twice is refused β€” use resend_invitation to remind them, which keeps the original link working. ⚠️ This grants access to the ORGANISATION. What the person may do inside the tenant's own application is a separate matter, handled by the users API, not here.

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    },
    "email": {
      "type": "string",
      "description": "The address to invite."
    },
    "expiresInDays": {
      "type": "integer",
      "description": "How long the invitation stays open. Defaults to 7; 30 is the most allowed."
    }
  },
  "required": [
    "org",
    "email"
  ],
  "additionalProperties": false
}
πŸ”΄revoke_invitation(org, invitationId)

Kills the invitation and its link immediately. This is what to use when an invitation went to the wrong address. ⚠️ Only a PENDING invitation can be revoked. One already accepted is a membership now β€” use remove_member instead.

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    },
    "invitationId": {
      "type": "integer",
      "description": "From list_invitations."
    }
  },
  "required": [
    "org",
    "invitationId"
  ],
  "additionalProperties": false
}
πŸ”΄resend_invitation(org, invitationId, expiresInDays)

Pushes a pending invitation’s expiry out and queues the message again. ⭐ THE LINK DOES NOT CHANGE, so anything already sent still works β€” which is what makes this safe to use for somebody who has lost the original, and why it returns the same `invitationUrl` you can hand over again. Use this rather than inviting the same address a second time, which is refused.

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    },
    "invitationId": {
      "type": "integer",
      "description": "From list_invitations."
    },
    "expiresInDays": {
      "type": "integer",
      "description": "New window from now. Defaults to 7; 30 is the most allowed."
    }
  },
  "required": [
    "org",
    "invitationId"
  ],
  "additionalProperties": false
}
πŸ”΄update_credential_permissions(org, apiClientId, permissionCodes)

Replace the permissions on an existing credential. πŸ”΄ THE CLIENT ID AND SECRET ARE UNCHANGED, so nothing holding them has to be updated β€” this is what to use when an application needs to reach a newly released API. The alternative, revoking and re-minting, invalidates a secret that is already deployed and forces every holder of it to change. ⚠️ IT REPLACES, IT DOES NOT ADD. Send the complete set the credential should end up with. Read the current set from list_credentials first and include the ones you are keeping, or you will quietly remove them. ⚠️ Tokens already issued keep the permissions they were minted with until they expire, which is at most fifteen minutes. The next token carries the new set.

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    },
    "apiClientId": {
      "type": "integer",
      "description": "From list_credentials."
    },
    "permissionCodes": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The COMPLETE set of permission codes the credential should hold afterwards, from list_permissions. Anything you omit is removed. The list may not be empty."
    }
  },
  "required": [
    "org",
    "apiClientId",
    "permissionCodes"
  ],
  "additionalProperties": false
}
πŸ”΄revoke_credential(org, apiClientId)

Permanently revoke a machine credential. Anything still using it stops working immediately. ⚠️ Irreversible β€” confirm the id with list_credentials first, and if the goal is only to change what it may do, use update_credential_permissions instead, which leaves the secret working.

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    },
    "apiClientId": {
      "type": "integer",
      "description": "From list_credentials."
    }
  },
  "required": [
    "org",
    "apiClientId"
  ],
  "additionalProperties": false
}
🟒list_modules(org)

The Mesh modules this organisation can see, whether it has each one, and which APIs each unlocks. πŸ”΄ THIS IS THE ANSWER TO "WHAT CAN THIS ORGANISATION DO" β€” check it before building against an API, because a contract for a module the organisation does not have will generate, compile and deploy, then fail with 403 at run time. ⚠️ The enabled flag is READ-ONLY, to the customer and to you. Modules are granted by Locate2u as terms of the enterprise agreement, not chosen from a menu, so no call turns one on: if one is missing, tell the customer to contact their Locate2u account manager. What the customer CAN change is how an enabled module behaves β€” see describe_module_settings. ⚠️ THIS IS NOT THE WHOLE CATALOGUE AND YOU SHOULD NOT DESCRIBE IT AS ONE. Each module carries a releaseStage β€” planned, alpha, beta or live β€” and an organisation is shown modules at or above its own release channel, which defaults to live. So an ordinary customer sees released product only. Do not tell a customer that Mesh "does not have" a capability on the strength of this list; tell them it is not available to them, and that their account manager is the way to ask. ⚠️ A releaseStage of beta means usable and worth building against, with its limitation stated in the module description β€” read that description before promising behaviour. alpha means the shape will still change and you should not build against it.

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    }
  },
  "required": [
    "org"
  ],
  "additionalProperties": false
}
🟒describe_module_settings(org, moduleCode)

What each setting of a module means, what values it accepts, and what it is by default. πŸ”΄ CALL THIS BEFORE set_module_settings β€” the keys are not guessable and a wrong one is refused rather than stored. Read-only and the same for every organisation, so one call covers the whole conversation. ⚠️ An empty list is a normal answer: it means the module works as-is with no configuration. Use moduleCode "general" for the platform-wide settings that belong to no module. ⚠️ Settings are a different axis from entitlement, and they are NOT gated on it. A module the organisation does not have can still be configured β€” the value is stored and takes effect if the module is ever granted. Do not refuse to read or write a setting because list_modules shows the module disabled.

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    },
    "moduleCode": {
      "type": "string",
      "description": "From list_modules, or \"general\" for platform-wide settings."
    }
  },
  "required": [
    "org",
    "moduleCode"
  ],
  "additionalProperties": false
}
🟒get_module_settings(org, moduleCode)

This organisation’s current value for every setting of a module β€” their own where they have set one, the platform default where they have not. ⚠️ Values only: what each setting MEANS, and what it will accept, is describe_module_settings. ⚠️ A value equal to the default does not tell you whether the organisation chose it or never looked.

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    },
    "moduleCode": {
      "type": "string",
      "description": "From list_modules, or \"general\" for platform-wide settings."
    }
  },
  "required": [
    "org",
    "moduleCode"
  ],
  "additionalProperties": false
}
πŸ”΄set_module_settings(org, moduleCode, settings, resetKeys)

Change what the platform does on this organisation’s behalf. Pass only the settings you are changing β€” anything you leave out is untouched, so you never need to read-then-write-everything, and two editors cannot overwrite each other. πŸ”΄ A SETTING CAN SWITCH ON AUTOMATION THAT WRITES TO REAL DELIVERY RECORDS. Say what you are changing and why before doing it; do not tune settings speculatively. ⚠️ null SETS A SETTING TO NULL. It does not clear it. To put a setting back to the platform default, name it in `resetKeys` instead β€” that is the only thing that means "forget my answer". ⚠️ An unrecognised key is REFUSED and nothing in the batch is applied. Call describe_module_settings for the real keys rather than guessing a spelling. ⚠️ A CALL COMBINING `resetKeys` AND `settings` IS NOT ATOMIC. Each reset is its own request and the change is another, so a failure partway through leaves the earlier ones applied. When that happens the error names exactly what took effect and what did not β€” read it rather than retrying blind, because retrying re-applies resets that already happened. A call doing only one thing is a single request and cannot land half-way.

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    },
    "moduleCode": {
      "type": "string",
      "description": "From list_modules, or \"general\" for platform-wide settings."
    },
    "settings": {
      "type": "object",
      "additionalProperties": true,
      "description": "Setting keys to new values, e.g. {\"automaticStopRadiusMetres\": 2000}. Keys come from describe_module_settings and do NOT repeat the module name. Omit a setting to leave it alone."
    },
    "resetKeys": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Settings to put back to the platform default, discarding this organisation’s own value. Use this instead of sending null, which stores null as the value."
    }
  },
  "required": [
    "org",
    "moduleCode"
  ],
  "additionalProperties": false
}
🟒get_map_quickstart(org)

Everything needed to show a Mesh map in a web application: the package to install, a complete working example, the themes available, and what the control deliberately will not do. πŸ”΄ Call this BEFORE writing any map code. The alternative β€” wiring MapLibre against the tiles API by hand β€” means rediscovering unguessable path segments, credential threading, version pinning and token refresh, and it fails in a way that answers HTTP 200 and draws a blank grey rectangle with nothing in the console. ⚠️ This returns the whole recipe as text because you cannot fetch our documentation site or a package README.

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    }
  },
  "required": [
    "org"
  ],
  "additionalProperties": false
}
🟒list_map_keys(org)

The map keys this organisation has, for drawing Mesh basemaps in a browser.

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    }
  },
  "required": [
    "org"
  ],
  "additionalProperties": false
}
πŸ”΄create_map_key(org, name, description, allowedOrigins, allowedTilesets)

Create a key for drawing Mesh basemaps in a browser. ⚠️ A map key is NOT a secret β€” it is pasted into page source and anyone viewing the page can read it. What protects it is allowedOrigins: the key works only from the websites you name. Passing ["*"] removes that protection and is the setting that makes a key worth stealing. ⚠️ An origin-locked key is REFUSED when the caller sends no Origin header β€” which is every server-side and mobile caller β€” so those need a map token, not a key with ["*"]. The key value is shown once. ➜ NEXT: do not wire up a map library yourself β€” `npm install @locate2u/mesh-map` and call `get_map_quickstart` for a complete working example.

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "allowedOrigins": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Websites this key may be used from. Scheme and path are ignored, so \"https://app.example.com/\" is stored as \"app.example.com\". A bare host allows any port on it (\"example.com\", \"localhost\"); naming a port restricts to exactly that port (\"localhost:5173\"); a leading \"*.\" matches subdomains AND the apex (\"*.example.com\" covers app.example.com and example.com β€” useful for preview deploys, e.g. \"*.vercel.app\"). \"*\" alone means any website at all (see the warning)."
    },
    "allowedTilesets": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Regions this key may read. Omit for every published region, which is the usual case."
    }
  },
  "required": [
    "org",
    "name",
    "allowedOrigins"
  ],
  "additionalProperties": false
}
πŸ”΄update_map_key(org, mapKeyId, allowedOrigins, allowedTilesets)

Amend an existing map key in place: which websites it works from, and which regions it may read. πŸ”΄ THE KEY VALUE IS UNCHANGED, so nothing already shipping it has to be updated β€” this is what to use when an application moves from a development server to a real domain, or gains a preview-deploy host. ⚠️ `allowedOrigins` REPLACES the list, it does not add to it. Send every origin the key should work from afterwards, including the ones you are keeping β€” read the current list from list_map_keys first. Dropping "localhost:5173" by forgetting to repeat it breaks the development build and the symptom is a blank grey rectangle. ⚠️ The name cannot be changed. It is what a person recognises the key by, and renaming a live credential is how the wrong one gets revoked.

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    },
    "mapKeyId": {
      "type": "integer",
      "description": "From list_map_keys."
    },
    "allowedOrigins": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The COMPLETE set of websites this key may be used from afterwards. Scheme and path are ignored. A bare host allows any port on it (\"example.com\", \"localhost\"); naming a port restricts to exactly that port (\"localhost:5173\"); a leading \"*.\" matches subdomains AND the apex (\"*.example.com\"). \"*\" alone removes the only protection a map key has."
    },
    "allowedTilesets": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The COMPLETE set of regions this key may read. Pass an empty list for every published region."
    }
  },
  "required": [
    "org",
    "mapKeyId"
  ],
  "additionalProperties": false
}
πŸ”΄revoke_map_key(org, mapKeyId)

Revoke a map key. Pages using it stop rendering maps immediately. ⚠️ Irreversible β€” if the goal is only to change which websites it works from, use update_map_key, which leaves the key value working.

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    },
    "mapKeyId": {
      "type": "integer",
      "description": "From list_map_keys."
    }
  },
  "required": [
    "org",
    "mapKeyId"
  ],
  "additionalProperties": false
}
🟒list_webhooks(org, cursor, limit)

Webhook subscriptions in this organisation β€” where Mesh posts events as they happen. ⚠️ PAGINATED: at most `limit` are returned (50 by default, 200 at most). When `nextCursor` comes back non-null there are MORE, and you must call again with `cursor` set to it β€” otherwise an organisation with many subscriptions is silently truncated and you will report one as missing when it exists.

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    },
    "cursor": {
      "type": "string",
      "description": "The `nextCursor` from a previous call, to fetch the next page. Omit for the first page."
    },
    "limit": {
      "type": "integer",
      "description": "How many to return, 1–200. Defaults to 50."
    }
  },
  "required": [
    "org"
  ],
  "additionalProperties": false
}
🟒get_webhook(org, subscriptionId)

One webhook subscription in full β€” its URL, the event filter, and whether it is active. ⚠️ The signing secret is NOT returned here and cannot be retrieved: it is shown once, at creation. If it has been lost, use rotate_webhook_secret.

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    },
    "subscriptionId": {
      "type": "string",
      "description": "From list_webhooks."
    }
  },
  "required": [
    "org",
    "subscriptionId"
  ],
  "additionalProperties": false
}
πŸ”΄create_webhook(org, name, url, description, eventTypes)

Subscribe a URL to Mesh events. Mesh signs each delivery with HMAC-SHA256 and retries failures. The signing secret is returned ONCE and cannot be retrieved again β€” store it with the application that will verify deliveries. ⚠️ NAME THE EVENT TYPES YOU INTEND TO HANDLE. A subscription with no filter receives EVERY event the platform emits, which is almost never what anyone wants. Read the available codes from an existing subscription with list_webhooks, or from the events section of the owning API contract. ⚠️ The URL must be a syntactically valid http(s) URL; Mesh POSTs to it exactly as given.

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    },
    "name": {
      "type": "string",
      "description": "A short identifying name, e.g. \"order-updates\"."
    },
    "url": {
      "type": "string",
      "description": "HTTPS endpoint Mesh will POST to."
    },
    "description": {
      "type": "string",
      "description": "Optional note about what consumes it."
    },
    "eventTypes": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Event type codes to receive, e.g. [\"order.created\"]. ⚠️ An empty list means EVERY event the platform emits."
    }
  },
  "required": [
    "org",
    "name",
    "url",
    "eventTypes"
  ],
  "additionalProperties": false
}
πŸ”΄update_webhook(org, subscriptionId, name, url, description, ...)

Change where a subscription posts, which events it receives, or whether it is active. Pass only what you are changing β€” anything you leave out is untouched, and the signing secret is never affected. πŸ”΄ `eventTypes` REPLACES THE WHOLE FILTER, it does not add to it. Send the complete list the subscription should end up with. An empty list stops filtering altogether and subscribes it to every event, which is a large change β€” say so before making it. ⚠️ Setting `active` to false stops deliveries without deleting the subscription. That is the reversible version of delete_webhook.

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    },
    "subscriptionId": {
      "type": "string",
      "description": "From list_webhooks."
    },
    "name": {
      "type": "string"
    },
    "url": {
      "type": "string",
      "description": "New HTTPS endpoint Mesh will POST to."
    },
    "description": {
      "type": "string"
    },
    "eventTypes": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The COMPLETE set of event type codes the subscription should receive afterwards."
    },
    "active": {
      "type": "boolean",
      "description": "false pauses deliveries without deleting the subscription; true resumes them."
    }
  },
  "required": [
    "org",
    "subscriptionId"
  ],
  "additionalProperties": false
}
πŸ”΄rotate_webhook_secret(org, subscriptionId)

Issue a fresh HMAC signing secret for a subscription. The new secret is returned ONCE β€” write it into the application that verifies deliveries before you finish. πŸ”΄ THE OLD SECRET STOPS WORKING IMMEDIATELY. Every delivery after this call is signed with the new one, so an application still holding the old secret rejects every webhook as forged. Rotate when a secret has leaked or been lost, and update the consumer in the same sitting.

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    },
    "subscriptionId": {
      "type": "string",
      "description": "From list_webhooks."
    }
  },
  "required": [
    "org",
    "subscriptionId"
  ],
  "additionalProperties": false
}
πŸ”΄delete_webhook(org, subscriptionId)

Stop delivering events to this subscription and remove it. ⚠️ Irreversible β€” to pause deliveries reversibly, call update_webhook with `active` set to false instead.

Input Schema

{
  "type": "object",
  "properties": {
    "org": {
      "type": "integer",
      "description": "The organisation id to act on, from list_orgs. Required β€” it is never defaulted or inferred from conversation."
    },
    "subscriptionId": {
      "type": "string",
      "description": "From list_webhooks."
    }
  },
  "required": [
    "org",
    "subscriptionId"
  ],
  "additionalProperties": false
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded43 tools