Server definition
- Hash
- sha256:0957e73d526a86574d747128c6d29a495e9d09ff42c92146e4e9db364748d666
- What it is
- What a remote MCP server returned when asked what it offers: 20 tools
The blob, as servednamed by its sha256
{
"instructions": "fuast hosts small full-stack TypeScript apps (capsules) and shares them like docs. Call fuast_guide first: it explains how to build, check, deploy and share an app with these tools. Without a connected fuast account, deploy_app deploys a temporary preview and returns a claim link to give to the person. Tools that work on the person's own apps ask them to sign in the first time they are called.",
"tools": [
{
"description": "Runs one query, mutation or action of a deployed app and returns its result and the log lines it wrote, so you can test what you deployed. It runs as the connected person (as: \"me\", the default), never as anyone else; as: \"guest\" runs it as a guest visitor and only works on public apps. On a preview deployed without an account every call runs as one guest. Mutations and actions change real data. Only for apps the person owns or administers.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"app": {
"description": "The app's slug: the first label of its address (my-app for https://my-app.fuast.com). list_apps shows the slugs you can use.",
"maxLength": 63,
"minLength": 1,
"type": "string"
},
"args": {
"anyOf": [
{
"type": "array"
},
{
"type": "object"
}
],
"description": "Arguments: an array of positional values, or one object for handlers that take an object (tool handlers). Default: no arguments."
},
"as": {
"description": "Who the handler sees in ctx.auth. Default \"me\".",
"enum": [
"me",
"guest"
],
"type": "string"
},
"edit_token": {
"description": "The edit_token deploy_app returned when it deployed a preview without an account. It is a secret: keep it in this conversation only.",
"maxLength": 200,
"minLength": 8,
"type": "string"
},
"kind": {
"description": "Which kind of handler name is.",
"enum": [
"query",
"mutation",
"action"
],
"type": "string"
},
"name": {
"description": "Handler name as declared in server/index.ts.",
"maxLength": 128,
"minLength": 1,
"type": "string"
}
},
"required": [
"kind",
"name"
],
"type": "object"
},
"name": "call_app",
"outputSchema": {
"properties": {
"duration_ms": {
"type": "number"
},
"kind": {
"type": "string"
},
"logs": {
"items": {
"properties": {
"level": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [],
"type": "object"
},
"type": "array"
},
"name": {
"type": "string"
},
"ran_as": {
"type": "string"
},
"result": {
"anyOf": [
{
"type": "object"
},
{
"type": "array"
},
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"slug": {
"type": "string"
},
"truncated": {
"type": "boolean"
}
},
"required": [
"kind",
"name",
"ran_as"
],
"type": "object"
}
},
{
"description": "Builds the files, type checks them and loads the server in a sandbox, without deploying anything. Returns ok with the queries, mutations, tables and tools the app declares, or ok false with diagnostics that carry file, line and message. Call it before deploy_app and fix every diagnostic.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"files": {
"additionalProperties": {
"type": "string"
},
"description": "The whole app as {\"relative/path\": \"file content\"}. server/index.ts and client/index.tsx are required. Text files only (.ts .tsx .js .jsx .mjs .json .md .svg .txt .css .html).",
"minProperties": 1,
"type": "object"
}
},
"required": [
"files"
],
"type": "object"
},
"name": "check_app",
"outputSchema": {
"properties": {
"code": {
"type": "string"
},
"diagnostics": {
"items": {
"properties": {
"category": {
"type": "string"
},
"code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"column": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"file": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"line": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"message": {
"type": "string"
}
},
"required": [
"category",
"message"
],
"type": "object"
},
"type": "array"
},
"error": {
"type": "string"
},
"manifest": {
"properties": {
"actions": {
"items": {
"type": "string"
},
"type": "array"
},
"endpoints": {
"items": {
"properties": {
"method": {
"type": "string"
},
"path": {
"type": "string"
}
},
"required": [],
"type": "object"
},
"type": "array"
},
"mutations": {
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"type": "string"
},
"queries": {
"items": {
"type": "string"
},
"type": "array"
},
"require_sign_in": {
"type": "boolean"
},
"schedules": {
"items": {
"properties": {
"cron": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [],
"type": "object"
},
"type": "array"
},
"tables": {
"items": {
"type": "string"
},
"type": "array"
},
"tools": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [],
"type": "object"
},
"ms": {
"type": "number"
},
"name": {
"type": "string"
},
"ok": {
"type": "boolean"
},
"sizes": {
"properties": {
"client": {
"type": "number"
},
"css": {
"type": "number"
},
"server": {
"type": "number"
}
},
"required": [],
"type": "object"
},
"warnings": {
"items": {
"properties": {
"category": {
"type": "string"
},
"code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"column": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"file": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"line": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"message": {
"type": "string"
}
},
"required": [
"category",
"message"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"ok"
],
"type": "object"
}
},
{
"description": "Deletes an app and everything in it: its data, stored files, deploys, schedules and custom domains. This cannot be undone. Only the app's owner can do it, and confirm must repeat the app's slug. Do this only when the person explicitly asks for the app to be deleted.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"app": {
"description": "The app's slug: the first label of its address (my-app for https://my-app.fuast.com). list_apps shows the slugs you can use.",
"maxLength": 63,
"minLength": 1,
"type": "string"
},
"confirm": {
"description": "The app's slug again, to confirm.",
"maxLength": 63,
"type": "string"
}
},
"required": [
"app",
"confirm"
],
"type": "object"
},
"name": "delete_app",
"outputSchema": {
"properties": {
"deleted": {
"type": "boolean"
},
"name": {
"type": "string"
},
"slug": {
"type": "string"
},
"warnings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"deleted",
"slug"
],
"type": "object"
}
},
{
"description": "Deploys the files and returns the app's URL. With a connected fuast account it creates a new private app in the person's workspace, or updates the app named in app. Without an account it deploys a temporary preview and returns preview_url, claim_url and edit_token: give the person claim_url so they can make the app theirs, and pass edit_token to later calls to keep working on it. Send every file each time; use update_app_files to change a few. A failed build returns diagnostics with file and line and deploys nothing.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"app": {
"description": "Slug of an existing app in the connected account to update. Leave out to create a new app.",
"maxLength": 63,
"minLength": 1,
"type": "string"
},
"delete_tables": {
"description": "Only when a deploy was refused because the new schema drops tables that hold rows: repeat each table with the exact row count from that error to confirm deleting it.",
"items": {
"additionalProperties": false,
"properties": {
"row_count": {
"minimum": 0,
"type": "integer"
},
"table": {
"type": "string"
}
},
"required": [
"table",
"row_count"
],
"type": "object"
},
"maxItems": 100,
"type": "array"
},
"edit_token": {
"description": "To update a preview that was deployed without an account: the edit_token that deploy returned.",
"maxLength": 200,
"minLength": 8,
"type": "string"
},
"files": {
"additionalProperties": {
"type": "string"
},
"description": "The whole app as {\"relative/path\": \"file content\"}. server/index.ts and client/index.tsx are required. Text files only (.ts .tsx .js .jsx .mjs .json .md .svg .txt .css .html).",
"minProperties": 1,
"type": "object"
},
"name": {
"description": "Name of a new app. Its address is derived from it. Ignored when updating an app.",
"maxLength": 120,
"type": "string"
}
},
"required": [
"files"
],
"type": "object"
},
"name": "deploy_app",
"outputSchema": {
"properties": {
"claim_url": {
"type": "string"
},
"created": {
"type": "boolean"
},
"deploy_id": {
"type": "string"
},
"edit_token": {
"type": "string"
},
"expires_at": {
"type": "string"
},
"limits": {
"type": "object"
},
"manifest": {
"anyOf": [
{
"properties": {
"actions": {
"items": {
"type": "string"
},
"type": "array"
},
"endpoints": {
"items": {
"properties": {
"method": {
"type": "string"
},
"path": {
"type": "string"
}
},
"required": [],
"type": "object"
},
"type": "array"
},
"mutations": {
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"type": "string"
},
"queries": {
"items": {
"type": "string"
},
"type": "array"
},
"require_sign_in": {
"type": "boolean"
},
"schedules": {
"items": {
"properties": {
"cron": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [],
"type": "object"
},
"type": "array"
},
"tables": {
"items": {
"type": "string"
},
"type": "array"
},
"tools": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [],
"type": "object"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
},
"next_steps": {
"items": {
"type": "string"
},
"type": "array"
},
"preview_url": {
"type": "string"
},
"restricted": {
"type": "boolean"
},
"restricted_hint": {
"type": "string"
},
"slug": {
"type": "string"
},
"trust_command": {
"type": "string"
},
"trust_url": {
"type": "string"
},
"unclaimed": {
"type": "boolean"
},
"url": {
"type": "string"
},
"visibility": {
"type": "string"
}
},
"required": [
"slug",
"url",
"deploy_id",
"unclaimed",
"next_steps"
],
"type": "object"
}
},
{
"description": "Read one docs page as markdown (page), or search every page for words (search). With neither, lists the pages. Useful pages: capsule-api (every server and client API), database, auth, limits, storage, schedules, email, teams, examples/todo.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"page": {
"description": "Page name from the list, for example \"capsule-api\" or \"examples/todo\".",
"maxLength": 100,
"type": "string"
},
"search": {
"description": "Words to find. Returns matching lines with their page and line number.",
"maxLength": 200,
"type": "string"
}
},
"required": [],
"type": "object"
},
"name": "fuast_docs",
"outputSchema": {
"properties": {
"markdown": {
"type": "string"
},
"matches": {
"items": {
"properties": {
"line": {
"type": "number"
},
"page": {
"type": "string"
},
"text": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [],
"type": "object"
},
"type": "array"
},
"page": {
"type": "string"
},
"pages": {
"items": {
"properties": {
"description": {
"type": "string"
},
"page": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [],
"type": "object"
},
"type": "array"
},
"title": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [],
"type": "object"
}
},
{
"description": "Call this first. Returns how to build, check, deploy and share a fuast app with these tools, and the rules a fuast app must follow (file layout, server and client APIs, database, auth, UI). fuast apps are small full-stack TypeScript apps called capsules: server/index.ts and client/index.tsx, no npm packages.",
"inputSchema": {
"additionalProperties": false,
"properties": {},
"required": [],
"type": "object"
},
"name": "fuast_guide",
"outputSchema": {
"properties": {
"guide": {
"type": "string"
},
"pages": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"guide"
],
"type": "object"
}
},
{
"description": "Returns one app: URL, status, sharing, handlers, recent deploys with their ids (for rollback_app), today's usage and limits, and the names (never the values) of its env vars.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"app": {
"description": "The app's slug: the first label of its address (my-app for https://my-app.fuast.com). list_apps shows the slugs you can use.",
"maxLength": 63,
"minLength": 1,
"type": "string"
},
"edit_token": {
"description": "The edit_token deploy_app returned when it deployed a preview without an account. It is a secret: keep it in this conversation only.",
"maxLength": 200,
"minLength": 8,
"type": "string"
}
},
"required": [],
"type": "object"
},
"name": "get_app",
"outputSchema": {
"properties": {
"active_deploy_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"can_manage": {
"type": "boolean"
},
"claim_url": {
"type": "string"
},
"deploys": {
"items": {
"properties": {
"by": {
"type": "string"
},
"created_at": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"status": {
"type": "string"
}
},
"required": [],
"type": "object"
},
"type": "array"
},
"env_keys": {
"items": {
"type": "string"
},
"type": "array"
},
"expires_at": {
"type": "string"
},
"last_deploy_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"manifest": {
"anyOf": [
{
"properties": {
"actions": {
"items": {
"type": "string"
},
"type": "array"
},
"endpoints": {
"items": {
"properties": {
"method": {
"type": "string"
},
"path": {
"type": "string"
}
},
"required": [],
"type": "object"
},
"type": "array"
},
"mutations": {
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"type": "string"
},
"queries": {
"items": {
"type": "string"
},
"type": "array"
},
"require_sign_in": {
"type": "boolean"
},
"schedules": {
"items": {
"properties": {
"cron": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [],
"type": "object"
},
"type": "array"
},
"tables": {
"items": {
"type": "string"
},
"type": "array"
},
"tools": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [],
"type": "object"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
},
"owner": {
"type": "string"
},
"preview_url": {
"type": "string"
},
"require_sign_in": {
"type": "boolean"
},
"restricted": {
"type": "boolean"
},
"restricted_hint": {
"type": "string"
},
"shared_with": {
"items": {
"type": "string"
},
"type": "array"
},
"slug": {
"type": "string"
},
"status": {
"type": "string"
},
"trust_command": {
"type": "string"
},
"trust_url": {
"type": "string"
},
"unclaimed": {
"type": "boolean"
},
"url": {
"type": "string"
},
"usage": {
"type": "object"
},
"visibility": {
"type": "string"
}
},
"required": [
"slug",
"url",
"status"
],
"type": "object"
}
},
{
"description": "Returns the source of the app's live deploy as {path: content}, with the deploy id to pass to update_app_files as expected_deploy_id. Large apps return the file list only: ask again with paths for the files you need. Secrets (.env files, env values) are never returned.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"app": {
"description": "The app's slug: the first label of its address (my-app for https://my-app.fuast.com). list_apps shows the slugs you can use.",
"maxLength": 63,
"minLength": 1,
"type": "string"
},
"edit_token": {
"description": "The edit_token deploy_app returned when it deployed a preview without an account. It is a secret: keep it in this conversation only.",
"maxLength": 200,
"minLength": 8,
"type": "string"
},
"paths": {
"description": "Only return these files. Leave out for every file.",
"items": {
"maxLength": 512,
"type": "string"
},
"maxItems": 200,
"type": "array"
}
},
"required": [],
"type": "object"
},
"name": "get_app_source",
"outputSchema": {
"properties": {
"deploy_id": {
"type": "string"
},
"file_list": {
"items": {
"properties": {
"bytes": {
"type": "number"
},
"path": {
"type": "string"
}
},
"required": [],
"type": "object"
},
"type": "array"
},
"files": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"name": {
"type": "string"
},
"slug": {
"type": "string"
},
"truncated": {
"type": "boolean"
}
},
"required": [
"slug",
"deploy_id",
"files",
"file_list"
],
"type": "object"
}
},
{
"description": "For a preview that deploy_app deployed without an account: returns the claim link to give to the person, the preview link, and when the preview is deleted if nobody claims it. Opening the claim link and signing in makes the app theirs.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"edit_token": {
"description": "The edit_token deploy_app returned when it deployed a preview without an account. It is a secret: keep it in this conversation only.",
"maxLength": 200,
"minLength": 8,
"type": "string"
}
},
"required": [
"edit_token"
],
"type": "object"
},
"name": "get_claim_link",
"outputSchema": {
"properties": {
"claim_url": {
"type": "string"
},
"deploy_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"expires_at": {
"type": "string"
},
"name": {
"type": "string"
},
"preview_url": {
"type": "string"
},
"slug": {
"type": "string"
},
"status": {
"type": "string"
}
},
"required": [
"slug",
"status",
"claim_url",
"preview_url",
"expires_at"
],
"type": "object"
}
},
{
"description": "Returns recent log entries of an app, oldest first: what its handlers wrote with ctx.log, handler errors with stack traces, and platform events such as deploys. Pass the returned cursor as since to read only newer entries.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"app": {
"description": "The app's slug: the first label of its address (my-app for https://my-app.fuast.com). list_apps shows the slugs you can use.",
"maxLength": 63,
"minLength": 1,
"type": "string"
},
"edit_token": {
"description": "The edit_token deploy_app returned when it deployed a preview without an account. It is a secret: keep it in this conversation only.",
"maxLength": 200,
"minLength": 8,
"type": "string"
},
"level": {
"description": "Lowest level to return. Default info.",
"enum": [
"info",
"warn",
"error"
],
"type": "string"
},
"limit": {
"description": "Most entries to return. Default 50.",
"maximum": 200,
"minimum": 1,
"type": "integer"
},
"since": {
"description": "Cursor from an earlier call: only entries after it.",
"minimum": 0,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"name": "get_logs",
"outputSchema": {
"properties": {
"cursor": {
"type": "number"
},
"entries": {
"items": {
"properties": {
"at": {
"type": "string"
},
"handler": {
"type": "string"
},
"level": {
"type": "string"
},
"message": {
"type": "string"
},
"seq": {
"type": "number"
},
"source": {
"type": "string"
}
},
"required": [
"seq",
"at",
"level",
"message"
],
"type": "object"
},
"type": "array"
},
"slug": {
"type": "string"
}
},
"required": [
"entries",
"cursor"
],
"type": "object"
}
},
{
"description": "Returns the source files of one starter template as {path: content}: a complete app that passes check_app and can be sent to deploy_app as is. Change the files to build what the person asked for.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"id": {
"description": "Template id from list_templates, for example todo.",
"maxLength": 41,
"type": "string"
},
"name": {
"description": "Name for the new app. Sets the app's title and its letter icon.",
"maxLength": 120,
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
},
"name": "get_template",
"outputSchema": {
"properties": {
"files": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"files"
],
"type": "object"
}
},
{
"description": "Reads one thing about a deployed app. manifest: handlers, schema, indexes, endpoints, read metrics. tables: each table with its fields and row count. rows: rows of one table (give table; at most 100 per call, continue with cursor). usage: today's counters and limits. schedules: cron schedules and their last runs. jobs: scheduled jobs. Only the app's owner and workspace admins can inspect.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"app": {
"description": "The app's slug: the first label of its address (my-app for https://my-app.fuast.com). list_apps shows the slugs you can use.",
"maxLength": 63,
"minLength": 1,
"type": "string"
},
"cursor": {
"description": "For rows: next_cursor from the previous page.",
"maxLength": 2000,
"type": "string"
},
"edit_token": {
"description": "The edit_token deploy_app returned when it deployed a preview without an account. It is a secret: keep it in this conversation only.",
"maxLength": 200,
"minLength": 8,
"type": "string"
},
"limit": {
"description": "For rows and jobs: most items to return. Default 25.",
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"table": {
"description": "For rows: the table name.",
"maxLength": 128,
"type": "string"
},
"what": {
"description": "What to read.",
"enum": [
"manifest",
"tables",
"rows",
"usage",
"schedules",
"jobs"
],
"type": "string"
}
},
"required": [
"what"
],
"type": "object"
},
"name": "inspect_app",
"outputSchema": {
"properties": {
"is_done": {
"type": "boolean"
},
"jobs": {
"type": "object"
},
"manifest": {
"type": "object"
},
"next_cursor": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"rows": {
"type": "array"
},
"schedules": {
"items": {
"type": "object"
},
"type": "array"
},
"slug": {
"type": "string"
},
"tables": {
"items": {
"type": "object"
},
"type": "array"
},
"usage": {
"type": "object"
},
"what": {
"type": "string"
}
},
"required": [
"slug",
"what"
],
"type": "object"
}
},
{
"description": "Lists the fuast apps the connected account can use: its own, its workspace's, and apps shared with it, with URL, sharing mode and whether the account can manage each one.",
"inputSchema": {
"additionalProperties": false,
"properties": {},
"required": [],
"type": "object"
},
"name": "list_apps",
"outputSchema": {
"properties": {
"apps": {
"items": {
"properties": {
"active_deploy_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"can_manage": {
"type": "boolean"
},
"last_deploy_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mine": {
"type": "boolean"
},
"name": {
"type": "string"
},
"owner": {
"type": "string"
},
"restricted": {
"type": "boolean"
},
"slug": {
"type": "string"
},
"status": {
"type": "string"
},
"url": {
"type": "string"
},
"visibility": {
"type": "string"
}
},
"required": [
"slug",
"url"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"apps"
],
"type": "object"
}
},
{
"description": "Lists the working starter apps a new fuast app can begin from, with what each one demonstrates. Get a template's files with get_template.",
"inputSchema": {
"additionalProperties": false,
"properties": {},
"required": [],
"type": "object"
},
"name": "list_templates",
"outputSchema": {
"properties": {
"templates": {
"items": {
"properties": {
"demonstrates": {
"type": "string"
},
"description": {
"type": "string"
},
"files": {
"items": {
"properties": {
"bytes": {
"type": "number"
},
"path": {
"type": "string"
}
},
"required": [],
"type": "object"
},
"type": "array"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"name"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"templates"
],
"type": "object"
}
},
{
"description": "Makes an earlier deploy of the app live again. deploy_id comes from get_app; without it, the most recent earlier deploy that is ready. The app's data stays as it is; if that deploy's schema cannot hold the current data, nothing changes.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"app": {
"description": "The app's slug: the first label of its address (my-app for https://my-app.fuast.com). list_apps shows the slugs you can use.",
"maxLength": 63,
"minLength": 1,
"type": "string"
},
"deploy_id": {
"description": "The deploy to make live. Default: the previous ready deploy.",
"maxLength": 80,
"type": "string"
}
},
"required": [
"app"
],
"type": "object"
},
"name": "rollback_app",
"outputSchema": {
"properties": {
"active_deploy_id": {
"type": "string"
},
"previous_deploy_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"slug": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"slug",
"active_deploy_id"
],
"type": "object"
}
},
{
"description": "Opens one page of a deployed app in a browser and returns a picture of it, with any errors the page reported while it loaded. Use it after a deploy to see what a person will see, which rows and logs cannot show: a blank page, a broken layout, text that does not fit. A preview deployed without an account is shown as a guest. An app in the account is shown signed in as the connected person. Only for apps the person owns or administers.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"app": {
"description": "The app's slug: the first label of its address (my-app for https://my-app.fuast.com). list_apps shows the slugs you can use.",
"maxLength": 63,
"minLength": 1,
"type": "string"
},
"dark": {
"description": "The visitor's dark setting. Default light.",
"type": "boolean"
},
"edit_token": {
"description": "The edit_token deploy_app returned when it deployed a preview without an account. It is a secret: keep it in this conversation only.",
"maxLength": 200,
"minLength": 8,
"type": "string"
},
"full_page": {
"description": "The whole page, not only the first screen.",
"type": "boolean"
},
"height": {
"description": "Window height in pixels, to override the default.",
"maximum": 2400,
"minimum": 240,
"type": "integer"
},
"mobile": {
"description": "A phone (390 by 844) instead of a desktop window (1280 by 800).",
"type": "boolean"
},
"path": {
"description": "The page, as a path from the app's root, like /orders or /orders/12?tab=open. Default /.",
"maxLength": 2000,
"type": "string"
},
"width": {
"description": "Window width in pixels, to override the default.",
"maximum": 1920,
"minimum": 320,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"name": "screenshot_app",
"outputSchema": {
"properties": {
"errors": {
"items": {
"type": "string"
},
"type": "array"
},
"height": {
"type": "number"
},
"signed_in_as": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"slug": {
"type": "string"
},
"title": {
"type": "string"
},
"url": {
"type": "string"
},
"width": {
"type": "number"
}
},
"required": [
"slug",
"url",
"width",
"height",
"errors"
],
"type": "object"
}
},
{
"description": "Sets or removes environment variables of an app (read in handlers as ctx.env.NAME). They take effect at once, without a deploy. Values are write-only: no tool returns them, only the names.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"app": {
"description": "The app's slug: the first label of its address (my-app for https://my-app.fuast.com). list_apps shows the slugs you can use.",
"maxLength": 63,
"minLength": 1,
"type": "string"
},
"set": {
"additionalProperties": {
"maxLength": 32768,
"type": "string"
},
"description": "Variables to set, as {\"NAME\": \"value\"}.",
"maxProperties": 50,
"type": "object"
},
"unset": {
"description": "Names to remove.",
"items": {
"maxLength": 128,
"type": "string"
},
"maxItems": 50,
"type": "array"
}
},
"required": [
"app"
],
"type": "object"
},
"name": "set_env",
"outputSchema": {
"properties": {
"keys": {
"items": {
"type": "string"
},
"type": "array"
},
"set": {
"items": {
"type": "string"
},
"type": "array"
},
"slug": {
"type": "string"
},
"unset": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"slug",
"keys"
],
"type": "object"
}
},
{
"description": "Changes who can open an app. visibility: private (the owner and invited people), workspace (everyone at the owner's company), or public (anyone with the link, guests included). invite adds people by email and sends each an email; remove takes people off the list. Do this only when the person asks for it. Returns the resulting sharing.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"app": {
"description": "The app's slug: the first label of its address (my-app for https://my-app.fuast.com). list_apps shows the slugs you can use.",
"maxLength": 63,
"minLength": 1,
"type": "string"
},
"invite": {
"description": "Email addresses to give access to.",
"items": {
"maxLength": 254,
"type": "string"
},
"maxItems": 50,
"type": "array"
},
"remove": {
"description": "Email addresses to take off the access list.",
"items": {
"maxLength": 254,
"type": "string"
},
"maxItems": 200,
"type": "array"
},
"visibility": {
"description": "New sharing mode. Leave out to keep the current one.",
"enum": [
"private",
"workspace",
"public"
],
"type": "string"
}
},
"required": [
"app"
],
"type": "object"
},
"name": "share_app",
"outputSchema": {
"properties": {
"invited": {
"items": {
"type": "string"
},
"type": "array"
},
"removed": {
"items": {
"type": "string"
},
"type": "array"
},
"shared_with": {
"items": {
"type": "string"
},
"type": "array"
},
"slug": {
"type": "string"
},
"url": {
"type": "string"
},
"visibility": {
"type": "string"
}
},
"required": [
"slug",
"url",
"visibility",
"shared_with"
],
"type": "object"
}
},
{
"description": "Redeploys the app with a few files changed: files maps each path to its new content, or to null to delete it. Every other file stays as it is. expected_deploy_id must be the app's live deploy (from get_app_source or the last deploy result); if someone deployed in between, nothing changes and you are told to read the source again. Builds and type checks like deploy_app.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"app": {
"description": "The app's slug: the first label of its address (my-app for https://my-app.fuast.com). list_apps shows the slugs you can use.",
"maxLength": 63,
"minLength": 1,
"type": "string"
},
"delete_tables": {
"description": "Only when a deploy was refused because the new schema drops tables that hold rows: repeat each table with the exact row count from that error to confirm deleting it.",
"items": {
"additionalProperties": false,
"properties": {
"row_count": {
"minimum": 0,
"type": "integer"
},
"table": {
"type": "string"
}
},
"required": [
"table",
"row_count"
],
"type": "object"
},
"maxItems": 100,
"type": "array"
},
"edit_token": {
"description": "The edit_token deploy_app returned when it deployed a preview without an account. It is a secret: keep it in this conversation only.",
"maxLength": 200,
"minLength": 8,
"type": "string"
},
"expected_deploy_id": {
"description": "The deploy id your change is based on.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"files": {
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"description": "Changes as {\"path\": \"new content\"} to write a file, {\"path\": null} to delete it.",
"minProperties": 1,
"type": "object"
}
},
"required": [
"files",
"expected_deploy_id"
],
"type": "object"
},
"name": "update_app_files",
"outputSchema": {
"properties": {
"claim_url": {
"type": "string"
},
"created": {
"type": "boolean"
},
"deploy_id": {
"type": "string"
},
"edit_token": {
"type": "string"
},
"expires_at": {
"type": "string"
},
"limits": {
"type": "object"
},
"manifest": {
"anyOf": [
{
"properties": {
"actions": {
"items": {
"type": "string"
},
"type": "array"
},
"endpoints": {
"items": {
"properties": {
"method": {
"type": "string"
},
"path": {
"type": "string"
}
},
"required": [],
"type": "object"
},
"type": "array"
},
"mutations": {
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"type": "string"
},
"queries": {
"items": {
"type": "string"
},
"type": "array"
},
"require_sign_in": {
"type": "boolean"
},
"schedules": {
"items": {
"properties": {
"cron": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [],
"type": "object"
},
"type": "array"
},
"tables": {
"items": {
"type": "string"
},
"type": "array"
},
"tools": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [],
"type": "object"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
},
"next_steps": {
"items": {
"type": "string"
},
"type": "array"
},
"preview_url": {
"type": "string"
},
"restricted": {
"type": "boolean"
},
"restricted_hint": {
"type": "string"
},
"slug": {
"type": "string"
},
"trust_command": {
"type": "string"
},
"trust_url": {
"type": "string"
},
"unclaimed": {
"type": "boolean"
},
"url": {
"type": "string"
},
"visibility": {
"type": "string"
}
},
"required": [
"slug",
"url",
"deploy_id",
"unclaimed",
"next_steps"
],
"type": "object"
}
},
{
"description": "Returns the fuast account this connection acts as: email, workspace, role, and what the connection may do. If no account is connected yet, calling it starts sign-in: call it when the person has a fuast account or wants apps deployed into their own workspace instead of as a temporary preview.",
"inputSchema": {
"additionalProperties": false,
"properties": {},
"required": [],
"type": "object"
},
"name": "whoami",
"outputSchema": {
"properties": {
"app": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"client": {
"type": "string"
},
"connected_through": {
"type": "string"
},
"email": {
"type": "string"
},
"email_verified": {
"type": "boolean"
},
"name": {
"type": "string"
},
"scopes": {
"items": {
"type": "string"
},
"type": "array"
},
"workspace": {
"properties": {
"name": {
"type": "string"
},
"role": {
"type": "string"
}
},
"required": [],
"type": "object"
}
},
"required": [
"email",
"scopes"
],
"type": "object"
}
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:0957e73d526a86574d747128c6d29a495e9d09ff42c92146e4e9db364748d666 | sha256sum