{"lap":"1.0","updated":"2026-11-27T08:00:00Z","provider":{"name":"My Personal Gateway","url":"https://gw.example","description":"Self-hosted gateway holding the owner's platform tokens. Agents propose posts and messages; the owner approves or a grant allows them."},"profiles":["publish"],"rules":["Only the owner of this gateway can approve actions.","Use official platform APIs only; never automate a browser session."],"data":{"destinations":{"url":"https://gw.example/data/destinations.json","describes":"destinations[].code (for example fb_page, zalo_oa, tg_channel), destinations[].limits"}},"execute":{"endpoint":"https://gw.example/lap/execute","algs":["EdDSA"]},"keys":{"jwks":"https://gw.example/.well-known/jwks.json"},"actions":[{"id":"post.publish","kind":"execute","risk":"R2","profile":"publish","summary":"Publish a text post, optionally scheduled, to one connected destination. Owner approves on the preview page, or a grant with daily limits allows it.","url_template":"https://gw.example/post{?to,at}","params":{"to":{"type":"code","required":true,"source":"destinations#/destinations/*/code"},"at":{"type":"string","format":"date-time","description":"Schedule time; absent means now."}},"fragment":{"keys":{"text":{"type":"text","required":true,"description":"Post body, plain text with line breaks as %0A."}},"max_length":3000,"uploads":"https://gw.example (only on commit, as part of the owner's approval)"},"resolve":{"json":false},"commit":{"consent":"signed_or_interactive","idempotency":true},"receipt":{"url_template":"https://gw.example/r/{id}","json":true,"signed":true},"examples":[{"utterance":"Post the meeting reminder on my page","url":"https://gw.example/post?to=fb_page#text=Team+meeting+moved+to+3pm+today"}],"undo":{"action":"post.delete","within_seconds":300}},{"id":"post.delete","kind":"execute","risk":"R1","profile":"publish","summary":"Delete a post this gateway published, identified by its receipt id. Used to undo post.publish.","url_template":"https://gw.example/post/delete{?receipt}","params":{"receipt":{"type":"string","required":true,"description":"Receipt id of the post.publish commit to reverse."}},"resolve":{"json":true},"commit":{"consent":"signed_or_interactive","idempotency":true},"receipt":{"url_template":"https://gw.example/r/{id}","json":true,"signed":true},"examples":[{"utterance":"Take down the post I just published","url":"https://gw.example/post/delete?receipt=7K3QX9M"}]},{"id":"post.draft","kind":"propose","risk":"R1","profile":"publish","summary":"Save a post as a draft for later editing; nothing is published.","url_template":"https://gw.example/draft{?to}","params":{"to":{"type":"code","required":true,"source":"destinations#/destinations/*/code"}},"fragment":{"keys":{"text":{"type":"text","required":true}},"max_length":3000,"uploads":"https://gw.example (on commit)"},"commit":{"consent":"interactive","idempotency":true},"receipt":{"url_template":"https://gw.example/r/{id}","json":true},"examples":[{"utterance":"Draft a post about our weekend trip","url":"https://gw.example/draft?to=fb_page#text=Notes+from+our+weekend+trip"}]}]}