Homespun

v1.6.98
dev.homespun/homespun Checked 13 hours ago Published 1 month ago

Deploy a multi-user web app from your agent: hosting, auth, database, and permissions.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

document_upload Upload App Document

Create a short-lived, byte-scoped upload session for an HTML document authored in a native editor or shell. The caller supplies the exact UTF-8 byte length and SHA-256 hex digest as { size, sha256, app_id? }. The returned `upload_url` accepts a PUT of those raw UTF-8 bytes with `Authorization: Bearer <upload_token>`; this ticket can upload only the declared bytes and is not an account credential. The returned `document_id` is used by `deploy_app` and is mutually exclusive with `html` and `html_path`. The ticket expires after 15 minutes. A retry with the same ticket and deploy parameters return…

ParameterTypeDescription
sha256 *stringSHA-256 hex digest of the exact UTF-8 HTML bytes to upload.
size *integerUTF-8 byte length of the HTML document.
app_idstringExisting app id when this upload is for a redeploy; omit for a create.

deploy_app Deploy App

Deploy a v2 app: an HTML document plus a capability manifest, hosted at its own URL. For sandbox-authored files in hosted chat, native file editing and shell tools can create and validate the document. Its UTF-8 byte length and SHA-256 go to `document_upload`; the exact raw bytes are PUT to the returned `upload_url` with `Authorization: Bearer <upload_token>`, and the returned `document_id` is passed here. This works from any network-capable shell and does not require installing the Homespun CLI. Use `dry_run:true` first, then deploy with the same document_id and parameters. The 15-minute tick…

