Homespun
v1.6.98Deploy 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…
| Parameter | Type | Description |
|---|---|---|
sha256 * | string | SHA-256 hex digest of the exact UTF-8 HTML bytes to upload. |
size * | integer | UTF-8 byte length of the HTML document. |
app_id | string | Existing 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…
| Parameter | Type | Description |
|---|---|---|
app_id | string | Omit to create a new app; pass an existing app's id to redeploy it (a new version, compat-gated unless force:true). |
assets | array | Optional 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… |
check | boolean | Alias for `dry_run`. |
document_id | string | Reference 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_run | boolean | Validate 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… |
force | boolean | Redeploy 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). |
html | string | The 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_path | string | Absolute 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… |
manifest | object | The 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… |
slug | string | Create only. Accepted with visibility private or public, including the private default; rejected with explicit visibility 'link', where the slug is always server-generated. |
visibility | string | Create 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 }.
| Parameter | Type | Description |
|---|---|---|
app_id * | string | The app id. |
collection * | string | The collection name declared in the app's manifest. |
limit | integer | Page size. |
since | string | Opaque 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 }.
| Parameter | Type | Description |
|---|---|---|
app_id * | string | The app id. |
collection * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
app_id * | string | The app id. |
collection * | string | The collection name. |
key * | string | The 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…
| Parameter | Type | Description |
|---|---|---|
app_id * | string | The app id. |
collection * | string | The 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). | |
key | string | Optional 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 }.
| Parameter | Type | Description |
|---|---|---|
app_id * | string | The app id. |
collection * | string | The collection name. |
data * | The new row body (replaces the row's data) - any JSON value valid against the collection's row schema. | |
key * | string | The key of the row to update. |
if_match | integer | Optional 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 }.
| Parameter | Type | Description |
|---|---|---|
app_id * | string | The app id. |
collection * | string | The collection name. |
key * | string | The key of the row to delete. |
if_match | integer | Optional 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 }.
| Parameter | Type | Description |
|---|---|---|
app_id * | string | The app id. |
collection * | string | The collection name. |
before | string | Cursor for the next page: pass back the previous page's next_before. |
limit | integer | Max 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 }.
| Parameter | Type | Description |
|---|---|---|
app_id * | string | The app id. |
collection * | string | The collection name. |
key * | string | The 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-…
| Parameter | Type | Description |
|---|---|---|
app_id * | string | The app id. |
limit | integer | Max entries per page (capped server-side by FEED_PAGE_MAX). |
since | integer | Opaque numeric cursor from a previous call's cursor. Omit (or 0) to read from the beginning. |
wait | integer | Optional 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…
| Parameter | Type | Description |
|---|---|---|
action * | string | list: 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_id | string | Required for show/update/share_link_rotate/delete/restore/purge/wake/domain_set/domain_status/domain_remove. |
cursor | string | list only. Opaque cursor from a previous next_cursor. |
domain | string | domain_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… |
limit | integer | list only. Page size. |
severity | string | audit only. Return findings of this severity only. The response's `counts` always describe the whole audit, so filtering never hides that other findings exist. |
slug | string | list only. Exact-match slug filter. |
status | string | list only. Default: active. 'all' means every live status; deleted apps are never in this list, use action list_deleted for those. |
timezone | string | update 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. |
visibility | string | update 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…
| Parameter | Type | Description |
|---|---|---|
action * | string | add: 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 * | string | The app id. |
custom_roles | array | add (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… |
email | string | add 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_id | string | remove and set_role. The Human id to target — see list's `humanId` field. The app owner can be neither removed nor re-roled. |
role | string | add 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…
| Parameter | Type | Description |
|---|---|---|
action * | string | mint: 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 * | string | The app id. |
grant_id | string | revoke only. The grant link id (see list's `id` field). |
label | string | mint only. Optional owner label shown in the grant list. |
max_uses | integer | mint only (multi mode). Cap total claims; omit for unlimited within expiry. Ignored for once (forced to 1). |
mode | string | mint 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_key | string | mint only. Optional narrowing pin to a single row key. Narrows within the role (never widens). Mutually exclusive with pin_where. |
pin_where | array | mint only. Optional narrowing pin as Wave C2 where conditions ({field, op, value}[]). Narrows within the role (never widens). Mutually exclusive with pin_row_key. |
role | string | mint 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_seconds | integer | mint 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…
| Parameter | Type | Description |
|---|---|---|
action * | string | A 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 * | string | The app id. |
email | string | start 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_member | boolean | start 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…
| Parameter | Type | Description |
|---|---|---|
action * | string | mint: 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 * | string | The app id. |
credential_id | string | pause / resume / rotate / revoke. The credential id (see list's `id` field). |
grants | array | mint 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… |
label | string | mint only. Optional owner-facing label shown in the credential list. |
members | boolean | mint 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… |
mode | string | mint 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_seconds | integer | rotate 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_seconds | mint 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…
| Parameter | Type | Description |
|---|---|---|
action * | string | create: 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 * | string | The app id. |
allowed_host | string | create 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_params | object | create only (oauth2). Extra key/values merged into the authorize redirect (e.g. to request offline access). |
auth_scheme | string | create only (oauth2). The scheme the access token is sent under. Defaults to "Bearer"; set e.g. "Zoho-oauthtoken" for a non-Bearer provider. |
authorize_url | string | create only, required for kind=oauth2. The provider's OAuth2 authorize endpoint (https; rejected if it resolves to a private/loopback/metadata address). |
client_id | string | create only, required for kind=oauth2. Your OAuth2 app's client id. |
client_secret | string | create only, required for kind=oauth2. Your OAuth2 app's client secret. Encrypted at rest and never returned by any call. |
header_name | string | create only (static). The header the credential rides in. Defaults to "Authorization". |
header_value | string | create 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_field | string | create 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… |
kind | string | create only. Defaults to `static`. |
label | string | create only. Optional owner-facing label. |
name | string | create / delete / consent_url. The connection name (lowercase, starting alphanumeric, up to 64 chars) that a manifest webhook rule's `connection` field references. |
provider | string | create only. Freeform display label only, e.g. "hubspot"; not validated against any allowlist. |
scopes | string | create only (oauth2). Space-delimited scopes for the authorize request. |
token_endpoint | string | create only, required for kind=oauth2. The provider's OAuth2 token endpoint (same https + SSRF rules as authorize_url). |
token_params | object | create 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…
| Parameter | Type | Description |
|---|---|---|
action * | string | list: 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 * | string | The app id. |
grace_seconds | number | set_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). |
name | string | rotate / set_signing_secret / clear_signing_secret. The manifest ingest hook name (an x-homespun-manifest.ingest[].name). See list's `name` field. |
secret | string | set_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…
| Parameter | Type | Description |
|---|---|---|
action * | string | Binary 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_id | string | Required when scope=app. |
attachment_id | string | Attachment id. Required for download/show/delete/mint_token/revoke_token/list_tokens. |
content_base64 | string | upload: 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… |
cursor | string | list pagination cursor. |
file_path | string | upload: 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… |
filename | string | upload: display filename (defaults to the file's basename). |
limit | integer | list page size (1..100). |
mime | string | upload/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… |
once | boolean | mint_token: token self-deletes on first GET. |
out_path | string | download: absolute path to write the bytes to. If omitted, the bytes are returned base64-encoded in the result. |
scope | string | upload scope (default agent). |
sha256 | string | presign: 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. |
size | integer | presign: the exact byte length you will PUT. Committed at presign and re-verified against the uploaded bytes at finalize. |
source_url | string | fetch: 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_id | string | revoke_token: the token id to revoke. |
ttl_seconds | integer | mint_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.
| Parameter | Type | Description |
|---|---|---|
action * | string | The 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:… |
taste | string | The 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…
| Parameter | Type | Description |
|---|---|---|
action * | string | The 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… |
confirm | boolean | Required (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…
| Parameter | Type | Description |
|---|---|---|
action * | string | Reports 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_id | string | Optional app this feedback relates to (create). |
before | string | list cursor from a prior page's next_before. |
limit | integer | list page size (default 50, max 100). |
message | string | Message body (required for create). |
type | string | Feedback 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.
| Parameter | Type | Description |
|---|---|---|
action * | string | Agent 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… |
code | string | The 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…
| Parameter | Type | Description |
|---|---|---|
action * | string | get: 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)… |
bio | string | null | update only. Short public bio (up to 500 chars); null clears it. |
display_name | string | null | update only. Public display name (up to 80 chars); null clears it. |
handle | string | claim only. The lowercase @-handle to claim (^[a-z0-9](?:[a-z0-9-]{1,30}[a-z0-9])$). Permanent once claimed. |
url | string | null | update 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…
| Parameter | Type | Description |
|---|---|---|
action * | string | create: 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… |
body | string | create only. Optional written review (up to 2000 chars). |
handle | string | create only. Publisher handle (with `slug`), an alternative to `template`. |
reason | string | report only. Why you are reporting this review (up to 500 chars). |
response | string | null | respond only. The publisher's public response (up to 2000 chars); null clears it. |
review_id | string | Required for respond/report/remove/unhold. The review's id. |
slug | string | create only. Per-publisher slug (with `handle`). |
stars | integer | create only. Star rating, an integer 1 to 5. |
template | string | create 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.
| Parameter | Type | Description |
|---|---|---|
version_only | boolean | If true, return only the relay's current skill version string instead of the full SKILL.md markdown. |