Fine Structure
ai.finestructure/fine-structure
Serveur MCP OK 188 outils
Build and host full-stack apps from a prompt, with agents that reach you on WhatsApp and email.
Fiche technique
- Auteur
- finestructure.ai (espace de noms du registre)
- Dépôt
- —
- Site
- finestructure.ai
- Version
- 1.0.2
- Transport
- Streamable HTTP
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://finestructure.ai/api/mcp Streamable HTTP
- Outils
- 188
- Catégories
- IA, agents et mémoire, Messagerie et communication
- Comparatifs
- Serveurs MCP pour WhatsApp, Serveurs MCP pour Gmail et e-mail
- Dernière mise à jour
- 17 août 2026
- Publication
- 17 août 2026
Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/ai.finestructure/fine-structure)<a href="https://latlas.dev/mcp/ai.finestructure/fine-structure"><img src="https://latlas.dev/badge/fiche/ai.finestructure/fine-structure.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://finestructure.ai/api/mcp
- Dernier résultat
- OK 28 nov. 2026, 07:50
- Temps de réponse
- 1 120 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- fine-structure-mcp 1.0.2
- Outils
- 188
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 07:50 | OK | 1 120 ms | 188 |
Outils exposés (188, réponse à tools/list, 28 nov. 2026)
create_app
Create App
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| name | string | oui | Name for the app (1-100 chars) |
| prompt | string | oui | Detailed description of the app to build |
| description | string | non | Optional short description |
agency_create_client
Agency: Create Client
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| client_email | string | oui | Client email that will be allowed to claim projects |
| client_full_name | string | non | Optional client display name |
| note | string | non | Optional internal note for the agency |
agency_list_clients
Agency: List Clients
Agency mode only. List client records and app handoff status for the authenticated agent.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| include_handoffs | boolean | non | Include claim links status without raw tokens |
agency_create_client_app
Agency: Create Client App
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| client_email | string | oui | Client email allowed to claim ownership |
| client_full_name | string | non | Optional client display name |
| name | string | oui | Name for the app (1-100 chars) |
| prompt | string | oui | Detailed description of the app to build |
| description | string | non | Optional short app description |
| note | string | non | Optional internal client/project note |
| keep_agent_collaborator | boolean | non | After claim, invite the agent back as an editor collaborator |
| claim_expires_in_days | integer | non | Claim link lifetime, 1-90 days |
agency_create_claim_link
Agency: Create Claim Link
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | Existing app ID owned by the agent |
| client_email | string | oui | Client email allowed to claim ownership |
| client_full_name | string | non | Optional client display name |
| note | string | non | Optional internal note |
| keep_agent_collaborator | boolean | non | Invite agent as editor after claim |
| claim_expires_in_days | integer | non | Claim link lifetime, 1-90 days |
agency_get_claim_status
Agency: Get Claim Status
Agency mode only. Inspect one handoff status without exposing the raw claim token.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| handoff_id | string | oui | Handoff ID returned by agency_create_claim_link or agency_create_client_app |
update_app
Update App
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID to update |
| prompt | string | oui | What to change in the app |
publish_app
Publish App
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID to publish |
| access_mode | enum: "infer" | "public_open" | "public_auth" | "private" | "keep" | non | 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. |
| auth_required | boolean | non | Optional explicit override for generated-app login requirement. Prefer access_mode when possible. |
| make_public | boolean | non | Optional explicit override for whether published URLs are publicly reachable. Prefer access_mode when possible. |
get_platform_guide
Get Platform Guide
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | non | Optional app ID. If provided, the guide includes a safe app context summary. |
| sections | array<enum: "ab_testing" | "agency" | "agents" | "app_code" | "checklists" | "contracts" | "data_model" | "direct_file_edit" …> | non | Optional subset of guide sections to return. |
| task_type | string | non | Optional task hint, for example edit_app, direct_file_edit, seed_data, or publish_app. |
get_recommended_workflow
Get Recommended Workflow
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| task_type | enum: "ab_test" | "agency_client_app" | "backend_function" | "create_app" | "direct_file_edit" | "domain_setup" | "edit_app" | "fix_runtime_error" … | non | The task type to plan. |
| goal | string | non | Optional short description of the user's goal. |
| app_id | string | non | Optional app ID. If provided, the workflow includes a safe app context summary. |
get_job_status
Get Job Status
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| job_id | string | oui | The job_id returned by create_app or update_app |
get_app_status
Get App Status
Get app overview: files, published state, URL, active jobs.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
get_app_links
Get App Links
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
list_app_domains
List App Domains
List an app's platform path, subdomain, and configured custom domain with verification, SSL, primary-domain, redirect, publish, and login-gating status.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
set_app_subdomain
Set App Subdomain
Set or clear the app platform subdomain - the ' . ' 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| subdomain | string | oui | 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. |
check_subdomain_available
Check Subdomain Available
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'.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| subdomain | string | oui | Subdomain label to check |
| app_id | string | non | Optional ID of an app you own. When supplied, this app's own subdomain reports as 'current' instead of 'taken'. |
add_custom_domain
Add Custom Domain
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| domain | string | oui | Custom domain to connect, for example example.com or app.example.com |
get_domain_verification
Get Domain Verification
Return the exact DNS records and instructions required to verify and route the app custom domain.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| domain | string | non | Optional configured custom domain. If omitted, uses the app's current custom domain. |
check_domain_verification
Check Domain Verification
Check Fine Structure custom-domain verification and SSL status for the configured custom domain, then save the latest status.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| domain | string | non | Optional configured custom domain. If omitted, uses the app's current custom domain. |
set_primary_domain
Set Primary Domain
Set which app host should be treated as primary for generated links and custom-domain redirects.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| domain | string | oui | Primary host, for example example.com, www.example.com, or the app subdomain host. |
remove_custom_domain
Remove Custom Domain
Remove the configured custom domain from the app and clean up the platform-side hostname registration when possible.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| domain | string | non | Optional configured custom domain. If omitted, removes the current custom domain. |
get_domain_ssl_status
Get Domain SSL Status
Return SSL/certificate status and pending certificate validation DNS records for the app custom domain.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| domain | string | non | Optional configured custom domain. If omitted, uses the app's current custom domain. |
configure_domain_redirects
Configure Domain Redirects
Configure custom-domain redirect policy: primary domain, optional www/root redirect, and HTTPS enforcement.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| primary_domain | string | oui | Canonical primary domain, for example example.com |
| redirect_www | boolean | non | Redirect the www/root counterpart to primary_domain |
| force_https | boolean | non | Redirect HTTP custom-domain requests to HTTPS |
list_apps
List Apps
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| limit | integer | non | Max apps to return (1-200) |
| offset | integer | non | Apps to skip, for paging |
get_app_files
Get App Files
Get the file tree for an app with paths and byte sizes.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
read_app_file
Read App File
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| path | string | oui | Virtual file path, for example pages/Home.jsx |
| max_chars | integer | non | Maximum content characters to return |
read_app_files
Read App Files
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| paths | array<string> | oui | Virtual file paths to read |
| max_chars_per_file | integer | non | Maximum characters per file |
write_app_file
Write App File
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| path | string | oui | Virtual file path |
| content | string | oui | Complete file contents |
| file_type | string | non | Optional file type override |
patch_app_file
Patch App File
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| path | string | oui | Virtual file path |
| old_text | string | oui | Exact existing text to replace |
| new_text | string | oui | Replacement text |
| replace_all | boolean | non | Replace all matches instead of the first match |
rename_app_file
Rename App File
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| old_path | string | oui | Existing virtual file path to rename |
| new_path | string | oui | New virtual file path |
| overwrite | boolean | non | Allow replacing an existing file at new_path |
| force | boolean | non | Apply even if validation reports blocking errors |
get_app_detail
Get App Detail
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
get_entities
Get Entities
Get all entity (data model) schemas for an app, with record counts. Each entity has fields, types, and relationships.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
query_entity
Query Entity
Query app data records for one entity with optional exact-match filters.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| entity | string | oui | Entity name, for example Patient |
| filters | object | non | Exact-match field filters |
| sort | string | non | Sort field, prefix with - for descending |
| limit | integer | non | Max records to return |
| offset | integer | non | Pagination offset |
seed_entity
Seed Entity Records
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).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| entity | string | oui | Entity name |
| records | array<object> | oui | Records to insert |
| mode | enum: "append" | "skip_if_not_empty" | non | append always inserts; skip_if_not_empty inserts only when the entity is empty |
| reason | string | non | Why these records should be created |
create_entity_records
Create Entity Records
Create/insert records in one app entity. Executes directly for the authenticated app owner and returns the created record ids.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| entity | string | oui | Entity name |
| records | array<object> | oui | Records to create |
| reason | string | non | Why these records should be created |
| expected_count | integer | non | Optional safety check; the write aborts if the record count differs |
update_entity_record
Update Entity Record
Compatibility tool that updates one record by ID. Executes directly for the authenticated app owner.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| entity | string | oui | Entity name |
| record_id | string | oui | Record ID |
| data | object | oui | Fields to merge into the record |
| reason | string | non | Why this record should be updated |
update_entity_records
Update Entity Records
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| entity | string | oui | Entity name |
| record_ids | array<string> | non | Exact record IDs to update |
| filters | object | array<object> | non | One exact-match selector or a list of exact-match selectors |
| changes | object | non | Shared fields to merge into every selected record |
| updates | array<object> | non | Per-record changes; use instead of shared changes |
| reason | string | non | Why these records should be updated |
| expected_count | integer | non | Required match count safety check, when known |
delete_entity_records
Delete Entity Records
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| entity | string | oui | Entity name |
| record_ids | array<string> | non | Exact record IDs to delete |
| filters | object | array<object> | non | One exact-match selector or a list of exact-match selectors |
| reason | string | non | Why these records should be deleted |
| expected_count | integer | non | Required match count safety check, when known |
get_pages
Get Pages
Get all pages in an app with their file paths and sizes.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
get_errors
Get Errors
Get recent runtime errors for an app (last 20). Useful for diagnosing issues before updating.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| limit | integer | non | Max errors to return (default 20) |
get_app_analytics
Get App Analytics
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| days | integer | non | Window in days (1-90, default 7) |
get_preview_url
Get Preview URL
Return editor preview and published/public URLs for an app.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
list_saved_versions
List Saved Versions
List restorable Saved Versions for an app, including versions created by MCP writes.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
create_change_set
Create Change Set
Create a staged file change set. Add multiple file changes, validate them as one app state, then apply atomically.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| label | string | non | Optional short label |
add_file_change
Add File Change
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| change_set_id | string | oui | Change set ID |
| path | string | oui | Virtual file path |
| content | string | non | Complete file contents for upsert |
| file_type | string | non | Optional file type override |
| operation | enum: "upsert" | "delete" | non |
validate_change_set
Validate Change Set
Validate current app files plus staged change set files before applying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| change_set_id | string | oui | Change set ID |
| include_runtime_errors | boolean | non |
apply_change_set
Apply Change Set
Apply a staged change set to the app. Creates a Saved Version before applying. Blocks on validation errors unless force=true.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| change_set_id | string | oui | Change set ID |
| force | boolean | non | Apply even if validation has errors |
discard_change_set
Discard Change Set
Discard a pending staged change set without changing app files.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| change_set_id | string | oui | Change set ID |
validate_app
Validate App
Run deterministic app checks: syntax, imports, routes/pages, entity schemas, missing entities, and recorded runtime errors.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| include_runtime_errors | boolean | non |
inspect_preview
Inspect Live Preview
Return server-side preview context: URLs, persisted runtime/network errors, static clickable candidates, pages, and explicit live-browser availability.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| route | string | non | Optional route to inspect |
| auth_as | string | non | Optional auth simulation: anonymous |
| auth_as_role | string | non | Optional app role simulation, e.g. staff/admin/customer |
get_app_security_context
Get App Security Context
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| audit_limit | integer | non |
set_route_policy
Set Route Policy
Create or update a server-owned route policy for a generated app route.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| route | string | oui | Route or wildcard route, e.g. /admin/* |
| require_auth | boolean | oui | |
| allowed_roles | array<string> | oui | Allowed app roles |
| redirect_to | string | non |
set_function_policy
Set Function Policy
Create or update the server-owned access policy of a backend function (functions/ .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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| function | string | oui | Function name, e.g. takbull_create (file functions/takbull_create.js) |
| require_auth | boolean | oui | false = anonymous visitors and external callers may invoke |
| allowed_roles | array<string> | non | App roles allowed when require_auth is true; 'authenticated' = any signed-in app member |
| require_secret | boolean | non | Caller must send a shared secret header (webhooks) |
| secret_name | string | non | Name of the app secret holding the shared value (set_secret) |
| secret_header | string | non | Header the caller sends the shared secret in |
| allowed_hosts | array<string> | non | 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 |
| sdk_identity | enum: "caller" | "app" | non | 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 p… |
invoke_function
Invoke Function
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| function | string | oui | Function name, e.g. probe |
| params | object | non | JSON body passed to the function |
| caller | enum: "owner" | "anonymous" | non | |
| headers | object | non | Optional extra request headers to simulate, e.g. a webhook secret header |
create_platform_request
Create Platform Request
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| type | enum: "bug" | "feature" | "question" | oui | |
| title | string | oui | One line, what is wrong or missing |
| body | string | oui | Free text, markdown allowed: context, impact, what you tried |
| app_id | string | non | Optional: the app where it showed up |
| severity | enum: "blocker" | "high" | "normal" | "low" | non | |
| reproduction | string | non | Steps, invoke_function calls or curl commands that reproduce it |
| expected | string | non | What should have happened |
| acceptance | string | non | How the team will know it is closed |
| attachments | array<string> | non | Optional app file paths or log ids |
get_platform_request
Get Platform Request
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= to get only the events after it.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| request_id | string | oui | |
| since | string | non | Optional ISO timestamp: only events after it |
list_platform_requests
List Platform Requests
Your account's platform requests, newest activity first. Call it at the start of a session with since= to learn what changed: replies, needs_info questions to answer, deployments with their commit. Filters: app_id, status.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | non | Optional app filter |
| status | enum: "open" | "triaged" | "in_progress" | "needs_info" | "deployed" | "wont_fix" | non | |
| since | string | non | Optional ISO timestamp: only requests touched after it, each with changes_since |
| limit | integer | non | |
| scope | enum: "mine" | "all" | non | 'all' = every account (platform team only) |
reply_platform_request
Reply Platform Request
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).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| request_id | string | oui | |
| body | string | oui | The answer or finding (markdown allowed, credentials are redacted) |
| as_team | boolean | non | Platform team only: reply as the team (mails the requester) |
update_platform_request
Update Platform Request
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| request_id | string | oui | |
| status | enum: "open" | "triaged" | "in_progress" | "needs_info" | "deployed" | "wont_fix" | non | |
| reply | string | non | |
| deployed_commit | string | non | Commit hash or tag that shipped it |
set_entity_policy
Set Entity Policy
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| entity | string | oui | Entity name, e.g. Booking |
| read | array<string> | oui | Roles allowed to read when rules are omitted |
| write | array<string> | oui | Roles allowed to write when rules are omitted |
| rules | object | non | Nonempty unconditional action/role rules. No matching rule denies access. Include owner/admin actions explicitly. Record conditions are not supported by this MCP input. |
list_app_members
List App Members
List generated-app runtime users/members for an app. This is separate from Studio project collaborators.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
invite_app_member
Invite App Member
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| string | oui | Member email | |
| role | string | oui | App role, e.g. admin/staff/customer |
| full_name | string | non | |
| password | string | oui | The password this member signs in with, chosen by the account owner. Required, and never echoed back in the result. |
update_app_member_role
Update App Member Role
Update a generated-app runtime member role. This cannot assign owner and cannot change the Fine Structure account owner.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| user_id | string | oui | Generated app user id |
| role | string | oui | New role |
remove_app_member
Remove App Member
Remove a person's access to the app. They are blocked, as with block_app_member: their sessions end and the address can neither sign in nor sign up again. Nothing is deleted, and unblock_app_member gives the access back.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| user_id | string | oui | Generated app user id |
get_app_security_audit
Get App Security Audit
Read recent server-side security audit events for an app.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| limit | integer | non |
compare_saved_versions
Compare Saved Versions
Compare two Saved Versions and return per-file additions, removals, modifications, and compact diffs.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| base_snapshot_id | string | oui | Older/base snapshot ID |
| target_snapshot_id | string | oui | Newer/target snapshot ID |
| max_diff_chars | integer | non |
compare_current_to_version
Compare Current To Version
Compare the current app files to a Saved Version and return compact per-file diffs.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| snapshot_id | string | oui | Saved Version snapshot ID |
| max_diff_chars | integer | non |
restore_file_from_version
Restore File From Version
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| snapshot_id | string | oui | Saved Version snapshot ID |
| path | string | oui | Virtual file path to restore |
| confirm | boolean | oui |
create_entity_schema
Create Entity Schema
Create an entity schema file in entities/ .json. Creates a Saved Version before writing.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| entity | string | oui | Entity name |
| schema | object | oui | JSON schema object |
| relationships | array<object> | non | |
| indexes | array<object> | non | |
| metadata | object | non | |
| overwrite | boolean | non |
update_entity_schema
Update Entity Schema
Replace or shallow-merge an existing entity schema file. Creates a Saved Version before writing.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| entity | string | oui | Entity name |
| schema | object | oui | Schema fields to set or merge |
| relationships | array<object> | non | |
| indexes | array<object> | non | |
| metadata | object | non | |
| merge | boolean | non |
validate_entity_relationships
Validate Entity Relationships
Validate entity relationship metadata and *_id references against existing entity schemas.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
update_entity_metadata
Update Entity Metadata
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| entity | string | oui | Entity name |
| relationships | array<object> | non | |
| indexes | array<object> | non | |
| metadata | object | non |
list_secret_keys
List Secret Keys
List secret key names for an app. Secret values are never returned.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
set_secret
Set Secret
Create or update one encrypted app secret. The secret value is never returned.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| key | string | oui | Secret key name |
| value | string | oui | Secret value to encrypt and store |
delete_secret
Delete Secret
Delete one app secret by key.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| key | string | oui | Secret key name |
list_integrations
List Integrations
List supported integrations and safe connected integration metadata for an app. Tokens/secrets are never returned.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
configure_integration
Configure Integration
Store safe non-secret integration metadata for an app. Use set_secret for API keys/tokens.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| provider | string | oui | Integration provider ID |
| config | object | oui | Safe metadata only, such as workspace/team/name/email |
| is_active | boolean | non | Set false to disconnect this integration metadata |
list_ab_tests
List A/B Tests
List the platform A/B tests configured for an app.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
create_ab_test
Create A/B Test
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| name | string | oui | Experiment name |
| page_name | string | oui | Base route page that triggers the experiment |
| variants | array<object> | oui | At least two variants. Traffic must total 100. |
| goal_event_type | string | non | Optional conversion goal type: entity_create, any, form_submit |
| goal_event_filter | object | non | Optional goal filter, for example {'entity_name': 'Lead'} |
| is_active | boolean | non | Whether to activate the test immediately |
update_ab_test
Update A/B Test
Update a native A/B test, including active state, variants, traffic, and conversion goal. Creates a Saved Version before the change.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| test_id | string | oui | A/B test ID |
| name | string | non | Optional new name |
| page_name | string | non | Optional new base route page |
| variants | array<object> | non | Optional replacement variants. Traffic must total 100. |
| is_active | boolean | non | Optional active state |
| goal_event_type | string | non | Optional conversion goal type |
| goal_event_filter | object | non | Optional conversion goal filter |
delete_ab_test
Delete A/B Test
Delete a native A/B test from an app. Creates a Saved Version before the change.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| test_id | string | oui | A/B test ID |
get_ab_test_stats
Get A/B Test Stats
Get views, unique visitors, conversions, and conversion rates for an A/B test.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| test_id | string | oui | A/B test ID |
get_app_metadata
Get App Metadata
Read the saved public HTML-shell identity: name, description, language and image URLs/dimensions. Same settings as Studio SEO/GEO.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui |
set_app_metadata
Set App Metadata
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | |
| name | string | non | |
| description | string | non | |
| language | string | non | BCP-47 code, e.g. he, ar, en-US |
| social_image | object | null | non | |
| icon | object | null | non | |
| structured_data | string | non | Optional JSON-LD JSON string; empty clears it |
preview_saved_version
Preview Saved Version
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | |
| snapshot_id | string | oui |
set_agent_owner_relay
Set Agent Owner Relay
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| receiving_agent_id | string | oui | |
| enabled | boolean | oui | |
| source_agent_id | string | non |
create_agent
Create Agent
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| name | string | non | Agent display name (e.g. 'Lead Follow-up'). Auto-derived from role when omitted. |
| role | string | oui | Short role label (e.g. 'sales assistant') |
| description | string | oui | What this agent is responsible for, one or two sentences |
| persona | string | non | Optional working style and tone instructions for the agent |
| app_id | string | non | Optional app to attach the agent to; account-level when omitted |
list_agents
List Agents
List the AI agents on the user's account with id, name, role, status and FineMail address.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | non | Optional filter by attached app |
schedule_agent_task
Schedule Agent Task
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. For 'tell me when a new X comes in' (a lead, an order, a signup, any record of an app entity) do not poll with a plain interval: set watch, and the task costs nothing until a new record arrives.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent id (from create_agent or list_agents) |
| title | string | oui | Short task title |
| instructions | string | oui | What the agent should do on each run, written as instructions to the agent |
| schedule | object | oui | 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"} |
| max_runs | integer | non | Optional cap on total runs (0 = unlimited) |
| deliver_results | boolean | non | Whether each run's final reply is sent to the user (WhatsApp, else their verified email): true when every run's result is what they asked for (a daily summary, a report); false when the agent tells them itself only when something is found, so runs stay in the task log. Set it for every recurring ta… |
| activate | boolean | non | Start the schedule immediately (true) or save as draft (false) |
| watch | object | non | Run the task only when a record is new, e.g. {"provider":"app_records","app_id":" ","entity":"Lead"} with an interval schedule. The platform checks each interval with no model call and no credits, and starts the agent only when a record arrived, with those records in hand. Works for any entity of t… |
list_agent_tasks
List Agent Tasks
List scheduled tasks for one agent (or the whole account), including schedule, status and next_run_at.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | non | Optional agent id filter |
| status | string | non | Optional status filter: draft, active, paused, archived |
| limit | integer | non | Max tasks to return (1-100) |
get_agent_whatsapp
Get Agent Whatsapp
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | non | Optional: report only this agent's WhatsApp state. |
start_owner_phone_verification
Start Owner Phone Verification
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| phone | string | oui | The owner's own WhatsApp number, ideally in E.164 form such as +972501234567. |
| region | string | non | Optional ISO region hint (for example IL, US) used when the number has no country code. |
confirm_owner_phone_verification
Confirm Owner Phone Verification
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| phone | string | oui | The same phone number the code was sent to. |
| code | string | oui | The 6-digit code from the WhatsApp message. |
| region | string | non | Optional ISO region hint, matching the one used when sending. |
attach_agent_whatsapp
Attach Agent Whatsapp
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent that should answer on this number. |
| phone_number_id | string | oui | phone_number_id from get_agent_whatsapp claimable_numbers. |
detach_agent_whatsapp
Detach Agent Whatsapp
Disconnect the owner's WhatsApp route from a platform number. Removes only this account's route; other accounts sharing the number keep theirs.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| phone_number_id | string | oui | The number to disconnect, from get_agent_whatsapp. |
list_agent_conversations
List Agent Conversations
List recent visible conversations belonging to one of your agents. Use get_agent_conversation to read replies and results.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | Owned agent ID from list_agents. |
| limit | integer | non |
send_agent_message
Send Agent Message
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | Owned agent ID from list_agents. |
| message | string | oui | |
| conversation_id | string | non | Conversation ID returned by these tools. |
get_agent_conversation
Get Agent Conversation
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | Owned agent ID from list_agents. |
| conversation_id | string | oui | Conversation ID returned by these tools. |
| limit | integer | non | |
| before_id | string | non |
get_agent_task
Get Agent Task
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | Owned agent ID from list_agents. |
| task_id | string | oui |
get_agent
Get Agent
Read one agent: name, role, description, persona (its standing instructions), status, email address, WhatsApp number and which capability groups are switched on.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent id, from list_agents. |
update_agent
Update Agent
Edit an agent's name, role, description or persona (its standing instructions). Only the fields given change; the previous text is replaced. Capabilities, channels and approvals stay as they are and are changed in Fine Structure.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent id, from list_agents. |
| name | string | non | |
| role | string | non | |
| description | string | non | |
| persona | string | non | Standing instructions: how the agent works and speaks. |
set_agent_status
Set Agent Status
Pause, resume or archive an agent. paused: it stops working and keeps its setup. archived: it is retired from the account; use this when the owner asks to delete an agent. active: it works again. Tasks that came due while it was paused or archived were paused themselves and stay paused: the result lists them, and update_agent_task with status active resumes each one.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent id, from list_agents. |
| status | enum: "active" | "paused" | "archived" | oui |
list_agent_activity
List Agent Activity
What the account's agents did, newest first: each run with its agent, status, the tools it called, agent credits used and any error. Read the run's conversation with get_agent_conversation for the full answer.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | non | Optional: one agent only. |
| status | string | non | Optional run status, for example completed, failed, blocked. |
| since | string | non | Optional ISO date or date-time, with or without an offset, or 'today' (UTC). |
| until | string | non | Optional ISO date or date-time, with or without an offset. A date alone includes that whole day (UTC). |
| limit | integer | non | |
| offset | integer | non |
list_agent_approvals
List Agent Approvals
Actions the agents are holding until the owner approves them, such as a message to a customer or a payment. Each comes with a plain description and a review link. The owner approves or rejects them in Fine Structure.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | non | Optional: one agent only. |
| status | enum: "pending" | "approved" | "rejected" | "executed" | "failed" | non | |
| language | enum: "en" | "he" | non | Language of the descriptions. |
| limit | integer | non |
get_credit_balance
Get Credit Balance
The account's plan and both balances: build credits, which pay for creating and editing apps, and agent credits, which pay for agent runs.
Aucun paramètre.
update_agent_task
Update Agent Task
Change a scheduled task: title, instructions, schedule (same shape as schedule_agent_task), max_runs, status active/paused, or deliver_results (same meaning as in schedule_agent_task). Only the fields given change. Returns the next run in UTC and in the schedule's timezone.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent id, from list_agents. |
| task_id | string | oui | The task id, from list_agent_tasks. |
| title | string | non | |
| instructions | string | non | |
| schedule | object | non | |
| max_runs | integer | non | |
| status | enum: "active" | "paused" | non | |
| deliver_results | boolean | non | Whether each run's final reply is sent to the user (WhatsApp, else their verified email): true when every run's result is what they asked for; false when the agent tells them itself only when something is found, so runs stay in the task log. |
archive_agent_task
Archive Agent Task
Remove a scheduled task from the agent's schedule. It never runs again and stays readable in the history. Use this when the owner asks to delete or cancel a task.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent id, from list_agents. |
| task_id | string | oui | The task id, from list_agent_tasks. |
run_agent_task_now
Run Agent Task Now
Start one run of a scheduled task now, outside its schedule. The run does what the task's instructions say under the agent's permissions, so it can message people and it uses agent credits. Waits up to 15 seconds: it returns the finished task, or running true while the run goes on. Follow it with get_agent_task.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent id, from list_agents. |
| task_id | string | oui | The task id, from list_agent_tasks. |
stop_agent_task
Stop Agent Task
Stop a task now: pause its schedule and cancel the run in progress, which stops at its next safe point. Safe to repeat. Resume it later with update_agent_task status active.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent id, from list_agents. |
| task_id | string | oui | The task id, from list_agent_tasks. |
| note | string | non | Optional reason, kept with the record. |
cancel_agent_run
Cancel Agent Run
Cancel one run in progress, for example a reply the agent is still working on. Work it handed to other agents is cancelled with it. Take run_id from list_agent_activity or get_agent_task.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent id, from list_agents. |
| run_id | string | oui | |
| note | string | non | Optional reason, kept with the record. |
list_agent_goals
List Agent Goals
An agent's goals: objective, success criteria, plan, status, progress, current step and the background runner task that works on it.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent id, from list_agents. |
| status | enum: "active" | "paused" | "completed" | "archived" | "blocked" | non | |
| limit | integer | non |
create_agent_goal
Create Agent Goal
Give an agent a goal to pursue on its own. It works on it every interval_minutes, at most max_iterations times, under its own permissions, so a step can message people the agent is allowed to reach. Each step uses agent credits.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent id, from list_agents. |
| objective | string | oui | |
| title | string | non | |
| success_criteria | string | non | |
| plan | array<string> | non | |
| interval_minutes | integer | non | |
| max_iterations | integer | non |
update_agent_goal
Update Agent Goal
Change a goal's title, objective, success criteria, plan, iteration cap or status. paused stops its runner, active starts it again, completed and archived end it. Only the fields given change.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent id, from list_agents. |
| goal_id | string | oui | The goal id, from list_agent_goals. |
| title | string | non | |
| objective | string | non | |
| success_criteria | string | non | |
| plan | array<string> | non | |
| max_iterations | integer | non | |
| status | enum: "active" | "paused" | "completed" | "archived" | non |
archive_agent_goal
Archive Agent Goal
Retire a goal: its runner stops and never runs again, and the goal stays readable. Use this when the owner asks to delete a goal.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent id, from list_agents. |
| goal_id | string | oui | The goal id, from list_agent_goals. |
run_agent_goal_now
Run Agent Goal Now
Work one step of a goal now, outside its interval, under the agent's permissions; it can message people and uses agent credits. Waits up to 15 seconds, then returns running true while the step goes on.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent id, from list_agents. |
| goal_id | string | oui | The goal id, from list_agent_goals. |
list_org_goals
List Org Goals
The owner's company-wide goals, the shared objectives every agent aligns to, with progress.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| status | enum: "active" | "paused" | "done" | "cancelled" | "all" | non |
create_org_goal
Create Org Goal
Add a company-wide goal for the whole agent team to align to.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| title | string | oui | |
| objective | string | non |
update_org_goal
Update Org Goal
Change a company-wide goal's title, objective, status (active, paused, done, cancelled) or progress (0-100). Only the fields given change.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| goal_id | string | oui | The org goal id, from list_org_goals. |
| title | string | non | |
| objective | string | non | |
| status | enum: "active" | "paused" | "done" | "cancelled" | non | |
| progress | integer | non |
list_org_goal_updates
List Org Goal Updates
The progress notes agents wrote on a company-wide goal, newest first.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| goal_id | string | oui | The org goal id, from list_org_goals. |
list_agent_triggers
List Agent Triggers
What starts an agent on its own: event, schedule, watch and webhook triggers, with their instructions, status and last fire. A webhook's URL carries its secret and is shown only on the agent's screen.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent id, from list_agents. |
| trigger_type | enum: "event" | "schedule" | "watch" | "webhook" | non | |
| status | enum: "active" | "paused" | non | |
| include_archived | boolean | non | |
| limit | integer | non |
create_agent_trigger
Create Agent Trigger
Add a trigger that starts the agent with these instructions: event (event_type such as lead.created, with an optional source), schedule (a schedule object) or watch. Each start is a run under the agent's permissions and uses agent credits. Its approval rules stay as set in Fine Structure, and a webhook trigger, whose URL is a secret, is made on the agent's screen.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent id, from list_agents. |
| name | string | oui | |
| trigger_type | enum: "event" | "schedule" | "watch" | non | |
| event_type | string | non | |
| source | string | non | |
| instructions | string | non | |
| schedule | object | non | For trigger_type schedule or watch: the same shape as in schedule_agent_task, e.g. {"type":"daily","time":"08:30","timezone":"Asia/Jerusalem"}. |
| status | enum: "active" | "paused" | non |
update_agent_trigger
Update Agent Trigger
Change a trigger's name, type, event, source, instructions, schedule or status (active or paused). Only the fields given change. Archive it with archive_agent_trigger.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent id, from list_agents. |
| trigger_id | string | oui | The trigger id, from list_agent_triggers. |
| name | string | non | |
| trigger_type | enum: "event" | "schedule" | "watch" | non | |
| event_type | string | non | |
| source | string | non | |
| instructions | string | non | |
| schedule | object | non | For trigger_type schedule or watch: the same shape as in schedule_agent_task, e.g. {"type":"daily","time":"08:30","timezone":"Asia/Jerusalem"}. |
| status | enum: "active" | "paused" | non |
archive_agent_trigger
Archive Agent Trigger
Retire a trigger: it never starts the agent again and stays readable. Use this when the owner asks to delete a trigger.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent id, from list_agents. |
| trigger_id | string | oui | The trigger id, from list_agent_triggers. |
run_agent_trigger_now
Run Agent Trigger Now
Fire a trigger once now as a test: the agent runs its instructions under its permissions, so it can message people and uses agent credits. Returns at once with the task that runs it; follow it with get_agent_task.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent id, from list_agents. |
| trigger_id | string | oui | The trigger id, from list_agent_triggers. |
list_agent_memories
List Agent Memories
What an agent has learned and kept: long-term facts and insights, newest first, optionally only those about one customer.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent_id | string | oui | The agent id, from list_agents. |
| customer_id | string | non | |
| limit | integer | non |
list_team_templates
List Team Templates
Ready-made agent teams (for example a sales or a support company) that create_agent_team builds in one step, with each member's role.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| lang | string | non | Language of the catalog text, e.g. en or he. |
create_agent_team
Create Agent Team
Create a whole team of agents from a template, wired to work together, optionally adapted to the owner's requirements and company name. The new agents start active with the platform's default safe permissions and can message only their verified owner until channels are connected in Fine Structure.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| template | string | oui | A template key from list_team_templates. |
| requirements | string | non | |
| company_name | string | non | |
| lang | string | non | Language of the catalog text, e.g. en or he. |
list_agent_templates
List Agent Templates
Ready-made single agent templates: role, description and suggested persona, for create_agent.
Aucun paramètre.
list_connections
List Connections
The account's connected accounts and services (each mailbox, Drive view, MCP server, app account and so on is one connection), and whether Google Drive, Facebook and a mailbox are connected. Connecting, disconnecting and sharing a connection with an agent are done on the Connections screen in Fine Structure: https://finestructure.ai/connections
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| provider | string | non | Optional provider, for example mcp, imap, google_drive, zoom. |
list_connection_catalog
List Connection Catalog
Every service the platform can connect, with whether this account has connected it, whether one-click sign-in is available, and its connections. Also social_publishing: the social networks the owner's agents can publish to (Facebook, Instagram, LinkedIn, TikTok and others), the accounts connected for it, how many places this account has, and where it is connected.
Aucun paramètre.
get_connection_access
Get Connection Access
Which of the owner's agents and apps may use one connection (from list_connections).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| connection_id | string | oui |
get_connection_status
Get Connection Status
Status of the account-level connections: Facebook, Google Drive, TikTok and the social accounts connected through Zernio (Instagram, LinkedIn and others), including any that need to be reconnected. refresh true asks Zernio for the live state.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| refresh | boolean | non |
list_facebook_ad_accounts
List Facebook Ad Accounts
The ad accounts the connected Facebook account reaches, and which of them agents may use (an empty allowed list means all).
Aucun paramètre.
search_connectable_apps
Search Connectable Apps
Third-party apps an agent can be connected to (thousands, through the apps lane), with the account's own connections. Search by name.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| search | string | non | |
| limit | integer | non |
list_connectable_app_tools
List Connectable App Tools
What an agent could do with one third-party app once it is connected: its actions.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| toolkit | string | oui | An app slug from search_connectable_apps. |
| search | string | non | |
| limit | integer | non |
get_make_migration_report
Get Make Migration Report
Read every scenario in the owner's connected Make account and grade what moves to Fine Structure fully, partly or by hand. Read-only.
Aucun paramètre.
list_event_connections
List Event Connections
Incoming-events sources: external systems that send events to the account (a form, a shop, a payment provider), each with its status (draft, active, paused) and its mapping steps.
Aucun paramètre.
list_event_connection_events
List Event Connection Events
The latest 100 events a source received and what each did: status, step results, errors.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| source_id | string | oui | The source id (src_...), from list_event_connections. |
list_event_connection_revisions
List Event Connection Revisions
The saved versions of a source's configuration.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| source_id | string | oui | The source id (src_...), from list_event_connections. |
preview_event_connection
Preview Event Connection
Dry run: show what a source would do with a sample event (its identity, which steps match, the mapped contact fields). Nothing is written or sent.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| source_id | string | oui | The source id (src_...), from list_event_connections. |
| event | object | oui | A sample event, as the external system sends it. |
pause_event_connection
Pause Event Connection
Pause an incoming-events source: events that arrive are kept and wait, and none is processed until the owner activates it again on the Connections screen.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| source_id | string | oui | The source id (src_...), from list_event_connections. |
list_knowledge_notebooks
List Knowledge Notebooks
The knowledge notebooks of the owner's Business Brain, or of one app: title, folder, how many documents and their state. Agents and apps answer from notebooks they are given.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | non | Optional app whose notebooks to use. Omitted: the owner's own Business Brain. |
list_knowledge_folders
List Knowledge Folders
The folders the notebooks are filed in, nested.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | non | Optional app whose notebooks to use. Omitted: the owner's own Business Brain. |
list_knowledge_documents
List Knowledge Documents
The documents (sources) of a notebook: name, type, status (queued, processing, ready, failed), size and error.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | non | Optional app whose notebooks to use. Omitted: the owner's own Business Brain. |
| notebook_id | string | oui | The notebook id, from list_knowledge_notebooks. |
get_knowledge_notebook_overview
Get Knowledge Notebook Overview
A notebook's overview: the summary written from its sources, document counts by state, and which sources are ready.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | non | Optional app whose notebooks to use. Omitted: the owner's own Business Brain. |
| notebook_id | string | oui | The notebook id, from list_knowledge_notebooks. |
read_knowledge_document
Read Knowledge Document
The text extracted from one document (or the transcript of an audio file), in pages: offset and max_chars select the part, and the reply says how long the whole text is.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | non | Optional app whose notebooks to use. Omitted: the owner's own Business Brain. |
| document_id | string | oui | The document id, from list_knowledge_documents. |
| offset | integer | non | |
| max_chars | integer | non |
list_knowledge_notes
List Knowledge Notes
The notes written in a notebook, with their full text.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | non | Optional app whose notebooks to use. Omitted: the owner's own Business Brain. |
| notebook_id | string | oui | The notebook id, from list_knowledge_notebooks. |
list_knowledge_chats
List Knowledge Chats
The conversations held with a notebook, newest first.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | non | Optional app whose notebooks to use. Omitted: the owner's own Business Brain. |
| notebook_id | string | oui | The notebook id, from list_knowledge_notebooks. |
| limit | integer | non |
get_knowledge_chat
Get Knowledge Chat
One conversation with a notebook: the questions and the answers with their sources.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | non | Optional app whose notebooks to use. Omitted: the owner's own Business Brain. |
| notebook_id | string | oui | The notebook id, from list_knowledge_notebooks. |
| chat_session_id | string | oui | |
| limit | integer | non |
get_knowledge_answer
Get Knowledge Answer
The state and, once ready, the answer of a question asked with ask_knowledge_notebook.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | non | Optional app whose notebooks to use. Omitted: the owner's own Business Brain. |
| notebook_id | string | oui | The notebook id, from list_knowledge_notebooks. |
| query_job_id | string | oui |
get_knowledge_notebook_access
Get Knowledge Notebook Access
Who can use a notebook: the apps that answer from it and the owner's agents it is connected to.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | non | Optional app whose notebooks to use. Omitted: the owner's own Business Brain. |
| notebook_id | string | oui | The notebook id, from list_knowledge_notebooks. |
get_app_knowledge_access
Get App Knowledge Access
Which of the owner's notebooks an app's AI may answer from, and the ones it could be given.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app. |
list_knowledge_webhooks
List Knowledge Webhooks
The ingest webhooks that let an external system add files to a notebook, with their state. Their URLs are secrets and are shown only on the Brain screen, where webhooks are created.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | non | Optional app whose notebooks to use. Omitted: the owner's own Business Brain. |
get_knowledge_redaction_run
Get Knowledge Redaction Run
A sensitive-data scan: per document its state and what was found (category, the text, the suggested replacement, confidence), and what was applied.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | non | Optional app whose notebooks to use. Omitted: the owner's own Business Brain. |
| notebook_id | string | oui | The notebook id, from list_knowledge_notebooks. |
| run_id | string | oui | The scan id, from scan_knowledge_for_sensitive_data. |
get_knowledge_redaction_policy
Get Knowledge Redaction Policy
A notebook's automatic redaction policy for new uploads.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | non | Optional app whose notebooks to use. Omitted: the owner's own Business Brain. |
| notebook_id | string | oui | The notebook id, from list_knowledge_notebooks. |
get_knowledge_redaction_log
Get Knowledge Redaction Log
What was redacted in one document, by category and count, and whether the original was kept.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | non | Optional app whose notebooks to use. Omitted: the owner's own Business Brain. |
| document_id | string | oui | The document id, from list_knowledge_documents. |
get_knowledge_access_log
Get Knowledge Access Log
Who opened, asked or changed the notebooks, newest first: people, apps and agents.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | non | Optional app whose notebooks to use. Omitted: the owner's own Business Brain. |
| notebook_id | string | non | Optional: one notebook only. |
| actor_type | enum: "user" | "app" | "agent" | non | |
| action | string | non | |
| limit | integer | non | |
| offset | integer | non |
list_failed_knowledge_documents
List Failed Knowledge Documents
Documents whose processing failed, with the error, so they can be retried or replaced.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | non | Optional app whose notebooks to use. Omitted: the owner's own Business Brain. |
create_knowledge_notebook
Create Knowledge Notebook
Create an empty notebook, optionally inside a folder.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | non | Optional app whose notebooks to use. Omitted: the owner's own Business Brain. |
| title | string | oui | |
| folder_id | string | non |
rename_knowledge_notebook
Rename Knowledge Notebook
Change a notebook's title; its documents and notes stay as they are.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | non | Optional app whose notebooks to use. Omitted: the owner's own Business Brain. |
| notebook_id | string | oui | The notebook id, from list_knowledge_notebooks. |
| title | string | oui |
create_knowledge_folder
Create Knowledge Folder
Create a folder for notebooks, optionally inside another folder.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | non | Optional app whose notebooks to use. Omitted: the owner's own Business Brain. |
| name | string | oui | |
| parent_id | string | non |
update_knowledge_folder
Update Knowledge Folder
Rename a folder, or move it: parent_id is the new parent, an empty string moves it to the top.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | non | Optional app whose notebooks to use. Omitted: the owner's own Business Brain. |
| folder_id | string | oui | |
| name | string | non | |
| parent_id | string | non |
move_knowledge_notebook
Move Knowledge Notebook
File a notebook in a folder; an empty or missing folder_id moves it to the top.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | non | Optional app whose notebooks to use. Omitted: the owner's own Business Brain. |
| notebook_id | string | oui | The notebook id, from list_knowledge_notebooks. |
| folder_id | string | non |
set_app_knowledge_access
Set App Knowledge Access
Choose which of the owner's notebooks an app's AI may answer from. The list replaces the current one; an empty list gives it none.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app. |
| notebook_ids | array<string> | oui |
add_knowledge_note
Add Knowledge Note
Write a note into a notebook; agents and apps answer from it like from a document.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | non | Optional app whose notebooks to use. Omitted: the owner's own Business Brain. |
| notebook_id | string | oui | The notebook id, from list_knowledge_notebooks. |
| content | string | oui |
update_knowledge_note
Update Knowledge Note
Replace the text of a note in a notebook with new text.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | non | Optional app whose notebooks to use. Omitted: the owner's own Business Brain. |
| note_id | string | oui | |
| content | string | oui |
add_knowledge_document
Add Knowledge Document
Add a document to a notebook: plain text, or a small file (PDF, Word, text, audio) as base64, up to 10 MB. It is processed in the background (audio is transcribed); list_knowledge_documents shows when it is ready. The same file twice is recognised. A recording or a file on the user's computer goes with create_knowledge_upload instead, so the bytes never pass through the conversation.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | non | Optional app whose notebooks to use. Omitted: the owner's own Business Brain. |
| notebook_id | string | oui | The notebook id, from list_knowledge_notebooks. |
| filename | string | oui | |
| text | string | non | |
| content_base64 | string | non | |
| content_type | string | non |
import_knowledge_audio_url
Import Knowledge Audio URL
Download a public audio file (a recording, a podcast episode) into a new notebook and transcribe it there.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | non | Optional app whose notebooks to use. Omitted: the owner's own Business Brain. |
| url | string | oui | |
| title | string | non | |
| folder_id | string | non |
create_knowledge_upload
Create Knowledge Upload
Send a file from the user's own computer into a notebook, for a client that can run a command there (Codex, Claude Code, Cursor): a recording to transcribe (.mp3 .m4a .wav .ogg .webm .flac .mp4 .mpeg .mpga, WhatsApp voice notes .opus, .aac .amr .3gp .3ga .wma .oga) or a document (.pdf .docx .txt .md .csv .tsv), up to 1 GB. Give the file name and its exact size_bytes, and sha256 when you can. Returns an upload_url and ready commands: one curl PUT for a file up to 32 MB, else a short Python script that sends 32 MB chunks with Content-Range and resumes after an interruption. Run the command on the computer that holds the file; the bytes never pass through the conversation. Without notebook_id a new notebook named after the file (or title) is made when the last byte arrives. A recording takes one place in the account's transcription allowance, which depends on its plan and renews with its credits; the reply says how many places are left. Follow it with get_knowledge_upload.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | non | Optional app whose notebooks to use. Omitted: the owner's own Business Brain. |
| notebook_id | string | non | Optional: an existing notebook. Omitted: a new one. |
| title | string | non | Title for the new notebook, when notebook_id is omitted. |
| folder_id | string | non | Folder for the new notebook. |
| filename | string | oui | The file's name with its extension, e.g. meeting-11-12.m4a. |
| size_bytes | integer | oui | The exact file size in bytes. |
| sha256 | string | non | Optional hex sha256 of the file; a mismatch is refused. |
| content_type | string | non |
get_knowledge_upload
Get Knowledge Upload
Where a create_knowledge_upload stands: the bytes received, then the document it became and its processing state (a recording is ready once transcribed; read_knowledge_document gives the text). Pass the same app_id the upload was made with.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | non | Optional app whose notebooks to use. Omitted: the owner's own Business Brain. |
| upload_id | string | oui | The upload_id create_knowledge_upload returned. |
rename_knowledge_document
Rename Knowledge Document
Set the name a document is shown under (its file name stays); an empty name clears it.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | non | Optional app whose notebooks to use. Omitted: the owner's own Business Brain. |
| notebook_id | string | oui | The notebook id, from list_knowledge_notebooks. |
| document_id | string | oui | The document id, from list_knowledge_documents. |
| name | string | oui |
retry_knowledge_document
Retry Knowledge Document
Process a document again after it failed or stalled.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | non | Optional app whose notebooks to use. Omitted: the owner's own Business Brain. |
| notebook_id | string | oui | The notebook id, from list_knowledge_notebooks. |
| document_id | string | oui | The document id, from list_knowledge_documents. |
ask_knowledge_notebook
Ask Knowledge Notebook
Ask a notebook a question; the answer comes from its documents, with sources. Waits up to 25 seconds for the answer, otherwise returns the query_job_id for get_knowledge_answer. Without chat_session_id a new conversation starts.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | non | Optional app whose notebooks to use. Omitted: the owner's own Business Brain. |
| notebook_id | string | oui | The notebook id, from list_knowledge_notebooks. |
| question | string | oui | |
| chat_session_id | string | non | |
| source_ids | array<string> | non | Optional: answer only from these documents. |
set_knowledge_webhook_enabled
Set Knowledge Webhook Enabled
Turn an ingest webhook off (posts are refused) or on again.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | non | Optional app whose notebooks to use. Omitted: the owner's own Business Brain. |
| webhook_id | string | oui | |
| enabled | boolean | oui |
scan_knowledge_for_sensitive_data
Scan Knowledge For Sensitive Data
Scan documents for personal or sensitive information, or for what the owner's instructions describe. Only finds; nothing changes until apply_knowledge_redaction. Runs in the background; read it with get_knowledge_redaction_run.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | non | Optional app whose notebooks to use. Omitted: the owner's own Business Brain. |
| notebook_id | string | oui | The notebook id, from list_knowledge_notebooks. |
| document_ids | array<string> | oui | |
| instructions | string | non | Optional: what to find, in the owner's words. |
apply_knowledge_redaction
Apply Knowledge Redaction
Redact the chosen findings of a scan: approved maps each document id to the finding ids to replace. The original text is kept, so revert_knowledge_redaction can undo it.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | non | Optional app whose notebooks to use. Omitted: the owner's own Business Brain. |
| notebook_id | string | oui | The notebook id, from list_knowledge_notebooks. |
| run_id | string | oui | The scan id, from scan_knowledge_for_sensitive_data. |
| approved | object | oui |
revert_knowledge_redaction
Revert Knowledge Redaction
Undo an applied redaction: the documents get their original text back.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | non | Optional app whose notebooks to use. Omitted: the owner's own Business Brain. |
| notebook_id | string | oui | The notebook id, from list_knowledge_notebooks. |
| run_id | string | oui | The scan id, from scan_knowledge_for_sensitive_data. |
set_knowledge_redaction_policy
Set Knowledge Redaction Policy
Set a notebook's automatic redaction for new uploads: on or off, what to find (instructions), whether findings above min_confidence are applied at once. Originals are always kept.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | non | Optional app whose notebooks to use. Omitted: the owner's own Business Brain. |
| notebook_id | string | oui | The notebook id, from list_knowledge_notebooks. |
| enabled | boolean | oui | |
| instructions | string | non | |
| auto_apply | boolean | non | |
| min_confidence | number | non |
list_whatsapp_triggers
List Whatsapp Triggers
The app's WhatsApp triggers: the message sent to a customer when a record is created, the page and entity, the phone field, the sending number and whether it is on.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app the trigger belongs to. |
get_whatsapp_trigger_options
Get Whatsapp Trigger Options
What a WhatsApp trigger can use in this app: the owner's WhatsApp numbers and flows, and the pages, entities and fields that create records.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app the trigger belongs to. |
list_whatsapp_trigger_logs
List Whatsapp Trigger Logs
What the app's WhatsApp triggers sent, newest first, with the outcome of each send.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app the trigger belongs to. |
| trigger_id | string | non | Optional: one trigger only. |
| limit | integer | non |
create_whatsapp_trigger
Create Whatsapp Trigger
Save a WhatsApp trigger for record-created events. It is saved switched off and messages no one. Switching it on is done by the owner on the app's Automations screen in Fine Structure.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app the trigger belongs to. |
| name | string | non | |
| page_name | string | oui | The page whose form creates the record. |
| entity_name | string | oui | The entity whose new records fire it. |
| phone_field | string | oui | The record field holding the customer's WhatsApp number. |
| name_field | string | non | |
| message_template | string | oui | The message; {{ field_name }} inserts a record field. |
| whatsapp_bot_id | string | non | The WhatsApp number that sends, from get_whatsapp_trigger_options. |
| flow_id | string | non | Optional WhatsApp flow the conversation continues in. |
update_whatsapp_trigger
Update Whatsapp Trigger
Change a trigger that is switched off: page, entity, fields, message, number or flow. Only the fields given change. A trigger that is on is turned off first with disable_whatsapp_trigger.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app the trigger belongs to. |
| trigger_id | string | oui | The trigger id, from list_whatsapp_triggers. |
| name | string | non | |
| page_name | string | non | The page whose form creates the record. |
| entity_name | string | non | The entity whose new records fire it. |
| phone_field | string | non | The record field holding the customer's WhatsApp number. |
| name_field | string | non | |
| message_template | string | non | The message; {{ field_name }} inserts a record field. |
| whatsapp_bot_id | string | non | The WhatsApp number that sends, from get_whatsapp_trigger_options. |
| flow_id | string | non | Optional WhatsApp flow the conversation continues in. |
disable_whatsapp_trigger
Disable Whatsapp Trigger
Switch a WhatsApp trigger off: new records no longer send its message. It stays saved.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app the trigger belongs to. |
| trigger_id | string | oui | The trigger id, from list_whatsapp_triggers. |
send_whatsapp_trigger_test
Send Whatsapp Trigger Test
Send a saved trigger's message once to the owner's own verified WhatsApp number, rendered with a sample record, from the trigger's sending number. It never goes to anyone else.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app the trigger belongs to. |
| trigger_id | string | oui | The trigger id, from list_whatsapp_triggers. |
| sample_record | object | non | Field values to render the message with. |
suggest_whatsapp_trigger_message
Suggest Whatsapp Trigger Message
Have the AI write a WhatsApp message for a trigger from the page it follows, the app's brain and the record fields. Returns text to review; nothing is saved or sent.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app the trigger belongs to. |
| page_name | string | oui | |
| entity_name | string | non | |
| fields | array<string> | non | |
| whatsapp_bot_id | string | non | |
| flow_id | string | non |
create_app_upload
Create App Upload
Send a file from the user's own computer into an app's public uploads, for a client that can run a command there (Codex, Claude Code, Cursor): an image, a video (.mp4 .m4v .mov .webm), audio or a document, up to 50 MB. Give the file name and its exact size_bytes, and sha256 when you can. Returns an upload_url and ready commands: one curl PUT for a file up to 32 MB, else a short Python script that sends 32 MB chunks with Content-Range and resumes after an interruption. Run the command on the computer that holds the file; the bytes never pass through the conversation. When the last byte arrives the file is at /api/uploads/ / : a public address with no expiry, the same one UploadFile gives a page, to use in the app's pages or records. A file already there is never replaced: a name in use gets a short suffix, and the answer gives the address. Follow it with get_app_upload.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| filename | string | oui | The file's name with its extension, e.g. testimonial-1.mp4. |
| size_bytes | integer | oui | The exact file size in bytes. |
| sha256 | string | non | Optional hex sha256 of the file; a mismatch is refused. |
get_app_upload
Get App Upload
Where a create_app_upload stands: the bytes received, and once the last byte arrived the file_url and public_url the file is served at.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| app_id | string | oui | The app ID |
| upload_id | string | oui | The upload_id create_app_upload returned. |
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://finestructure.ai/api/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http fine-structure https://finestructure.ai/api/mcpCustomize > Connectors > + Add > Add custom connector ; Name : fine-structure ; URL : https://finestructure.ai/api/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : fine-structure ; Server URL : https://finestructure.ai/api/mcp ; Create as a plugin{
"mcpServers": {
"fine-structure": {
"url": "https://finestructure.ai/api/mcp"
}
}
}{
"mcpServers": {
"fine-structure": {
"type": "http",
"url": "https://finestructure.ai/api/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"fine-structure": {
"url": "https://finestructure.ai/api/mcp"
}
}
}{
"mcpServers": {
"fine-structure": {
"httpUrl": "https://finestructure.ai/api/mcp"
}
}
}[mcp_servers.fine-structure]
url = "https://finestructure.ai/api/mcp"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
Fine Structure · L’Atlas · Test du
[Fine Structure — L’Atlas](https://latlas.dev/mcp/ai.finestructure/fine-structure)Source : Registre officiel MCP · relevé le 30 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.