ParameterTypeDescription
app_idstringOmit to create a new app; pass an existing app's id to redeploy it (a new version, compat-gated unless force:true).
assetsarrayOptional bundle of files shipped with the app in one deploy: images, fonts, audio/video, data. Each asset either carries its bytes inline as `content_base64` or references an already-uploaded attachme…
checkbooleanAlias for `dry_run`.
document_idstringReference returned by `document_upload` after you PUT the exact UTF-8 HTML bytes to its upload_url with `Authorization: Bearer <upload_token>`. Mutually exclusive with `html` and `html_path`. Use this…
dry_runbooleanValidate only: run the full manifest + asset-shape validation, the compat gate (for a redeploy), and the schedule-timezone advisory, then return { ok, warnings, compat?, breaks? } without creating a v…
forcebooleanRedeploy only. Bypasses the compat gate, whether it fired on a stranded-rows narrowing or on a widening of what the install screen discloses (a removed collection is detached, never deleted).
htmlstringThe app's UI as a complete HTML document (single file, with CSS and JS inline), sent inline. Capped at 2 MB of UTF-8; over that the deploy is refused with 413 document_size_exceeded. A document near t…
html_pathstringAbsolute path to the app's HTML document, read on the MCP-server host (the machine running this connector: the relay for a hosted connector, or the CLI host for a locally-run one), not on the remote a…
manifestobjectThe x-homespun-manifest capability document (a JSON object). Required to create; on a redeploy an omitted `manifest` keeps the live one, which fits most redeploys (the manifest was byte-identical to t…
slugstringCreate only. Accepted with visibility private or public, including the private default; rejected with explicit visibility 'link', where the slug is always server-generated.
visibilitystringCreate only. Default 'private' (owner plus invited members, sign-in gated). 'link' shares with anyone holding the returned share_url, whose #k= fragment carries a secret key that can be reset (rotate…

list_rows List Rows

List rows in a v2 app's mutable collection. This is also how a collection's current state is polled, since MCP has no streaming: pass the prior next_cursor as `since` to fetch only rows that are new or changed. Returns { rows, next_cursor, has_more }.

ParameterTypeDescription
app_id *stringThe app id.
collection *stringThe collection name declared in the app's manifest.
limitintegerPage size.
sincestringOpaque cursor from a previous call's next_cursor. Also the poll handle: pass it back to fetch only newer/changed rows.

count_rows Count Rows

The live row count of a v2 app's collection (spec B4, issue #1056), a whole-scope total with no filter and no paging. Gated by the collection's countRead opt-in, independent of its read list: a collection that opted in returns its count even to a caller who cannot list the rows (the '3 spots left' shape), and a collection that never opted in refuses with collection_count_forbidden even for a caller who could otherwise list. Returns { count }.

ParameterTypeDescription
app_id *stringThe app id.
collection *stringThe collection name declared in the app's manifest.

get_row Get Row

Fetch a single row by its key from a v2 app collection, through a dedicated relay route rather than a client-side scan. Returns { row }, or an isError row_not_found.

ParameterTypeDescription
app_id *stringThe app id.
collection *stringThe collection name.
key *stringThe key of the row to fetch.

add_row Add Row

Create a row in a v2 app's collection, or return the existing row when `key` is already present (deduped:true). Row creation goes through this tool; there is no separate strict-create verb. Omit `key` to add a new row with a server-generated key, or pass `key` to ensure a row exists at that key. Passing `key` is also what makes a retry safe: a call unsure whether it already landed can repeat it and get the same row back rather than a duplicate. Without `key`, a retry mints a second row with its own server-generated key, since there is nothing to dedup against. The collection must be declared i…

ParameterTypeDescription
app_id *stringThe app id.
collection *stringThe collection name.
data *The row body - any JSON value valid against the collection's row schema (an object, or any JSON value for a schemaless collection).
keystringOptional stable key. Reusing an existing key returns the existing row (deduped:true), or row_not_found when the collection's read list does not reach that row for the caller.

update_row Update Row

Update an existing row in a v2 app's collection, replacing its data. Gated by the collection's `update` role list when it declares one, and by its `write` list otherwise, so a collection that scopes updates to the row's `creator` refuses an edit on someone else's row. Pass if_match with the row's current version for an optimistic-locked update; on a version mismatch the relay returns the current row, which is what a retry needs. Returns { row }.

ParameterTypeDescription
app_id *stringThe app id.
collection *stringThe collection name.
data *The new row body (replaces the row's data) - any JSON value valid against the collection's row schema.
key *stringThe key of the row to update.
if_matchintegerOptional optimistic-lock version. On mismatch the update is rejected with the current row in details.current.

delete_row Delete Row

Soft-delete a row from a v2 app's collection. Recoverable: the row is tombstoned, not destroyed, and restore_row brings it back for 30 days (see list_deleted_rows). A watcher sees the deletion live as op:delete on the change feed. Pass if_match for an optimistic-locked delete. Returns { deleted: true }.

ParameterTypeDescription
app_id *stringThe app id.
collection *stringThe collection name.
key *stringThe key of the row to delete.
if_matchintegerOptional optimistic-lock version.

list_deleted_rows List Deleted Rows

List a collection's recently deleted rows: the recovery bin. Deleting a row is a soft delete, so it can be restored with restore_row until recoverable_until passes (30 days after deletion by default). Owner or agent only, and deliberately independent of the collection's read permissions. Rows already purged appear with purged:true and cannot be restored. Returns { rows, next_before }.

ParameterTypeDescription
app_id *stringThe app id.
collection *stringThe collection name.
beforestringCursor for the next page: pass back the previous page's next_before.
limitintegerMax rows to return (default 100).

restore_row Restore Row

Restore a soft-deleted row, undoing delete_row. The row comes back with its original data and creator, its version bumped. Find restorable keys with list_deleted_rows. Owner or agent only. Fails with restore_expired if the row was purged, or restore_conflict if another live row took a unique value this one held while it was deleted. Returns { row }.

ParameterTypeDescription
app_id *stringThe app id.
collection *stringThe collection name.
key *stringThe key of the deleted row to restore.

get_feed_events Get App Feed Events

Poll a v2 app's change feed for what has happened: row creates, updates and deletes, from any writer, agent or human. It is the long-poll analogue of `homespun apps watch`, since MCP has no streaming. The loop is: call with no `since` first, process the returned entries, keep the cursor, then call again passing it as `since` to get only newer entries. Passing wait (around 25) holds the request open until an entry arrives or it times out, which is how the feed is waited on rather than busy-polled. A `since` older than the retention floor returns resync_required, and the collections are then re-…

ParameterTypeDescription
app_id *stringThe app id.
limitintegerMax entries per page (capped server-side by FEED_PAGE_MAX).
sinceintegerOpaque numeric cursor from a previous call's cursor. Omit (or 0) to read from the beginning.
waitintegerOptional long-poll: how long the relay holds the request open waiting for a new entry (0-30s). Use ~25 when waiting for activity, then call again with the same cursor.

apps Manage Apps

The v2 app lifecycle apart from creation and redeploy, which deploy_app covers. Actions: list returns the owning human's apps; show returns full detail including manifest, timezone and has_share_token; audit is a read-only security review of every app the caller owns, computed from each app's stored manifest, which is what makes it see apps that were deployed once and never redeployed (a deploy-time warning never reaches those). It reports collections whose declared permissions expose them, worst first: severity 'high' means an anonymous visitor can exploit it today, typically a collection tha…

ParameterTypeDescription
action *stringlist: the caller's owning human's apps. show/update/delete/wake: act on one app (app_id). audit: read-only security review of every app the caller owns. share_link_rotate: rotate a 'link' app's share…
app_idstringRequired for show/update/share_link_rotate/delete/restore/purge/wake/domain_set/domain_status/domain_remove.
cursorstringlist only. Opaque cursor from a previous next_cursor.
domainstringdomain_set: the bare custom domain to bind (e.g. app.example.com); the response's dns_records lists the DNS entries the domain owner must publish. domain_remove: optional, the one domain to unbind - o…
limitintegerlist only. Page size.
severitystringaudit only. Return findings of this severity only. The response's `counts` always describe the whole audit, so filtering never hides that other findings exist.
slugstringlist only. Exact-match slug filter.
statusstringlist only. Default: active. 'all' means every live status; deleted apps are never in this list, use action list_deleted for those.
timezonestringupdate only. The app's IANA timezone for `schedules` reminders (e.g. Europe/Berlin). An app that declares schedules with no timezone fires reminders at 08:00 UTC.
visibilitystringupdate only. The new visibility (slug is immutable).

members Manage App Members

A v2 app's membership (auth spec section 6): who besides the owner can sign in to a private app and write to member-scoped collections. Actions: add invites or attaches a member by email, attaching immediately when the email already has a Human and otherwise sending a magic-link invite; list returns the app's owner and members; set_role changes an existing member's declared custom role in place, or clears it when null, and leaves their sessions intact, which is what makes it the way to re-role someone rather than removing and re-adding them; remove is idempotent and also revokes the human's li…

ParameterTypeDescription
action *stringadd: invite-or-attach a member by email (app_id+email; optional custom_roles). list: the app's owner + members (app_id). set_role: replace an existing member's declared roles in place without signing…
app_id *stringThe app id.
custom_rolesarrayadd (optional) and set_role (required). The declared roles (x-homespun-manifest.roles keys) attached to the member alongside their base member powers. A member may hold several and holds the union of…
emailstringadd only. The email to invite/attach. If a Human already exists for it, the member row is attached immediately; otherwise the relay emails a magic-link invite.
human_idstringremove and set_role. The Human id to target — see list's `humanId` field. The app owner can be neither removed nor re-roled.
rolestringadd only. Defaults to 'member' server-side — no other role is assignable via this API (ownership transfer is not available here).

grants Manage App Grant Links

A v2 app's grant links (M5). A grant link is a capability URL that confers a declared custom role (x-homespun-manifest.roles) on a stable per-holder anonymous identity, so a holder's own rows are isolated by author/:own scoping. A grant does not escalate to owner, member or agent. Actions: mint creates a link and returns a `grant_url` carrying the token in its #g= fragment, shown once and not recoverable afterwards; list returns the app's links and never a token; revoke is idempotent. mode 'once' is one-time, claimed by the first browser to open it; 'multi' is shared, capped by max_uses within…

ParameterTypeDescription
action *stringmint: create a grant link carrying a declared custom role (app_id+role). list: the app's grant links (app_id). revoke: revoke one link (app_id+grant_id).
app_id *stringThe app id.
grant_idstringrevoke only. The grant link id (see list's `id` field).
labelstringmint only. Optional owner label shown in the grant list.
max_usesintegermint only (multi mode). Cap total claims; omit for unlimited within expiry. Ignored for once (forced to 1).
modestringmint only. once: one-time link, claimed by the first browser that opens it (a real per-person link; later opens by others are inert). multi (default): a shared link, capped by max_uses within expiry.
pin_row_keystringmint only. Optional narrowing pin to a single row key. Narrows within the role (never widens). Mutually exclusive with pin_where.
pin_wherearraymint only. Optional narrowing pin as Wave C2 where conditions ({field, op, value}[]). Narrows within the role (never widens). Mutually exclusive with pin_row_key.
rolestringmint only. A declared custom role for the app (an x-homespun-manifest.roles key). A built-in role (owner/member/agent/anyone) is rejected: a grant can never escalate.
ttl_secondsintegermint only. Grant lifetime in seconds; defaults to the server default (30 days) and is clamped to the server max.

transfer Manage App Ownership Transfer

A v2 app's ownership transfer (issue #1847): handing the app, and the quota and billing responsibility that come with it, to a different human. This is two steps, and `start` completing is only the first one. start mints a pending offer and emails the named person an accept link; the app is still owned here when the call returns, stays owned here while the offer is pending, and only moves once that person opens the link and accepts it. Reporting the transfer as done after `start` would be wrong: check `status` to see whether it is still pending or has dropped to null (accepted, expired, or wit…

ParameterTypeDescription
action *stringA v2 app's ownership transfer (issue #1847). start does not move ownership: it only mints a pending offer and emails the named person an accept link, and the app stays owned here until they open it an…
app_id *stringThe app id.
emailstringstart only. The email to offer ownership to. The relay sends that address an accept link; ownership moves only when they open it and accept, never at start itself. 409s if a transfer is already pendin…
keep_as_memberbooleanstart only. Whether the current owner stays on as an ordinary member once the transfer is accepted, losing owner powers but keeping app access. Defaults to true. Has no effect unless and until the tra…

credentials Manage App Service Credentials

A v2 app's scoped service credentials (#1354, #1355): the bearer token an app owner points a backend they host themselves at, so their own server can read and write the app's data without holding the owner's full authority. Effective permission is always the intersection of the allowlist and what the app's owner could do, so a credential can only ever narrow, never widen, and it carries no role. Actions: mint creates one and returns its raw `token` shown once, never recoverable afterward (only its hash is stored); list returns the app's credentials with their allowlist and status, never any to…

ParameterTypeDescription
action *stringmint: create a scoped service credential, the bearer token an app owner points a backend they host themselves at (app_id; optional mode/grants/members/label/ttl_seconds). list: the app's credentials,…
app_id *stringThe app id.
credential_idstringpause / resume / rotate / revoke. The credential id (see list's `id` field).
grantsarraymint only. The allowlist: one entry per collection naming which of read/create/update/delete this credential may attempt there (an entry may name zero ops, which under `following` is how one collectio…
labelstringmint only. Optional owner-facing label shown in the credential list.
membersbooleanmint only. Opt in to the app's member directory appearing in this credential's boot/hello payloads. Defaults to false: a credential that never learns a member id cannot stamp one into a relation field…
modestringmint only. Defaults to explicit: an unnamed collection is denied, so the credential can never reach anything it was not handed (the shape for a contractor's backend). following: an unnamed collection…
overlap_secondsintegerrotate only. How long the superseded token keeps resolving, so a running backend can pick up the new one with no gap. Defaults to the server default (1 day); 0 kills the old token immediately, the "th…
ttl_secondsmint only. Omit for the server's bounded default (365 days, clamped to a server maximum). null means no expiry, the explicit opt-in a long-running backend asks for; it is never the default.

connections Manage App Connections

A v2 app's Connections: the stored credential (a static header token, or a full generic OAuth2 client) a manifest webhook rule authenticates its delivery target with, bound to a host so the credential can never be exfiltrated to another one. There is no update action: change a connection by deleting and recreating it. Actions: create stores a static or oauth2 connection and returns its metadata, never the secret; list returns the app's connections as metadata plus a non-reversible fingerprint, never any secret; delete is idempotent; consent_url builds (never fetches) the browser URL that compl…

ParameterTypeDescription
action *stringcreate: store a webhook connection, a stored credential (static header token or a full generic OAuth2 client) a manifest webhook rule authenticates its target with (app_id+name+allowed_host, plus kind…
app_id *stringThe app id.
allowed_hoststringcreate only, required for both kinds. The host-binding exfiltration defence: an exact DNS host ("api.hubapi.com") or a single leftmost wildcard ("*.zohoapis.com"). The stored credential is attached to…
auth_paramsobjectcreate only (oauth2). Extra key/values merged into the authorize redirect (e.g. to request offline access).
auth_schemestringcreate only (oauth2). The scheme the access token is sent under. Defaults to "Bearer"; set e.g. "Zoho-oauthtoken" for a non-Bearer provider.
authorize_urlstringcreate only, required for kind=oauth2. The provider's OAuth2 authorize endpoint (https; rejected if it resolves to a private/loopback/metadata address).
client_idstringcreate only, required for kind=oauth2. Your OAuth2 app's client id.
client_secretstringcreate only, required for kind=oauth2. Your OAuth2 app's client secret. Encrypted at rest and never returned by any call.
header_namestringcreate only (static). The header the credential rides in. Defaults to "Authorization".
header_valuestringcreate only, required for kind=static. The header value to send, e.g. "Bearer sk_live_...". Encrypted at rest and never returned by any call.
instance_fieldstringcreate only (oauth2). The name of a token-response JSON field holding the API base URL (e.g. "instance_url"). When set, the relay re-binds allowed_host to that host after consent and resolves relative…
kindstringcreate only. Defaults to `static`.
labelstringcreate only. Optional owner-facing label.
namestringcreate / delete / consent_url. The connection name (lowercase, starting alphanumeric, up to 64 chars) that a manifest webhook rule's `connection` field references.
providerstringcreate only. Freeform display label only, e.g. "hubspot"; not validated against any allowlist.
scopesstringcreate only (oauth2). Space-delimited scopes for the authorize request.
token_endpointstringcreate only, required for kind=oauth2. The provider's OAuth2 token endpoint (same https + SSRF rules as authorize_url).
token_paramsobjectcreate only (oauth2). Extra key/values merged into the token POST.

ingest Manage App Inbound Hooks

A v2 app's inbound catch-hooks (inbound-webhooks). A catch-hook lets an external system such as Stripe, Zapier, Make, Home Assistant or an email router POST JSON to a secret URL that writes into a declared collection, so the app receives data with no agent online. Hooks are declared in the manifest (x-homespun-manifest.ingest) and materialized at deploy, so this tool has no create or delete: it reads back the URL, rotates a leaked one, and manages the opt-in signing secret. After deploying a manifest that declares a hook, list is what yields the exact URL to paste into the external system. Act…

ParameterTypeDescription
action *stringlist: the app's inbound catch-hooks, each with its full secret URL, current rule (collection/mode/wake/handshake), and per-status delivery counts (app_id). rotate: mint a fresh URL secret for one hook…
app_id *stringThe app id.
grace_secondsnumberset_signing_secret only. On a rotation, how long the previous secret stays valid so deliveries verify while you update the provider (default 3600, max 86400).
namestringrotate / set_signing_secret / clear_signing_secret. The manifest ingest hook name (an x-homespun-manifest.ingest[].name). See list's `name` field.
secretstringset_signing_secret only. A provider-generated signing secret to store verbatim (the Stripe path). Omit to have the relay mint one (the GitHub path), returned once in the response.

attachments Manage Attachments

Binary attachments (images, PDFs, audio, video) referenced from event payloads and input_data via `format: homespun-attachment-id`. Actions: upload, fetch, presign, finalize, download, show, list, delete, mint_token, revoke_token, list_tokens. Choosing an upload path matters for cost. An inline upload with `content_base64` carries the bytes in the tool-call arguments, so they enter the model context at a token cost proportional to file size, paid again on every retry; a few-hundred-KB image is already expensive. Two paths avoid that entirely: fetch, when the bytes are reachable at a URL, and…

ParameterTypeDescription
action *stringBinary attachment operations. The upload path affects token cost: `fetch` and presign plus finalize keep the bytes out of the model context entirely, while upload with `content_base64` carries them in…
app_idstringRequired when scope=app.
attachment_idstringAttachment id. Required for download/show/delete/mint_token/revoke_token/list_tokens.
content_base64stringupload: the file bytes as base64, sent inline with no filesystem access. The base64 rides in the tool-call arguments and enters the model context, costing tokens proportional to file size; a few-hundr…
cursorstringlist pagination cursor.
file_pathstringupload: absolute path to a file read on the server host running this MCP connector (the relay), not the calling agent's machine. It resolves only when the file is local to the relay (e.g. a locally-ru…
filenamestringupload: display filename (defaults to the file's basename).
limitintegerlist page size (1..100).
mimestringupload/presign: advisory Content-Type. The relay byte-sniffs the actual bytes and stores/serves that sniffed type regardless (a lying mime is caught, never served inline). Required for presign (scopes…
oncebooleanmint_token: token self-deletes on first GET.
out_pathstringdownload: absolute path to write the bytes to. If omitted, the bytes are returned base64-encoded in the result.
scopestringupload scope (default agent).
sha256stringpresign: the hex SHA-256 (64 chars) of the exact bytes you will PUT. Committed at presign and re-verified against the uploaded bytes at finalize.
sizeintegerpresign: the exact byte length you will PUT. Committed at presign and re-verified against the uploaded bytes at finalize.
source_urlstringfetch: an https URL the relay downloads server-side, so the bytes do not enter the model context and cost no tokens. SSRF-guarded: https only, no private, loopback, link-local or metadata hosts, DNS p…
token_idstringrevoke_token: the token id to revoke.
ttl_secondsintegermint_token: per-token TTL (clamped by scope default).

taste Manage UI Taste Notes

The agent's UI taste notes: a short freeform markdown document of presentation preferences gathered from human feedback, such as 'denser layout' or 'no rounded corners'. Reading it before generating or revising an app is what carries earlier feedback into new output. Actions: get returns the current document; set replaces it in whole, so it does not append; clear discards it. Scoped to presentation preferences rather than general storage.

ParameterTypeDescription
action *stringThe agent's freeform UI taste notes (markdown) — presentation preferences learned from human feedback. get: read them before generating an app. set: whole-document replace (taste, non-empty). clear:…
tastestringThe full markdown notes (required for set; whole-document replace, not append).

key Manage API Key

The calling agent's API key. Actions: list returns key info (agent_id, key_prefix, timestamps); mint creates a sibling API key for the caller's own agent identity with the same scope and ownership and returns its raw value once, which is how an MCP-driven agent hands a CLI or child process a working credential, and the raw value is not retrievable afterwards, the sibling appears in a later list made with it, and the owner can revoke it; revoke destroys the agent's own key, which stops working immediately and cannot be undone, so it requires confirm:true. The relay derives identity from the cal…

ParameterTypeDescription
action *stringThe calling agent's API key. list: key info (agent_id, key_prefix, timestamps). mint: mints a sibling API key for the calling agent's own identity (same scope/ownership) and returns its raw value once…
confirmbooleanRequired (true) for revoke.

feedback Manage Feedback

Reports a problem with homespun itself to the relay operator, and lists what this agent has already reported. A report is the operator's only visibility into a failure that happened inside an agent's session, so an unreported one is a failure nobody can fix. The channel covers homespun's own behaviour: a 5xx, or an error code the guide does not describe; a disagreement between documented and observed behaviour; something the tool surface cannot express, such as a missing capability or a schema that contradicts itself; an app misbehaving in a way that traces back to the platform (the bridge, t…

ParameterTypeDescription
action *stringReports a problem with homespun itself to the relay operator. create: files one bug|feature|note with a message and an optional app_id. list: this agent's own submissions, newest first, which is what…
app_idstringOptional app this feedback relates to (create).
beforestringlist cursor from a prior page's next_before.
limitintegerlist page size (default 50, max 100).
messagestringMessage body (required for create).
typestringFeedback category (required for create).

agent Manage Agent Identity

Agent identity and binding. Actions: whoami returns the resolved relay URL, the active profile and whether a key is configured, with no network call and no secrets; claim binds this agent to a human using a one-shot claim code from their Settings UI, and is one-way; logout clears the locally saved key and profile but does not revoke it on the relay, which is what the `key` tool's revoke action does.

ParameterTypeDescription
action *stringAgent identity. whoami: show the resolved relay URL, active profile, and whether a key is configured (no network, no secrets). claim: bind this agent to a human via a one-shot claim code the human gen…
codestringThe one-shot claim code (required for claim).

community Community Templates

Publishing an app as a community template, taking your own listing back down, installing a template, and, for relay operators, reviewing submissions. Actions: publish, unpublish, get_config_contract, install, list_pending, get_submission, approve, reject, set_trust_level. publish captures a live app (html, manifest, the seed rows of its seedOnInstall collections, and listing metadata) into a pending template. It is installable by the returned direct link but is not listed in the public gallery until an operator approves it, and it requires a verified email and no more than a few pending submi…

publisher Publisher Profile

The caller's community publisher identity: the @-handle and public profile shown in the template gallery. Actions: get returns the profile, including the handle, whether it has been claimed, tenure, and the rating and template counters; claim sets the handle from a lowercase 3-to-32-character string and may be used only once, after which the handle is permanent, and it refuses a handle that is reserved or already taken; update changes display_name, bio or url at any time. claim and update require a verified email. An existing publisher may hold a provisional `maker-...` handle assigned automat…

ParameterTypeDescription
action *stringget: returns the caller's publisher profile (handle, tenure, counters). claim: sets the caller's @-handle, once (handle arg; lowercase, 3 to 32 chars, permanent after claiming; needs a verified email)…
biostring | nullupdate only. Short public bio (up to 500 chars); null clears it.
display_namestring | nullupdate only. Public display name (up to 80 chars); null clears it.
handlestringclaim only. The lowercase @-handle to claim (^[a-z0-9](?:[a-z0-9-]{1,30}[a-z0-9])$). Permanent once claimed.
urlstring | nullupdate only. Public http(s) URL (up to 200 chars); null clears it.

review Community Reviews

Ratings and reviews of community templates, responses from a template's own publisher, and, for relay operators, moderation. Actions: create leaves a 1-to-5 star rating and an optional written body on a template the caller has installed, identifying it by `template` (\"<handle>/<slug>\") or by `handle` plus `slug`, and requires a verified email; each install yields exactly one review, and the aggregate carries across template versions. A body containing a link or a contact email is held automatically for a moderator before it appears. respond replies to a review of the caller's own template li…

ParameterTypeDescription
action *stringcreate: leaves a star rating (1..5) and optional body on a community template the caller has installed (identified by `template` "<handle>/<slug>" or by `handle`+`slug`); requires a verified email, an…
bodystringcreate only. Optional written review (up to 2000 chars).
handlestringcreate only. Publisher handle (with `slug`), an alternative to `template`.
reasonstringreport only. Why you are reporting this review (up to 500 chars).
responsestring | nullrespond only. The publisher's public response (up to 2000 chars); null clears it.
review_idstringRequired for respond/report/remove/unhold. The review's id.
slugstringcreate only. Per-publisher slug (with `handle`).
starsintegercreate only. Star rating, an integer 1 to 5.
templatestringcreate only. The namespaced template id <handle>/<slug> to review.

get_skill Get Skill Guide

The relay's SKILL.md, a generated guide to the Homespun workflow covering events versus records, the schema grammars and the poll loop. Needs no API key. Useful when working out how the other tools fit together, or to refresh a cached copy. Pass version_only:true to return just the relay's skill version string, which is enough to tell whether a cached copy is current.

ParameterTypeDescription
version_onlybooleanIf true, return only the relay's current skill version string instead of the full SKILL.md markdown.