Build and host full-stack apps from a prompt, with agents that reach you on WhatsApp and email.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Attach or replace the app custom domain through the same Fine Structure Studio custom-domain flow. Returns exact DNS verification and routing records for the user to configure at their DNS provider.
The app ID
Custom domain to connect, for example example.com or app.example.com
The server marks this tool as destructive. Running it may delete or overwrite data on the server or in any account you connected with your headers.
Attach or replace the app custom domain through the same Fine Structure Studio custom-domain flow. Returns exact DNS verification and routing records for the user to configure at their DNS provider.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID |
| domain* | string | Custom domain to connect, for example example.com or app.example.com |
{
"type": "object",
"required": [
"app_id",
"domain"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID"
},
"domain": {
"type": "string",
"description": "Custom domain to connect, for example example.com or app.example.com"
}
}
}Stage one file upsert or delete inside a change set. Does not modify the live app until apply_change_set. Paths follow the Fine Structure app file API, documented at https://finestructure.ai/api/mcp/docs.
| Argument | Type | Description |
|---|---|---|
| path* | string | Virtual file path |
| app_id* | string | The app ID |
| content | string | Complete file contents for upsert |
| file_type | string | Optional file type override |
| operation | string | |
| change_set_id* | string | Change set ID |
{
"type": "object",
"required": [
"app_id",
"change_set_id",
"path"
],
"properties": {
"path": {
"type": "string",
"description": "Virtual file path"
},
"app_id": {
"type": "string",
"description": "The app ID"
},
"content": {
"type": "string",
"default": "",
"description": "Complete file contents for upsert"
},
"file_type": {
"type": "string",
"default": "",
"description": "Optional file type override"
},
"operation": {
"enum": [
"upsert",
"delete"
],
"type": "string",
"default": "upsert"
},
"change_set_id": {
"type": "string",
"description": "Change set ID"
}
}
}Agency mode only. Create a client claim link for an existing app owned by the agent. The client must log in with the invited email before ownership transfers.
| Argument | Type | Description |
|---|---|---|
| note | string | Optional internal note |
| app_id* | string | Existing app ID owned by the agent |
| client_email* | string | Client email allowed to claim ownership |
| client_full_name | string | Optional client display name |
| claim_expires_in_days | integer | Claim link lifetime, 1-90 days |
| keep_agent_collaborator | boolean | Invite agent as editor after claim |
{
"type": "object",
"required": [
"app_id",
"client_email"
],
"properties": {
"note": {
"type": "string",
"default": "",
"description": "Optional internal note"
},
"app_id": {
"type": "string",
"description": "Existing app ID owned by the agent"
},
"client_email": {
"type": "string",
"description": "Client email allowed to claim ownership"
},
"client_full_name": {
"type": "string",
"default": "",
"description": "Optional client display name"
},
"claim_expires_in_days": {
"type": "integer",
"default": 14,
"description": "Claim link lifetime, 1-90 days"
},
"keep_agent_collaborator": {
"type": "boolean",
"default": true,
"description": "Invite agent as editor after claim"
}
}
}Agency mode only. Create or update a client record for an account-level agent. This does not create a verified Fine Structure user account and does not transfer ownership.
| Argument | Type | Description |
|---|---|---|
| note | string | Optional internal note for the agency |
| client_email* | string | Client email that will be allowed to claim projects |
| client_full_name | string | Optional client display name |
{
"type": "object",
"required": [
"client_email"
],
"properties": {
"note": {
"type": "string",
"default": "",
"description": "Optional internal note for the agency"
},
"client_email": {
"type": "string",
"description": "Client email that will be allowed to claim projects"
},
"client_full_name": {
"type": "string",
"default": "",
"description": "Optional client display name"
}
}
}Agency mode only. Create a new app owned by the agent, start generation, and create a claim link for the client. Ownership transfers only when the invited client logs in with the same email and accepts the claim link.
| Argument | Type | Description |
|---|---|---|
| name* | string | Name for the app (1-100 chars) |
| note | string | Optional internal client/project note |
| prompt* | string | Detailed description of the app to build |
| description | string | Optional short app description |
| client_email* | string | Client email allowed to claim ownership |
| client_full_name | string | Optional client display name |
| claim_expires_in_days | integer | Claim link lifetime, 1-90 days |
| keep_agent_collaborator | boolean | After claim, invite the agent back as an editor collaborator |
{
"type": "object",
"required": [
"client_email",
"name",
"prompt"
],
"properties": {
"name": {
"type": "string",
"description": "Name for the app (1-100 chars)"
},
"note": {
"type": "string",
"default": "",
"description": "Optional internal client/project note"
},
"prompt": {
"type": "string",
"description": "Detailed description of the app to build"
},
"description": {
"type": "string",
"default": "",
"description": "Optional short app description"
},
"client_email": {
"type": "string",
"description": "Client email allowed to claim ownership"
},
"client_full_name": {
"type": "string",
"default": "",
"description": "Optional client display name"
},
"claim_expires_in_days": {
"type": "integer",
"default": 14,
"description": "Claim link lifetime, 1-90 days"
},
"keep_agent_collaborator": {
"type": "boolean",
"default": true,
"description": "After claim, invite the agent back as an editor collaborator"
}
}
}Agency mode only. Inspect one handoff status without exposing the raw claim token.
| Argument | Type | Description |
|---|---|---|
| handoff_id* | string | Handoff ID returned by agency_create_claim_link or agency_create_client_app |
{
"type": "object",
"required": [
"handoff_id"
],
"properties": {
"handoff_id": {
"type": "string",
"description": "Handoff ID returned by agency_create_claim_link or agency_create_client_app"
}
}
}Agency mode only. List client records and app handoff status for the authenticated agent.
| Argument | Type | Description |
|---|---|---|
| include_handoffs | boolean | Include claim links status without raw tokens |
{
"type": "object",
"properties": {
"include_handoffs": {
"type": "boolean",
"default": true,
"description": "Include claim links status without raw tokens"
}
}
}Apply a staged change set to the app. Creates a Saved Version before applying. Blocks on validation errors unless force=true.
| Argument | Type | Description |
|---|---|---|
| force | boolean | Apply even if validation has errors |
| app_id* | string | The app ID |
| change_set_id* | string | Change set ID |
{
"type": "object",
"required": [
"app_id",
"change_set_id"
],
"properties": {
"force": {
"type": "boolean",
"default": false,
"description": "Apply even if validation has errors"
},
"app_id": {
"type": "string",
"description": "The app ID"
},
"change_set_id": {
"type": "string",
"description": "Change set ID"
}
}
}Connect a platform WhatsApp number to one of the account's agents, so the owner can message that number and reach that agent. Requires the owner to be verified first. Take phone_number_id from get_agent_whatsapp. A number already used by another account is still valid to connect: it answers only this owner's verified phone.
| Argument | Type | Description |
|---|---|---|
| agent_id* | string | The agent that should answer on this number. |
| phone_number_id* | string | phone_number_id from get_agent_whatsapp claimable_numbers. |
{
"type": "object",
"required": [
"agent_id",
"phone_number_id"
],
"properties": {
"agent_id": {
"type": "string",
"description": "The agent that should answer on this number."
},
"phone_number_id": {
"type": "string",
"description": "phone_number_id from get_agent_whatsapp claimable_numbers."
}
}
}Check Fine Structure custom-domain verification and SSL status for the configured custom domain, then save the latest status.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID |
| domain | string | Optional configured custom domain. If omitted, uses the app's current custom domain. |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID"
},
"domain": {
"type": "string",
"description": "Optional configured custom domain. If omitted, uses the app's current custom domain."
}
}
}Check whether a platform subdomain can be claimed before calling set_app_subdomain. Returns available plus a status of available, invalid, reserved, taken, current, or empty, with the exact reason. Pass app_id (an app you own) to have that app's own current subdomain reported as 'current' instead of 'taken'.
| Argument | Type | Description |
|---|---|---|
| app_id | string | Optional ID of an app you own. When supplied, this app's own subdomain reports as 'current' instead of 'taken'. |
| subdomain* | string | Subdomain label to check |
{
"type": "object",
"required": [
"subdomain"
],
"properties": {
"app_id": {
"type": "string",
"description": "Optional ID of an app you own. When supplied, this app's own subdomain reports as 'current' instead of 'taken'."
},
"subdomain": {
"type": "string",
"description": "Subdomain label to check"
}
}
}Compare the current app files to a Saved Version and return compact per-file diffs.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID |
| snapshot_id* | string | Saved Version snapshot ID |
| max_diff_chars | integer |
{
"type": "object",
"required": [
"app_id",
"snapshot_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID"
},
"snapshot_id": {
"type": "string",
"description": "Saved Version snapshot ID"
},
"max_diff_chars": {
"type": "integer",
"default": 12000
}
}
}Compare two Saved Versions and return per-file additions, removals, modifications, and compact diffs.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID |
| max_diff_chars | integer | |
| base_snapshot_id* | string | Older/base snapshot ID |
| target_snapshot_id* | string | Newer/target snapshot ID |
{
"type": "object",
"required": [
"app_id",
"base_snapshot_id",
"target_snapshot_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID"
},
"max_diff_chars": {
"type": "integer",
"default": 12000
},
"base_snapshot_id": {
"type": "string",
"description": "Older/base snapshot ID"
},
"target_snapshot_id": {
"type": "string",
"description": "Newer/target snapshot ID"
}
}
}Configure custom-domain redirect policy: primary domain, optional www/root redirect, and HTTPS enforcement.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID |
| force_https | boolean | Redirect HTTP custom-domain requests to HTTPS |
| redirect_www | boolean | Redirect the www/root counterpart to primary_domain |
| primary_domain* | string | Canonical primary domain, for example example.com |
{
"type": "object",
"required": [
"app_id",
"primary_domain"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID"
},
"force_https": {
"type": "boolean",
"default": true,
"description": "Redirect HTTP custom-domain requests to HTTPS"
},
"redirect_www": {
"type": "boolean",
"default": true,
"description": "Redirect the www/root counterpart to primary_domain"
},
"primary_domain": {
"type": "string",
"description": "Canonical primary domain, for example example.com"
}
}
}Store safe non-secret integration metadata for an app. Use set_secret for API keys/tokens.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID |
| config* | object | Safe metadata only, such as workspace/team/name/email |
| provider* | string | Integration provider ID |
| is_active | boolean | Set false to disconnect this integration metadata |
{
"type": "object",
"required": [
"app_id",
"provider",
"config"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID"
},
"config": {
"type": "object",
"description": "Safe metadata only, such as workspace/team/name/email"
},
"provider": {
"type": "string",
"description": "Integration provider ID"
},
"is_active": {
"type": "boolean",
"default": true,
"description": "Set false to disconnect this integration metadata"
}
}
}Confirm the 6-digit code the owner received on WhatsApp from start_owner_phone_verification. On success the owner is verified: agents can message them, and platform numbers become connectable.
| Argument | Type | Description |
|---|---|---|
| code* | string | The 6-digit code from the WhatsApp message. |
| phone* | string | The same phone number the code was sent to. |
| region | string | Optional ISO region hint, matching the one used when sending. |
{
"type": "object",
"required": [
"phone",
"code"
],
"properties": {
"code": {
"type": "string",
"description": "The 6-digit code from the WhatsApp message."
},
"phone": {
"type": "string",
"description": "The same phone number the code was sent to."
},
"region": {
"type": "string",
"description": "Optional ISO region hint, matching the one used when sending."
}
}
}Create a native Fine Structure A/B test between existing app pages. Use update_app first if a variant page still needs to be generated. Creates a Saved Version before the change.
| Argument | Type | Description |
|---|---|---|
| name* | string | Experiment name |
| app_id* | string | The app ID |
| variants* | array | At least two variants. Traffic must total 100. |
| is_active | boolean | Whether to activate the test immediately |
| page_name* | string | Base route page that triggers the experiment |
| goal_event_type | string | Optional conversion goal type: entity_create, any, form_submit |
| goal_event_filter | object | Optional goal filter, for example {'entity_name': 'Lead'} |
{
"type": "object",
"required": [
"app_id",
"name",
"page_name",
"variants"
],
"properties": {
"name": {
"type": "string",
"description": "Experiment name"
},
"app_id": {
"type": "string",
"description": "The app ID"
},
"variants": {
"type": "array",
"items": {
"type": "object",
"required": [
"page_name",
"traffic_percent"
],
"properties": {
"page_name": {
"type": "string",
"description": "Existing app page name or path"
},
"traffic_percent": {
"type": "integer",
"description": "Traffic percentage for this variant"
}
}
},
"description": "At least two variants. Traffic must total 100."
},
"is_active": {
"type": "boolean",
"default": true,
"description": "Whether to activate the test immediately"
},
"page_name": {
"type": "string",
"description": "Base route page that triggers the experiment"
},
"goal_event_type": {
"type": "string",
"description": "Optional conversion goal type: entity_create, any, form_submit"
},
"goal_event_filter": {
"type": "object",
"description": "Optional goal filter, for example {'entity_name': 'Lead'}"
}
}
}Create an autonomous AI agent on the user's Fine Structure account: a standing worker, not a chat session. It gets the platform's default safe tool policy and its own email address, it can read and write the app database, and once the owner phone is verified (see get_agent_whatsapp) it can message its owner on WhatsApp and by email through the platform system channels. Pair it with schedule_agent_task for recurring work such as following up new leads on WhatsApp each morning, watching an app for runtime errors, or sending a weekly summary. Messaging anyone other than the verified owner requires a channel the owner connects in the Fine Structure Studio.
| Argument | Type | Description |
|---|---|---|
| name | string | Agent display name (e.g. 'Lead Follow-up'). Auto-derived from role when omitted. |
| role* | string | Short role label (e.g. 'sales assistant') |
| app_id | string | Optional app to attach the agent to; account-level when omitted |
| persona | string | Optional working style and tone instructions for the agent |
| description* | string | What this agent is responsible for, one or two sentences |
{
"type": "object",
"required": [
"role",
"description"
],
"properties": {
"name": {
"type": "string",
"description": "Agent display name (e.g. 'Lead Follow-up'). Auto-derived from role when omitted."
},
"role": {
"type": "string",
"description": "Short role label (e.g. 'sales assistant')"
},
"app_id": {
"type": "string",
"description": "Optional app to attach the agent to; account-level when omitted"
},
"persona": {
"type": "string",
"description": "Optional working style and tone instructions for the agent"
},
"description": {
"type": "string",
"description": "What this agent is responsible for, one or two sentences"
}
}
}Create a new application from a natural language prompt. The AI generates a complete web app with pages, components, styling, and data models. Returns a job_id - poll get_job_status to track progress. When the job is done, the app is ready.
| Argument | Type | Description |
|---|---|---|
| name* | string | Name for the app (1-100 chars) |
| prompt* | string | Detailed description of the app to build |
| description | string | Optional short description |
{
"type": "object",
"required": [
"name",
"prompt"
],
"properties": {
"name": {
"type": "string",
"description": "Name for the app (1-100 chars)"
},
"prompt": {
"type": "string",
"description": "Detailed description of the app to build"
},
"description": {
"type": "string",
"default": "",
"description": "Optional short description"
}
}
}Create a staged file change set. Add multiple file changes, validate them as one app state, then apply atomically.
| Argument | Type | Description |
|---|---|---|
| label | string | Optional short label |
| app_id* | string | The app ID |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"label": {
"type": "string",
"description": "Optional short label"
},
"app_id": {
"type": "string",
"description": "The app ID"
}
}
}Create/insert records in one app entity. Executes directly for the authenticated app owner and returns the created record ids.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID |
| entity* | string | Entity name |
| reason | string | Why these records should be created |
| records* | array | Records to create |
| expected_count | integer | Optional safety check; the write aborts if the record count differs |
{
"type": "object",
"required": [
"app_id",
"entity",
"records"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID"
},
"entity": {
"type": "string",
"description": "Entity name"
},
"reason": {
"type": "string",
"default": "",
"description": "Why these records should be created"
},
"records": {
"type": "array",
"items": {
"type": "object"
},
"description": "Records to create"
},
"expected_count": {
"type": "integer",
"description": "Optional safety check; the write aborts if the record count differs"
}
}
}Create an entity schema file in entities/<Entity>.json. Creates a Saved Version before writing.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID |
| entity* | string | Entity name |
| schema* | object | JSON schema object |
| indexes | array | |
| metadata | object | |
| overwrite | boolean | |
| relationships | array |
{
"type": "object",
"required": [
"app_id",
"entity",
"schema"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID"
},
"entity": {
"type": "string",
"description": "Entity name"
},
"schema": {
"type": "object",
"description": "JSON schema object"
},
"indexes": {
"type": "array",
"items": {
"type": "object"
},
"default": []
},
"metadata": {
"type": "object",
"default": {}
},
"overwrite": {
"type": "boolean",
"default": false
},
"relationships": {
"type": "array",
"items": {
"type": "object"
},
"default": []
}
}
}Open a request to the Fine Structure platform team: a bug, a feature request or a question about the platform itself (not about the user's app). Use it when something in the platform blocks you instead of working around it. Give a reproduction the team can run (invoke_function / curl / the exact tool call and result), what you expected, and how the team will know it is closed. Credential-looking values are redacted. Returns request_id and a Studio URL; the team's replies, status changes and deployments come back through get_platform_request / list_platform_requests. Limits: 20 per account per day, 32 KB.
| Argument | Type | Description |
|---|---|---|
| body* | string | Free text, markdown allowed: context, impact, what you tried |
| type* | string | |
| title* | string | One line, what is wrong or missing |
| app_id | string | Optional: the app where it showed up |
| expected | string | What should have happened |
| severity | string | |
| acceptance | string | How the team will know it is closed |
| attachments | array |
Delete a native A/B test from an app. Creates a Saved Version before the change.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID |
| test_id* | string | A/B test ID |
{
"type": "object",
"required": [
"app_id",
"test_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID"
},
"test_id": {
"type": "string",
"description": "A/B test ID"
}
}
}Delete exact records by ID or exact-match filters. Executes directly for the authenticated app owner; pass expected_count as a safety check to abort on a mismatch.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID |
| entity* | string | Entity name |
| reason | string | Why these records should be deleted |
| filters | any | One exact-match selector or a list of exact-match selectors |
| record_ids | array | Exact record IDs to delete |
| expected_count | integer | Required match count safety check, when known |
{
"type": "object",
"required": [
"app_id",
"entity"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID"
},
"entity": {
"type": "string",
"description": "Entity name"
},
"reason": {
"type": "string",
"default": "",
"description": "Why these records should be deleted"
},
"filters": {
"oneOf": [
{
"type": "object"
},
{
"type": "array",
"items": {
"type": "object"
}
}
],
"description": "One exact-match selector or a list of exact-match selectors"
},
"record_ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "Exact record IDs to delete"
},
"expected_count": {
"type": "integer",
"description": "Required match count safety check, when known"
}
}
}Delete one app secret by key.
| Argument | Type | Description |
|---|---|---|
| key* | string | Secret key name |
| app_id* | string | The app ID |
{
"type": "object",
"required": [
"app_id",
"key"
],
"properties": {
"key": {
"type": "string",
"description": "Secret key name"
},
"app_id": {
"type": "string",
"description": "The app ID"
}
}
}Disconnect the owner's WhatsApp route from a platform number. Removes only this account's route; other accounts sharing the number keep theirs.
| Argument | Type | Description |
|---|---|---|
| phone_number_id* | string | The number to disconnect, from get_agent_whatsapp. |
{
"type": "object",
"required": [
"phone_number_id"
],
"properties": {
"phone_number_id": {
"type": "string",
"description": "The number to disconnect, from get_agent_whatsapp."
}
}
}Discard a pending staged change set without changing app files.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID |
| change_set_id* | string | Change set ID |
{
"type": "object",
"required": [
"app_id",
"change_set_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID"
},
"change_set_id": {
"type": "string",
"description": "Change set ID"
}
}
}Get views, unique visitors, conversions, and conversion rates for an A/B test.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID |
| test_id* | string | A/B test ID |
{
"type": "object",
"required": [
"app_id",
"test_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID"
},
"test_id": {
"type": "string",
"description": "A/B test ID"
}
}
}Read visible messages, answers and result links in an owned agent's conversation. Returns the newest page in chronological order. For older history, pass next_before_id as before_id. For new replies, omit before_id.
| Argument | Type | Description |
|---|---|---|
| limit | integer | |
| agent_id* | string | Owned agent ID from list_agents. |
| before_id | string | |
| conversation_id* | string | Conversation ID returned by these tools. |
{
"type": "object",
"required": [
"agent_id",
"conversation_id"
],
"properties": {
"limit": {
"type": "integer",
"default": 50,
"maximum": 100,
"minimum": 1
},
"agent_id": {
"type": "string",
"minLength": 1,
"description": "Owned agent ID from list_agents."
},
"before_id": {
"type": "string"
},
"conversation_id": {
"type": "string",
"minLength": 1,
"description": "Conversation ID returned by these tools."
}
},
"additionalProperties": false
}Check a durable task returned by send_agent_message or list_agent_tasks. Includes the latest execution status and pending approvals, including before a run starts. Task scheduling state is separate from run outcome. Read the conversation for the actual answer; accepted/queued is not completed. Approvals must still be decided by the owner in Fine Structure.
| Argument | Type | Description |
|---|---|---|
| task_id* | string | |
| agent_id* | string | Owned agent ID from list_agents. |
{
"type": "object",
"required": [
"agent_id",
"task_id"
],
"properties": {
"task_id": {
"type": "string",
"minLength": 1
},
"agent_id": {
"type": "string",
"minLength": 1,
"description": "Owned agent ID from list_agents."
}
},
"additionalProperties": false
}Read the WhatsApp state of the connected account: whether the owner's phone is verified, which platform numbers they can connect, and which conversations already route to which agent. Call this first whenever the user asks to talk to an agent on WhatsApp, and repeat its next_step to them.
| Argument | Type | Description |
|---|---|---|
| agent_id | string | Optional: report only this agent's WhatsApp state. |
{
"type": "object",
"properties": {
"agent_id": {
"type": "string",
"description": "Optional: report only this agent's WhatsApp state."
}
}
}Traffic analytics for an app's published site over a chosen window: total views, unique visitors, daily series, top pages, top referrer domains and device split.
| Argument | Type | Description |
|---|---|---|
| days | integer | Window in days (1-90, default 7) |
| app_id* | string | The app ID |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"days": {
"type": "integer",
"default": 7,
"description": "Window in days (1-90, default 7)"
},
"app_id": {
"type": "string",
"description": "The app ID"
}
}
}Deep introspection of an app: entities, pages, settings, integrations, environment variables, and file structure. Use this to understand what an app contains before updating it.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID"
}
}
}Get the file tree for an app with paths and byte sizes.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID"
}
}
}Return editor, preview, published path, subdomain, and custom-domain links plus whether each works for anonymous visitors, app users, or Studio users based on publish and auth settings.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID"
}
}
}Read the saved public HTML-shell identity: name, description, language and image URLs/dimensions. Same settings as Studio SEO/GEO.
| Argument | Type | Description |
|---|---|---|
| app_id* | string |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"app_id": {
"type": "string"
}
},
"additionalProperties": false
}Read recent server-side security audit events for an app.
| Argument | Type | Description |
|---|---|---|
| limit | integer | |
| app_id* | string | The app ID |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"limit": {
"type": "integer",
"default": 100
},
"app_id": {
"type": "string",
"description": "The app ID"
}
}
}Return safe security context for one owned app: owner id/email, Studio collaborators, generated-app members, route policies, entity policies, function policies, and recent security audit entries. Does not return secrets and does not grant access to other apps.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID |
| audit_limit | integer |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID"
},
"audit_limit": {
"type": "integer",
"default": 50
}
}
}Get app overview: files, published state, URL, active jobs.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID"
}
}
}Return SSL/certificate status and pending certificate validation DNS records for the app custom domain.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID |
| domain | string | Optional configured custom domain. If omitted, uses the app's current custom domain. |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID"
},
"domain": {
"type": "string",
"description": "Optional configured custom domain. If omitted, uses the app's current custom domain."
}
}
}Return the exact DNS records and instructions required to verify and route the app custom domain.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID |
| domain | string | Optional configured custom domain. If omitted, uses the app's current custom domain. |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID"
},
"domain": {
"type": "string",
"description": "Optional configured custom domain. If omitted, uses the app's current custom domain."
}
}
}Get all entity (data model) schemas for an app, with record counts. Each entity has fields, types, and relationships.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID"
}
}
}Get recent runtime errors for an app (last 20). Useful for diagnosing issues before updating.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Max errors to return (default 20) |
| app_id* | string | The app ID |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"limit": {
"type": "integer",
"default": 20,
"description": "Max errors to return (default 20)"
},
"app_id": {
"type": "string",
"description": "The app ID"
}
}
}Poll the status of an async generation job. Use this after create_app or update_app to know when the job is done. Returns status ('running' or 'done'), progress events, and result summary when complete.
| Argument | Type | Description |
|---|---|---|
| job_id* | string | The job_id returned by create_app or update_app |
{
"type": "object",
"required": [
"job_id"
],
"properties": {
"job_id": {
"type": "string",
"description": "The job_id returned by create_app or update_app"
}
}
}Get all pages in an app with their file paths and sizes.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID"
}
}
}Return a machine-readable Fine Structure / FSe2 guide for AI agents. Call this at the start of an MCP session to learn app files, entities, safe edit workflows, validation, publishing, A/B testing, secrets, and platform rules.
| Argument | Type | Description |
|---|---|---|
| app_id | string | Optional app ID. If provided, the guide includes a safe app context summary. |
| sections | array | Optional subset of guide sections to return. |
| task_type | string | Optional task hint, for example edit_app, direct_file_edit, seed_data, or publish_app. |
{
"type": "object",
"properties": {
"app_id": {
"type": "string",
"description": "Optional app ID. If provided, the guide includes a safe app context summary."
},
"sections": {
"type": "array",
"items": {
"enum": [
"ab_testing",
"agency",
"agents",
"app_code",
"checklists",
"data_model",
"direct_file_edit",
"domains",
"file_model",
"functions",
"generation",
"marketing",
"media",
"overview",
"platform_requests",
"publishing",
"saas",
"safety",
"sdk",
"secrets_integrations",
"security",
"validation"
],
"type": "string"
},
"description": "Optional subset of guide sections to return."
},
"task_type": {
"type": "string",
"description": "Optional task hint, for example edit_app, direct_file_edit, seed_data, or publish_app."
}
}
}One platform request with its full history: team replies, status changes (open | triaged | in_progress | needs_info | deployed | wont_fix) and what was deployed (commit, time). Pass since=<ISO timestamp> to get only the events after it.
| Argument | Type | Description |
|---|---|---|
| since | string | Optional ISO timestamp: only events after it |
| request_id* | string |
{
"type": "object",
"required": [
"request_id"
],
"properties": {
"since": {
"type": "string",
"description": "Optional ISO timestamp: only events after it"
},
"request_id": {
"type": "string"
}
}
}Return editor preview and published/public URLs for an app.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID"
}
}
}Return the recommended MCP tool sequence for a task type. Use this before creating apps, editing files, seeding data, publishing, setting up A/B tests, restoring versions, or configuring secrets/integrations.
| Argument | Type | Description |
|---|---|---|
| goal | string | Optional short description of the user's goal. |
| app_id | string | Optional app ID. If provided, the workflow includes a safe app context summary. |
| task_type | string | The task type to plan. |
{
"type": "object",
"properties": {
"goal": {
"type": "string",
"default": "",
"description": "Optional short description of the user's goal."
},
"app_id": {
"type": "string",
"description": "Optional app ID. If provided, the workflow includes a safe app context summary."
},
"task_type": {
"enum": [
"ab_test",
"agency_client_app",
"backend_function",
"create_app",
"direct_file_edit",
"domain_setup",
"edit_app",
"fix_runtime_error",
"generate_media",
"inspect_preview",
"publish_app",
"saas_setup",
"schema_change",
"secrets_integration",
"security_setup",
"seed_data",
"unknown",
"version_restore"
],
"type": "string",
"default": "unknown",
"description": "The task type to plan."
}
}
}Return server-side preview context: URLs, persisted runtime/network errors, static clickable candidates, pages, and explicit live-browser availability.
| Argument | Type | Description |
|---|---|---|
| route | string | Optional route to inspect |
| app_id* | string | The app ID |
| auth_as | string | Optional auth simulation: anonymous |
| auth_as_role | string | Optional app role simulation, e.g. staff/admin/customer |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"route": {
"type": "string",
"default": "",
"description": "Optional route to inspect"
},
"app_id": {
"type": "string",
"description": "The app ID"
},
"auth_as": {
"type": "string",
"default": "",
"description": "Optional auth simulation: anonymous"
},
"auth_as_role": {
"type": "string",
"default": "",
"description": "Optional app role simulation, e.g. staff/admin/customer"
}
}
}Provision a generated-app runtime member with a role. This does not create a Studio collaborator, and the owner role cannot be assigned. password is required: ask the account owner which password the member should get. This tool never generates one, because a generated password would come back in the result and that is a live credential in the conversation transcript.
| Argument | Type | Description |
|---|---|---|
| role* | string | App role, e.g. admin/staff/customer |
| email* | string | Member email |
| app_id* | string | The app ID |
| password* | string | The password this member signs in with, chosen by the account owner. Required, and never echoed back in the result. |
| full_name | string |
{
"type": "object",
"required": [
"app_id",
"email",
"role",
"password"
],
"properties": {
"role": {
"type": "string",
"description": "App role, e.g. admin/staff/customer"
},
"email": {
"type": "string",
"description": "Member email"
},
"app_id": {
"type": "string",
"description": "The app ID"
},
"password": {
"type": "string",
"description": "The password this member signs in with, chosen by the account owner. Required, and never echoed back in the result."
},
"full_name": {
"type": "string",
"default": ""
}
}
}Run a backend function of an owned app exactly like the HTTP route and return its status and JSON. caller='owner' runs as the app owner; caller='anonymous' first evaluates the function policy as a public visitor and returns the 401/403 decision without running when access would be denied. Use it to verify a function (secrets, outbound calls, policy) before wiring it into the app.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID |
| caller | string | |
| params | object | JSON body passed to the function |
| headers | object | Optional extra request headers to simulate, e.g. a webhook secret header |
| function* | string | Function name, e.g. probe |
{
"type": "object",
"required": [
"app_id",
"function"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID"
},
"caller": {
"enum": [
"owner",
"anonymous"
],
"type": "string",
"default": "owner"
},
"params": {
"type": "object",
"default": {},
"description": "JSON body passed to the function"
},
"headers": {
"type": "object",
"default": {},
"description": "Optional extra request headers to simulate, e.g. a webhook secret header"
},
"function": {
"type": "string",
"description": "Function name, e.g. probe"
}
}
}List the platform A/B tests configured for an app.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID"
}
}
}List recent visible conversations belonging to one of your agents. Use get_agent_conversation to read replies and results.
| Argument | Type | Description |
|---|---|---|
| limit | integer | |
| agent_id* | string | Owned agent ID from list_agents. |
{
"type": "object",
"required": [
"agent_id"
],
"properties": {
"limit": {
"type": "integer",
"default": 50,
"maximum": 100,
"minimum": 1
},
"agent_id": {
"type": "string",
"minLength": 1,
"description": "Owned agent ID from list_agents."
}
},
"additionalProperties": false
}List scheduled tasks for one agent (or the whole account), including schedule, status and next_run_at.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Max tasks to return (1-100) |
| status | string | Optional status filter: draft, active, paused, archived |
| agent_id | string | Optional agent id filter |
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 50,
"description": "Max tasks to return (1-100)"
},
"status": {
"type": "string",
"description": "Optional status filter: draft, active, paused, archived"
},
"agent_id": {
"type": "string",
"description": "Optional agent id filter"
}
}
}List the AI agents on the user's account with id, name, role, status and FineMail address.
| Argument | Type | Description |
|---|---|---|
| app_id | string | Optional filter by attached app |
{
"type": "object",
"properties": {
"app_id": {
"type": "string",
"description": "Optional filter by attached app"
}
}
}List an app's platform path, subdomain, and configured custom domain with verification, SSL, primary-domain, redirect, publish, and login-gating status.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID"
}
}
}List generated-app runtime users/members for an app. This is separate from Studio project collaborators.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID"
}
}
}List owned and accepted Studio-shared applications, newest activity first. Returns up to `limit` apps per call plus the total count; page with `offset` when the account has more. Accepted editors can edit shared source; viewers can read it. Publishing, records, domains and security administration remain owner-only.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Max apps to return (1-200) |
| offset | integer | Apps to skip, for paging |
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 50,
"description": "Max apps to return (1-200)"
},
"offset": {
"type": "integer",
"default": 0,
"description": "Apps to skip, for paging"
}
}
}List supported integrations and safe connected integration metadata for an app. Tokens/secrets are never returned.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID"
}
}
}Your account's platform requests, newest activity first. Call it at the start of a session with since=<the updated_date you last saw> to learn what changed: replies, needs_info questions to answer, deployments with their commit. Filters: app_id, status.
| Argument | Type | Description |
|---|---|---|
| limit | integer | |
| scope | string | 'all' = every account (platform team only) |
| since | string | Optional ISO timestamp: only requests touched after it, each with changes_since |
| app_id | string | Optional app filter |
| status | string |
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 100
},
"scope": {
"enum": [
"mine",
"all"
],
"type": "string",
"default": "mine",
"description": "'all' = every account (platform team only)"
},
"since": {
"type": "string",
"description": "Optional ISO timestamp: only requests touched after it, each with changes_since"
},
"app_id": {
"type": "string",
"description": "Optional app filter"
},
"status": {
"enum": [
"open",
"triaged",
"in_progress",
"needs_info",
"deployed",
"wont_fix"
],
"type": "string"
}
}
}List restorable Saved Versions for an app, including versions created by MCP writes.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID"
}
}
}List secret key names for an app. Secret values are never returned.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID"
}
}
}Patch one file by replacing exact text. Safer than full overwrite for targeted edits. Creates a Saved Version before changing content. Paths follow the Fine Structure app file API, documented at https://finestructure.ai/api/mcp/docs.
| Argument | Type | Description |
|---|---|---|
| path* | string | Virtual file path |
| app_id* | string | The app ID |
| new_text* | string | Replacement text |
| old_text* | string | Exact existing text to replace |
| replace_all | boolean | Replace all matches instead of the first match |
{
"type": "object",
"required": [
"app_id",
"path",
"old_text",
"new_text"
],
"properties": {
"path": {
"type": "string",
"description": "Virtual file path"
},
"app_id": {
"type": "string",
"description": "The app ID"
},
"new_text": {
"type": "string",
"description": "Replacement text"
},
"old_text": {
"type": "string",
"description": "Exact existing text to replace"
},
"replace_all": {
"type": "boolean",
"default": false,
"description": "Replace all matches instead of the first match"
}
}
}Prepare an isolated read-only Saved Version preview, if enabled by the deployment. Returns compiled files for an offline sandbox, never restores files or reads live records. Never execute the returned program with host credentials. Requires app access and versions:read.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | |
| snapshot_id* | string |
{
"type": "object",
"required": [
"app_id",
"snapshot_id"
],
"properties": {
"app_id": {
"type": "string",
"minLength": 1
},
"snapshot_id": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}Publish an app - freeze current state and make it live at a URL. Also configures whether the public URL is open, app-login gated, private, or inferred from the app.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID to publish |
| access_mode | string | Live access policy. public_open = anyone can view. public_auth = public URL opens but app login is required. private = published snapshot remains owner/collaborator-only. keep = preserve current visibility/auth settings. infer = choose from existing settings and obvious app structure. |
| make_public | boolean | Optional explicit override for whether published URLs are publicly reachable. Prefer access_mode when possible. |
| auth_required | boolean | Optional explicit override for generated-app login requirement. Prefer access_mode when possible. |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID to publish"
},
"access_mode": {
"enum": [
"infer",
"public_open",
"public_auth",
"private",
"keep"
],
"type": "string",
"default": "infer",
"description": "Live access policy. public_open = anyone can view. public_auth = public URL opens but app login is required. private = published snapshot remains owner/collaborator-only. keep = preserve current visibility/auth settings. infer = choose from existing settings and obvious app structure."
},
"make_public": {
"type": "boolean",
"description": "Optional explicit override for whether published URLs are publicly reachable. Prefer access_mode when possible."
},
"auth_required": {
"type": "boolean",
"description": "Optional explicit override for generated-app login requirement. Prefer access_mode when possible."
}
}
}Query app data records for one entity with optional exact-match filters.
| Argument | Type | Description |
|---|---|---|
| sort | string | Sort field, prefix with - for descending |
| limit | integer | Max records to return |
| app_id* | string | The app ID |
| entity* | string | Entity name, for example Patient |
| offset | integer | Pagination offset |
| filters | object | Exact-match field filters |
{
"type": "object",
"required": [
"app_id",
"entity"
],
"properties": {
"sort": {
"type": "string",
"default": "-created_date",
"description": "Sort field, prefix with - for descending"
},
"limit": {
"type": "integer",
"default": 100,
"description": "Max records to return"
},
"app_id": {
"type": "string",
"description": "The app ID"
},
"entity": {
"type": "string",
"description": "Entity name, for example Patient"
},
"offset": {
"type": "integer",
"default": 0,
"description": "Pagination offset"
},
"filters": {
"type": "object",
"default": {},
"description": "Exact-match field filters"
}
}
}Read one source file from an app's virtual filesystem. Paths follow the Fine Structure app file API, documented at https://finestructure.ai/api/mcp/docs.
| Argument | Type | Description |
|---|---|---|
| path* | string | Virtual file path, for example pages/Home.jsx |
| app_id* | string | The app ID |
| max_chars | integer | Maximum content characters to return |
{
"type": "object",
"required": [
"app_id",
"path"
],
"properties": {
"path": {
"type": "string",
"description": "Virtual file path, for example pages/Home.jsx"
},
"app_id": {
"type": "string",
"description": "The app ID"
},
"max_chars": {
"type": "integer",
"default": 200000,
"description": "Maximum content characters to return"
}
}
}Read several source files from an app's virtual filesystem. Paths follow the Fine Structure app file API, documented at https://finestructure.ai/api/mcp/docs.
| Argument | Type | Description |
|---|---|---|
| paths* | array | Virtual file paths to read |
| app_id* | string | The app ID |
| max_chars_per_file | integer | Maximum characters per file |
{
"type": "object",
"required": [
"app_id",
"paths"
],
"properties": {
"paths": {
"type": "array",
"items": {
"type": "string"
},
"description": "Virtual file paths to read"
},
"app_id": {
"type": "string",
"description": "The app ID"
},
"max_chars_per_file": {
"type": "integer",
"default": 100000,
"description": "Maximum characters per file"
}
}
}Remove a generated-app runtime member.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID |
| user_id* | string | Generated app user id |
{
"type": "object",
"required": [
"app_id",
"user_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID"
},
"user_id": {
"type": "string",
"description": "Generated app user id"
}
}
}Remove the configured custom domain from the app and clean up the platform-side hostname registration when possible.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID |
| domain | string | Optional configured custom domain. If omitted, removes the current custom domain. |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID"
},
"domain": {
"type": "string",
"description": "Optional configured custom domain. If omitted, removes the current custom domain."
}
}
}Rename or move one app source file atomically. Internally stages an upsert at new_path and a delete at old_path, validates the resulting app state, and creates a Saved Version before applying.
| Argument | Type | Description |
|---|---|---|
| force | boolean | Apply even if validation reports blocking errors |
| app_id* | string | The app ID |
| new_path* | string | New virtual file path |
| old_path* | string | Existing virtual file path to rename |
| overwrite | boolean | Allow replacing an existing file at new_path |
{
"type": "object",
"required": [
"app_id",
"old_path",
"new_path"
],
"properties": {
"force": {
"type": "boolean",
"default": false,
"description": "Apply even if validation reports blocking errors"
},
"app_id": {
"type": "string",
"description": "The app ID"
},
"new_path": {
"type": "string",
"description": "New virtual file path"
},
"old_path": {
"type": "string",
"description": "Existing virtual file path to rename"
},
"overwrite": {
"type": "boolean",
"default": false,
"description": "Allow replacing an existing file at new_path"
}
}
}Add a reply or a finding to one of your platform requests without opening a new one, e.g. to answer a needs_info question (that reopens it).
| Argument | Type | Description |
|---|---|---|
| body* | string | The answer or finding (markdown allowed, credentials are redacted) |
| as_team | boolean | Platform team only: reply as the team (mails the requester) |
| request_id* | string |
{
"type": "object",
"required": [
"request_id",
"body"
],
"properties": {
"body": {
"type": "string",
"description": "The answer or finding (markdown allowed, credentials are redacted)"
},
"as_team": {
"type": "boolean",
"default": false,
"description": "Platform team only: reply as the team (mails the requester)"
},
"request_id": {
"type": "string"
}
}
}Restore one file from a Saved Version instead of restoring the entire app. Creates a Saved Version before changing the file. Paths follow the Fine Structure app file API, documented at https://finestructure.ai/api/mcp/docs.
| Argument | Type | Description |
|---|---|---|
| path* | string | Virtual file path to restore |
| app_id* | string | The app ID |
| confirm* | boolean | |
| snapshot_id* | string | Saved Version snapshot ID |
{
"type": "object",
"required": [
"app_id",
"snapshot_id",
"path",
"confirm"
],
"properties": {
"path": {
"type": "string",
"description": "Virtual file path to restore"
},
"app_id": {
"type": "string",
"description": "The app ID"
},
"confirm": {
"type": "boolean",
"default": false
},
"snapshot_id": {
"type": "string",
"description": "Saved Version snapshot ID"
}
}
}Create a scheduled task for one of the user's agents. Supported schedule types: once (run_at ISO local time + timezone), interval (interval_minutes 5-1440), hourly, daily (time HH:MM + timezone), weekly (time + timezone + days_of_week 0=Sunday..6), cron (5-field expression + timezone), manual (only runs on demand). Returns the normalized schedule and the computed next_run_at so you can read the fire time back to the user in their timezone.
| Argument | Type | Description |
|---|---|---|
| title* | string | Short task title |
| activate | boolean | Start the schedule immediately (true) or save as draft (false) |
| agent_id* | string | The agent id (from create_agent or list_agents) |
| max_runs | integer | Optional cap on total runs (0 = unlimited) |
| schedule* | object | Schedule object, e.g. {"type":"daily","time":"08:30","timezone":"Asia/Jerusalem"} or {"type":"weekly","time":"09:00","timezone":"Asia/Jerusalem","days_of_week":[0]} or {"type":"once","run_at":"2026-08-20T09:00","timezone":"Asia/Jerusalem"} |
| instructions* | string | What the agent should do on each run, written as instructions to the agent |
{
"type": "object",
"required": [
"agent_id",
"title",
"instructions",
"schedule"
],
"properties": {
"title": {
"type": "string",
"description": "Short task title"
},
"activate": {
"type": "boolean",
"default": true,
"description": "Start the schedule immediately (true) or save as draft (false)"
},
"agent_id": {
"type": "string",
"description": "The agent id (from create_agent or list_agents)"
},
"max_runs": {
"type": "integer",
"default": 0,
"description": "Optional cap on total runs (0 = unlimited)"
},
"schedule": {
"type": "object",
"description": "Schedule object, e.g. {\"type\":\"daily\",\"time\":\"08:30\",\"timezone\":\"Asia/Jerusalem\"} or {\"type\":\"weekly\",\"time\":\"09:00\",\"timezone\":\"Asia/Jerusalem\",\"days_of_week\":[0]} or {\"type\":\"once\",\"run_at\":\"2026-08-20T09:00\",\"timezone\":\"Asia/Jerusalem\"}"
},
"instructions": {
"type": "string",
"description": "What the agent should do on each run, written as instructions to the agent"
}
}
}Compatibility tool for starter-record creation. Inserts directly for the authenticated app owner; by default it only seeds an empty entity (skip_if_not_empty).
| Argument | Type | Description |
|---|---|---|
| mode | string | append always inserts; skip_if_not_empty inserts only when the entity is empty |
| app_id* | string | The app ID |
| entity* | string | Entity name |
| reason | string | Why these records should be created |
| records* | array | Records to insert |
{
"type": "object",
"required": [
"app_id",
"entity",
"records"
],
"properties": {
"mode": {
"enum": [
"append",
"skip_if_not_empty"
],
"type": "string",
"default": "skip_if_not_empty",
"description": "append always inserts; skip_if_not_empty inserts only when the entity is empty"
},
"app_id": {
"type": "string",
"description": "The app ID"
},
"entity": {
"type": "string",
"description": "Entity name"
},
"reason": {
"type": "string",
"default": "",
"description": "Why these records should be created"
},
"records": {
"type": "array",
"items": {
"type": "object"
},
"description": "Records to insert"
}
}
}Talk to an existing agent or assign it work using its normal tools, memory, permissions and team. Omit conversation_id to start a new owner conversation; supply it to continue one. Returns acceptance and a durable task_id immediately, NOT a completed answer. Poll get_agent_task and read get_agent_conversation for the actual response. Work continues after MCP disconnects. A follow-up in a busy conversation uses the normal queue. Customer conversations are readable but cannot be impersonated by this tool.
| Argument | Type | Description |
|---|---|---|
| message* | string | |
| agent_id* | string | Owned agent ID from list_agents. |
| conversation_id | string | Conversation ID returned by these tools. |
{
"type": "object",
"required": [
"agent_id",
"message"
],
"properties": {
"message": {
"type": "string",
"minLength": 1
},
"agent_id": {
"type": "string",
"minLength": 1,
"description": "Owned agent ID from list_agents."
},
"conversation_id": {
"type": "string",
"minLength": 1,
"description": "Conversation ID returned by these tools."
}
},
"additionalProperties": false
}Set the owner's consent for one owned agent to relay reports from another owned agent (or all sources with '*'). Uses the same preference as the agent screen. Does not send a message or grant access to customer conversations.
| Argument | Type | Description |
|---|---|---|
| enabled* | boolean | |
| source_agent_id | string | |
| receiving_agent_id* | string |
{
"type": "object",
"required": [
"receiving_agent_id",
"enabled"
],
"properties": {
"enabled": {
"type": "boolean"
},
"source_agent_id": {
"type": "string",
"default": "*",
"minLength": 1
},
"receiving_agent_id": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}Update public HTML-shell metadata immediately, without AI, code edits, publishing or Saved Versions. Upload social_image/icon as base64 PNG/JPEG/WebP (max 5 MB, 4096px); null clears an image. Language sets HTML lang/dir and OG locale. For per-page cards, write optional seo.json and publish it; dynamic entries may read only explicitly public entity records.
| Argument | Type | Description |
|---|---|---|
| icon | any | |
| name | string | |
| app_id* | string | |
| language | string | BCP-47 code, e.g. he, ar, en-US |
| description | string | |
| social_image | any | |
| structured_data | string | Optional JSON-LD JSON string; empty clears it |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"icon": {
"anyOf": [
{
"type": "object",
"required": [
"base64",
"content_type"
],
"properties": {
"base64": {
"type": "string"
},
"content_type": {
"enum": [
"image/png",
"image/jpeg",
"image/webp"
],
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"name": {
"type": "string",
"maxLength": 200
},
"app_id": {
"type": "string"
},
"language": {
"type": "string",
"description": "BCP-47 code, e.g. he, ar, en-US"
},
"description": {
"type": "string",
"maxLength": 4000
},
"social_image": {
"anyOf": [
{
"type": "object",
"required": [
"base64",
"content_type"
],
"properties": {
"base64": {
"type": "string"
},
"content_type": {
"enum": [
"image/png",
"image/jpeg",
"image/webp"
],
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"structured_data": {
"type": "string",
"description": "Optional JSON-LD JSON string; empty clears it"
}
},
"additionalProperties": false
}Set or clear the app platform subdomain - the '<subdomain>.<base domain>' host Fine Structure already serves the app on. Runs the same ownership, format, reserved-name and uniqueness checks as the Studio subdomain field because it calls the same model function. Replacing a subdomain takes effect immediately and creates NO redirect: the previous name stops resolving to this app and is released for anyone to claim. Pass an empty subdomain to clear it. For a domain the user owns, use add_custom_domain instead.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID |
| subdomain* | string | Subdomain label: 3-32 characters, lowercase letters, digits and hyphens, no leading or trailing hyphen, not a reserved platform name. Empty string clears the subdomain. |
{
"type": "object",
"required": [
"app_id",
"subdomain"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID"
},
"subdomain": {
"type": "string",
"description": "Subdomain label: 3-32 characters, lowercase letters, digits and hyphens, no leading or trailing hyphen, not a reserved platform name. Empty string clears the subdomain."
}
}
}Replace server-side entity access policy. Optional action rules override read/write roles and can allow public create without public read, update, or delete. Omitting rules replaces any existing action rules with read/write role behavior.
| Argument | Type | Description |
|---|---|---|
| read* | array | Roles allowed to read when rules are omitted |
| rules | object | Nonempty unconditional action/role rules. No matching rule denies access. Include owner/admin actions explicitly. Record conditions are not supported by this MCP input. |
| write* | array | Roles allowed to write when rules are omitted |
| app_id* | string | The app ID |
| entity* | string | Entity name, e.g. Booking |
{
"type": "object",
"required": [
"app_id",
"entity",
"read",
"write"
],
"properties": {
"read": {
"type": "array",
"items": {
"type": "string"
},
"description": "Roles allowed to read when rules are omitted"
},
"rules": {
"type": "object",
"required": [
"rules"
],
"properties": {
"rules": {
"type": "array",
"items": {
"type": "object",
"required": [
"actions",
"subject"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"actions": {
"type": "array",
"items": {
"enum": [
"create",
"read",
"update",
"delete",
"write"
],
"type": "string"
},
"minItems": 1
},
"subject": {
"type": "object",
"required": [
"roles"
],
"properties": {
"roles": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 1
}
},
"additionalProperties": false
},
"description": {
"type": "string"
}
},
"additionalProperties": false
},
"minItems": 1
},
"version": {
"enum": [
1
],
"type": "integer"
}
},
"description": "Nonempty unconditional action/role rules. No matching rule denies access. Include owner/admin actions explicitly. Record conditions are not supported by this MCP input.",
"additionalProperties": false
},
"write": {
"type": "array",
"items": {
"type": "string"
},
"description": "Roles allowed to write when rules are omitted"
},
"app_id": {
"type": "string",
"description": "The app ID"
},
"entity": {
"type": "string",
"description": "Entity name, e.g. Booking"
}
}
}Create or update the server-owned access policy of a backend function (functions/<name>.js). Without a policy a function answers only to the app owner's Studio token (401 for app visitors and webhooks). Recipes: anonymous checkout step or inbound webhook/IPN -> require_auth=false; signed-in members -> require_auth=true + allowed_roles (e.g. ['authenticated'] or ['admin','staff']); webhook with a shared secret -> require_secret=true + secret_name (an app secret) that the caller sends in secret_header. allowed_hosts fences the function's outbound network to those hosts plus the platform backend; omit it for open egress.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID |
| function* | string | Function name, e.g. takbull_create (file functions/takbull_create.js) |
| secret_name | string | Name of the app secret holding the shared value (set_secret) |
| require_auth* | boolean | false = anonymous visitors and external callers may invoke |
| sdk_identity | string | Whose identity the SDK inside the function uses. 'caller' (default): the function reads data as whoever called it, so an anonymous call sees only what anonymous may read. 'app': the SDK acts as the app owner on THIS app's entities (a checkout or payment IPN that must load/update orders whose read policy is owner/admin/staff); the caller still counts as anonymous for rate limits, audit and X-FSe2-Caller-Type. Owner-only. Omit to keep the stored value |
Set which app host should be treated as primary for generated links and custom-domain redirects.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID |
| domain* | string | Primary host, for example example.com, www.example.com, or the app subdomain host. |
{
"type": "object",
"required": [
"app_id",
"domain"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID"
},
"domain": {
"type": "string",
"description": "Primary host, for example example.com, www.example.com, or the app subdomain host."
}
}
}Create or update a server-owned route policy for a generated app route.
| Argument | Type | Description |
|---|---|---|
| route* | string | Route or wildcard route, e.g. /admin/* |
| app_id* | string | The app ID |
| redirect_to | string | |
| require_auth* | boolean | |
| allowed_roles* | array | Allowed app roles |
{
"type": "object",
"required": [
"app_id",
"route",
"require_auth",
"allowed_roles"
],
"properties": {
"route": {
"type": "string",
"description": "Route or wildcard route, e.g. /admin/*"
},
"app_id": {
"type": "string",
"description": "The app ID"
},
"redirect_to": {
"type": "string",
"default": "/Login"
},
"require_auth": {
"type": "boolean",
"default": true
},
"allowed_roles": {
"type": "array",
"items": {
"type": "string"
},
"description": "Allowed app roles"
}
}
}Create or update one encrypted app secret. The secret value is never returned.
| Argument | Type | Description |
|---|---|---|
| key* | string | Secret key name |
| value* | string | Secret value to encrypt and store |
| app_id* | string | The app ID |
{
"type": "object",
"required": [
"app_id",
"key",
"value"
],
"properties": {
"key": {
"type": "string",
"description": "Secret key name"
},
"value": {
"type": "string",
"description": "Secret value to encrypt and store"
},
"app_id": {
"type": "string",
"description": "The app ID"
}
}
}Send a 6-digit code over WhatsApp to the ACCOUNT OWNER's own phone. This is the one-time ownership proof required before a platform number can be connected, and it also unlocks agents messaging the owner. Ask the user for their own WhatsApp number first and send only to that. No WhatsApp Business account is involved.
| Argument | Type | Description |
|---|---|---|
| phone* | string | The owner's own WhatsApp number, ideally in E.164 form such as +972501234567. |
| region | string | Optional ISO region hint (for example IL, US) used when the number has no country code. |
{
"type": "object",
"required": [
"phone"
],
"properties": {
"phone": {
"type": "string",
"description": "The owner's own WhatsApp number, ideally in E.164 form such as +972501234567."
},
"region": {
"type": "string",
"description": "Optional ISO region hint (for example IL, US) used when the number has no country code."
}
}
}Update a native A/B test, including active state, variants, traffic, and conversion goal. Creates a Saved Version before the change.
| Argument | Type | Description |
|---|---|---|
| name | string | Optional new name |
| app_id* | string | The app ID |
| test_id* | string | A/B test ID |
| variants | array | Optional replacement variants. Traffic must total 100. |
| is_active | boolean | Optional active state |
| page_name | string | Optional new base route page |
| goal_event_type | string | Optional conversion goal type |
| goal_event_filter | object | Optional conversion goal filter |
{
"type": "object",
"required": [
"app_id",
"test_id"
],
"properties": {
"name": {
"type": "string",
"description": "Optional new name"
},
"app_id": {
"type": "string",
"description": "The app ID"
},
"test_id": {
"type": "string",
"description": "A/B test ID"
},
"variants": {
"type": "array",
"items": {
"type": "object"
},
"description": "Optional replacement variants. Traffic must total 100."
},
"is_active": {
"type": "boolean",
"description": "Optional active state"
},
"page_name": {
"type": "string",
"description": "Optional new base route page"
},
"goal_event_type": {
"type": "string",
"description": "Optional conversion goal type"
},
"goal_event_filter": {
"type": "object",
"description": "Optional conversion goal filter"
}
}
}Update an existing application with a new prompt. The AI modifies the app based on your instructions. Creates a Saved Version before the update. Returns a job_id - poll get_job_status to track progress.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID to update |
| prompt* | string | What to change in the app |
{
"type": "object",
"required": [
"app_id",
"prompt"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID to update"
},
"prompt": {
"type": "string",
"description": "What to change in the app"
}
}
}Update a generated-app runtime member role. This cannot assign owner and cannot change the Fine Structure account owner.
| Argument | Type | Description |
|---|---|---|
| role* | string | New role |
| app_id* | string | The app ID |
| user_id* | string | Generated app user id |
{
"type": "object",
"required": [
"app_id",
"user_id",
"role"
],
"properties": {
"role": {
"type": "string",
"description": "New role"
},
"app_id": {
"type": "string",
"description": "The app ID"
},
"user_id": {
"type": "string",
"description": "Generated app user id"
}
}
}Set relationship/index metadata on an entity schema. This stores metadata in the schema file; DB index creation is automatic where supported by the platform.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID |
| entity* | string | Entity name |
| indexes | array | |
| metadata | object | |
| relationships | array |
{
"type": "object",
"required": [
"app_id",
"entity"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID"
},
"entity": {
"type": "string",
"description": "Entity name"
},
"indexes": {
"type": "array",
"items": {
"type": "object"
},
"default": []
},
"metadata": {
"type": "object",
"default": {}
},
"relationships": {
"type": "array",
"items": {
"type": "object"
},
"default": []
}
}
}Compatibility tool that updates one record by ID. Executes directly for the authenticated app owner.
| Argument | Type | Description |
|---|---|---|
| data* | object | Fields to merge into the record |
| app_id* | string | The app ID |
| entity* | string | Entity name |
| reason | string | Why this record should be updated |
| record_id* | string | Record ID |
{
"type": "object",
"required": [
"app_id",
"entity",
"record_id",
"data"
],
"properties": {
"data": {
"type": "object",
"description": "Fields to merge into the record"
},
"app_id": {
"type": "string",
"description": "The app ID"
},
"entity": {
"type": "string",
"description": "Entity name"
},
"reason": {
"type": "string",
"default": "",
"description": "Why this record should be updated"
},
"record_id": {
"type": "string",
"description": "Record ID"
}
}
}Update exact records. Select explicit record_ids or exact-match filters and provide shared changes, or provide per-record updates. Executes directly for the authenticated app owner; expected_count aborts the write on a mismatch.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID |
| entity* | string | Entity name |
| reason | string | Why these records should be updated |
| changes | object | Shared fields to merge into every selected record |
| filters | any | One exact-match selector or a list of exact-match selectors |
| updates | array | Per-record changes; use instead of shared changes |
| record_ids | array | Exact record IDs to update |
| expected_count | integer | Required match count safety check, when known |
Replace or shallow-merge an existing entity schema file. Creates a Saved Version before writing.
| Argument | Type | Description |
|---|---|---|
| merge | boolean | |
| app_id* | string | The app ID |
| entity* | string | Entity name |
| schema* | object | Schema fields to set or merge |
| indexes | array | |
| metadata | object | |
| relationships | array |
{
"type": "object",
"required": [
"app_id",
"entity",
"schema"
],
"properties": {
"merge": {
"type": "boolean",
"default": true
},
"app_id": {
"type": "string",
"description": "The app ID"
},
"entity": {
"type": "string",
"description": "Entity name"
},
"schema": {
"type": "object",
"description": "Schema fields to set or merge"
},
"indexes": {
"type": "array",
"items": {
"type": "object"
},
"default": []
},
"metadata": {
"type": "object",
"default": {}
},
"relationships": {
"type": "array",
"items": {
"type": "object"
},
"default": []
}
}
}Platform team only: set the status of a request (open | triaged | in_progress | needs_info | deployed | wont_fix), attach the deployed commit and/or reply. deployed and needs_info mail the requester.
| Argument | Type | Description |
|---|---|---|
| reply | string | |
| status | string | |
| request_id* | string | |
| deployed_commit | string | Commit hash or tag that shipped it |
{
"type": "object",
"required": [
"request_id"
],
"properties": {
"reply": {
"type": "string"
},
"status": {
"enum": [
"open",
"triaged",
"in_progress",
"needs_info",
"deployed",
"wont_fix"
],
"type": "string"
},
"request_id": {
"type": "string"
},
"deployed_commit": {
"type": "string",
"description": "Commit hash or tag that shipped it"
}
}
}Run deterministic app checks: syntax, imports, routes/pages, entity schemas, missing entities, and recorded runtime errors.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID |
| include_runtime_errors | boolean |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID"
},
"include_runtime_errors": {
"type": "boolean",
"default": true
}
}
}Validate current app files plus staged change set files before applying.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID |
| change_set_id* | string | Change set ID |
| include_runtime_errors | boolean |
{
"type": "object",
"required": [
"app_id",
"change_set_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID"
},
"change_set_id": {
"type": "string",
"description": "Change set ID"
},
"include_runtime_errors": {
"type": "boolean",
"default": true
}
}
}Validate entity relationship metadata and *_id references against existing entity schemas.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | The app ID |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID"
}
}
}Create or replace one file in an app's virtual filesystem. Creates a Saved Version before changing content. Paths and file model follow the Fine Structure app file API, documented at https://finestructure.ai/api/mcp/docs.
| Argument | Type | Description |
|---|---|---|
| path* | string | Virtual file path |
| app_id* | string | The app ID |
| content* | string | Complete file contents |
| file_type | string | Optional file type override |
{
"type": "object",
"required": [
"app_id",
"path",
"content"
],
"properties": {
"path": {
"type": "string",
"description": "Virtual file path"
},
"app_id": {
"type": "string",
"description": "The app ID"
},
"content": {
"type": "string",
"description": "Complete file contents"
},
"file_type": {
"type": "string",
"description": "Optional file type override"
}
}
}| Optional app file paths or log ids |
| reproduction | string | Steps, invoke_function calls or curl commands that reproduce it |
{
"type": "object",
"required": [
"type",
"title",
"body"
],
"properties": {
"body": {
"type": "string",
"description": "Free text, markdown allowed: context, impact, what you tried"
},
"type": {
"enum": [
"bug",
"feature",
"question"
],
"type": "string"
},
"title": {
"type": "string",
"description": "One line, what is wrong or missing"
},
"app_id": {
"type": "string",
"description": "Optional: the app where it showed up"
},
"expected": {
"type": "string",
"description": "What should have happened"
},
"severity": {
"enum": [
"blocker",
"high",
"normal",
"low"
],
"type": "string",
"default": "normal"
},
"acceptance": {
"type": "string",
"description": "How the team will know it is closed"
},
"attachments": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "Optional app file paths or log ids"
},
"reproduction": {
"type": "string",
"description": "Steps, invoke_function calls or curl commands that reproduce it"
}
}
}| allowed_hosts |
| array |
| Outbound egress allow-list of host[:port] entries, e.g. ['api.takbull.co.il']. Omit to keep the stored list; pass [] to open egress again |
| allowed_roles | array | App roles allowed when require_auth is true; 'authenticated' = any signed-in app member |
| secret_header | string | Header the caller sends the shared secret in |
| require_secret | boolean | Caller must send a shared secret header (webhooks) |
{
"type": "object",
"required": [
"app_id",
"function",
"require_auth"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID"
},
"function": {
"type": "string",
"description": "Function name, e.g. takbull_create (file functions/takbull_create.js)"
},
"secret_name": {
"type": "string",
"default": "",
"description": "Name of the app secret holding the shared value (set_secret)"
},
"require_auth": {
"type": "boolean",
"default": true,
"description": "false = anonymous visitors and external callers may invoke"
},
"sdk_identity": {
"enum": [
"caller",
"app"
],
"type": "string",
"description": "Whose identity the SDK inside the function uses. 'caller' (default): the function reads data as whoever called it, so an anonymous call sees only what anonymous may read. 'app': the SDK acts as the app owner on THIS app's entities (a checkout or payment IPN that must load/update orders whose read policy is owner/admin/staff); the caller still counts as anonymous for rate limits, audit and X-FSe2-Caller-Type. Owner-only. Omit to keep the stored value"
},
"allowed_hosts": {
"type": "array",
"items": {
"type": "string"
},
"description": "Outbound egress allow-list of host[:port] entries, e.g. ['api.takbull.co.il']. Omit to keep the stored list; pass [] to open egress again"
},
"allowed_roles": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "App roles allowed when require_auth is true; 'authenticated' = any signed-in app member"
},
"secret_header": {
"type": "string",
"default": "x-fse2-secret",
"description": "Header the caller sends the shared secret in"
},
"require_secret": {
"type": "boolean",
"default": false,
"description": "Caller must send a shared secret header (webhooks)"
}
}
}{
"type": "object",
"required": [
"app_id",
"entity"
],
"properties": {
"app_id": {
"type": "string",
"description": "The app ID"
},
"entity": {
"type": "string",
"description": "Entity name"
},
"reason": {
"type": "string",
"default": "",
"description": "Why these records should be updated"
},
"changes": {
"type": "object",
"description": "Shared fields to merge into every selected record"
},
"filters": {
"oneOf": [
{
"type": "object"
},
{
"type": "array",
"items": {
"type": "object"
}
}
],
"description": "One exact-match selector or a list of exact-match selectors"
},
"updates": {
"type": "array",
"items": {
"type": "object",
"required": [
"record_id",
"changes"
],
"properties": {
"changes": {
"type": "object"
},
"record_id": {
"type": "string"
}
}
},
"description": "Per-record changes; use instead of shared changes"
},
"record_ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "Exact record IDs to update"
},
"expected_count": {
"type": "integer",
"description": "Required match count safety check, when known"
}
}
}