← all demos

Beach Permit

Beach Authority · overnight camping

{{ isSupported ? 'WebMCP forms active — 2 forms exposed as tools' : 'no agent detected — the forms work by hand too' }}

"apply for a beach permit at Le Morne, 2 nights, 4 people, we're bringing a tent and a kayak — name it Sandeep"

Neither form has a hand-written inputSchema. The browser reads toolname, tooldescription and each field's toolparamdescription off the markup and synthesizes the schema itself. One handler answers a person clicking Submit and an agent calling the tool — the agent's answer goes back through SubmitEvent.respondWith().

Apply

An agent is filling this in…

Gear

{{ applyError.message }}

No toolautosubmit on this one: an agent fills the fields and stops, and the permit is only issued once a person clicks the button.

Look one up

{{ checkError.message }}

{{ found }}

This one carries toolautosubmit: it only reads, so an agent may fill it in and submit it in one go, without waiting for a click.

Permits issued

None yet.

  • {{ permit.byAgent ? 'via agent' : 'by hand' }} {{ permit.reference }}
    Name
    {{ permit.name }}
    Beach
    {{ permit.beach }}
    Stay
    {{ permit.nights }} night{{ permit.nights === 1 ? '' : 's' }}, {{ permit.people }} people
    Gear
    {{ permit.gear.length ? permit.gear.join(', ') : '—' }}

Tool activity

  1. {{ entry.tool }} {{ entry.args }} {{ entry.result }} {{ entry.ms }}