Server definition
- Hash
- sha256:eb1606e3240a2f0f6e7496dcadea9639730eb2d6ca301dd5e881a01ed938fc14
- What it is
- What a remote MCP server returned when asked what it offers: 14 tools
The blob, as servednamed by its sha256
{
"instructions": "Moves a Bubble® app's data layer to Cloudflare D1 and R2 in the customer's own account. Free, no key needed: nc_ping, nc_account, nc_audit and nc_plan (read only), and nc_connect. Run nc_audit, then nc_plan. Tokens never go in the chat: call nc_connect and give the owner the one-time link, where they type the Cloudflare, R2 and Data API tokens on a secure page. Then pass job_id to the other tools. The paid stages (nc_schema, nc_export, nc_load, nc_files, nc_users, nc_access, nc_verify, nc_redirects, nc_cutover) need a pass for the app, or the free trial: plans of up to 1,000 records, once per app, with no key. The trial starts with nc_schema or nc_export. Set go_ahead: true only when a charge applies, after the owner has seen the estimate and agreed. When a run reaches the limit of a pass or the trial, tell the owner what the next pass costs and set upgrade: true only if they agree. Never pass a skip list the owner has not agreed to.",
"tools": [
{
"description": "Converts the app's privacy rules into policy.ts (per-table read and write rules, default deny) and a generated test file with allow and deny cases. Rules it cannot translate with certainty are listed as MANUAL with their original text, never guessed. Reads the rules saved by nc_audit when it was given an app_spec; pass app_spec here to use a newer one. Paid: needs a pass for the app, or the free trial for plans up to 1,000 records.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"app_spec": {
"description": "app-spec.json from the nocode-migration-audit plugin. Default: the one given to nc_audit.",
"type": "object"
},
"cf_account_id": {
"description": "The customer's Cloudflare account id.",
"type": "string"
},
"cf_api_token": {
"description": "A Cloudflare API token with D1 edit permission on that account. Sealed in the job, deleted when it ends. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.",
"type": "string"
},
"go_ahead": {
"description": "Set true only when a charge applies, once the owner has seen the estimate and agreed to it. Not needed under the free trial or a pass that already covers the app. Needed again after a pass has expired.",
"type": "boolean"
},
"inline": {
"description": "Return the file contents in the reply as well as writing them to R2.",
"type": "boolean"
},
"job_id": {
"type": "string"
},
"r2_access_key_id": {
"description": "Access key id of an R2 API token that can read and write that bucket. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.",
"type": "string"
},
"r2_bucket": {
"description": "An R2 bucket in that account, for staging and schema files.",
"type": "string"
},
"r2_secret_access_key": {
"description": "Its secret. Sealed in the job, deleted when it ends. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.",
"type": "string"
},
"upgrade": {
"description": "Set true to pay the difference to the next pass that fits, only when the app is past its pass's (or free trial's) record or file limit.",
"type": "boolean"
}
},
"required": [
"job_id"
],
"type": "object"
},
"name": "nc_access",
"outputSchema": null
},
{
"description": "Free, and works without an API key: with no key it says what is free, what the free trial covers and what each pass costs; with a key it shows the credit balance, the passes paid for (which app, until when, record and file limits), recent credit changes, usage in the last 30 days and where to add credits.",
"inputSchema": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"name": "nc_account",
"outputSchema": null
},
{
"description": "Read-only inventory of a Bubble® app before moving its data to Cloudflare D1 and R2: data types, fields, relations, option sets, record counts, types the Data API does not expose, and a risk list with the estimated workload the export would use. Nothing is written to the app. Pass app_spec (app-spec.json from the nocode-migration-audit plugin) for privacy rules and workflow counts, or editor_catalog (the Bubble MCP list_types output) when you have no app_spec. Better: call nc_connect first, have the owner enter the Data API token and upload the catalog on its page, then pass job_id here with no token or catalog. Returns a job_id for nc_plan.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"app_base_url": {
"description": "The app's address, for example https://yourapp.bubbleapps.io or its custom domain.",
"type": "string"
},
"app_spec": {
"description": "app-spec.json from the nocode-migration-audit plugin (spec version 0.1).",
"type": "object"
},
"data_api_token": {
"description": "A Data API token from the app's Settings > API. Needed for record counts. Never stored after the audit. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.",
"type": "string"
},
"detail": {
"description": "Apps with more than 30 types get a summary of the biggest types by default. full returns everything.",
"enum": [
"summary",
"full"
],
"type": "string"
},
"editor_catalog": {
"description": "The output of the Bubble MCP list_types tool, used for the schema when there is no app_spec.",
"type": "object"
},
"job_id": {
"description": "A job from nc_connect: its sealed Data API token and uploaded catalog are used.",
"type": "string"
},
"source": {
"description": "The source platform. Bubble apps only in v1.",
"enum": [
"bubble"
],
"type": "string"
},
"version": {
"description": "Which database to count. Default live.",
"enum": [
"live",
"test"
],
"type": "string"
}
},
"required": [
"source",
"app_base_url"
],
"type": "object"
},
"name": "nc_audit",
"outputSchema": null
},
{
"description": "Returns a one-time link to a page on this server where the owner types the Cloudflare token, the R2 keys and the source app's Data API token, and can upload the editor catalog file. They are checked, sealed in the job and never pass through the chat. Use it instead of putting tokens in tool calls. Give app_base_url (and version) for a new job, or job_id to add tokens to an existing one. The link works for 30 minutes. Free.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"app_base_url": {
"description": "The source app's address, for a new job.",
"type": "string"
},
"job_id": {
"description": "An existing job, to add or replace its tokens.",
"type": "string"
},
"version": {
"description": "Which database: live (default) or test.",
"enum": [
"live",
"test"
],
"type": "string"
}
},
"type": "object"
},
"name": "nc_connect",
"outputSchema": null
},
{
"description": "Refuses to run unless the last nc_verify passed and nothing was exported, loaded, copied or imported after it. Then returns the exact steps: freeze the old app, the final delta (nc_export with since, nc_load, nc_files, nc_users, nc_verify again), publish the redirects, the DNS change to make in Cloudflare, the email to send, what to watch, and the rollback. It never changes DNS or the old app. Call it again with complete: true and confirm_cutover: true after the move to record it and delete every credential held for the job. Paid: needs a pass for the app, or the free trial for plans up to 1,000 records.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"cf_account_id": {
"description": "The customer's Cloudflare account id.",
"type": "string"
},
"cf_api_token": {
"description": "A Cloudflare API token with D1 edit permission on that account. Sealed in the job, deleted when it ends. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.",
"type": "string"
},
"complete": {
"description": "Record that the move is done.",
"type": "boolean"
},
"confirm_cutover": {
"description": "Needed with complete: confirms DNS has moved and credentials may be deleted.",
"type": "boolean"
},
"domain": {
"description": "The address users visit, for example www.example.com. Required when the old app is on a bubbleapps.io address.",
"type": "string"
},
"go_ahead": {
"description": "Set true only when a charge applies, once the owner has seen the estimate and agreed to it. Not needed under the free trial or a pass that already covers the app. Needed again after a pass has expired.",
"type": "boolean"
},
"job_id": {
"type": "string"
},
"r2_access_key_id": {
"description": "Access key id of an R2 API token that can read and write that bucket. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.",
"type": "string"
},
"r2_bucket": {
"description": "An R2 bucket in that account, for staging and schema files.",
"type": "string"
},
"r2_secret_access_key": {
"description": "Its secret. Sealed in the job, deleted when it ends. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.",
"type": "string"
},
"upgrade": {
"description": "Set true to pay the difference to the next pass that fits, only when the app is past its pass's (or free trial's) record or file limit.",
"type": "boolean"
}
},
"required": [
"job_id"
],
"type": "object"
},
"name": "nc_cutover",
"outputSchema": null
},
{
"description": "Pages through the source app's records (read only) into NDJSON objects in the customer's R2 bucket. Resumable: progress is saved after every page, so a stopped run continues where it stopped. Each call does a bounded slice and returns status partial until every type is done; call it again. Pass since for a delta run that exports only records modified after that time. Paid: needs a pass for the app, or the free trial for plans up to 1,000 records.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"cf_account_id": {
"description": "The customer's Cloudflare account id.",
"type": "string"
},
"cf_api_token": {
"description": "A Cloudflare API token with D1 edit permission on that account. Sealed in the job, deleted when it ends. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.",
"type": "string"
},
"data_api_token": {
"description": "The source app's Data API token. Needed on the first call; sealed in the job. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.",
"type": "string"
},
"go_ahead": {
"description": "Set true only when a charge applies, once the owner has seen the estimate and agreed to it. Not needed under the free trial or a pass that already covers the app. Needed again after a pass has expired.",
"type": "boolean"
},
"job_id": {
"type": "string"
},
"max_pages": {
"description": "Pages of up to 100 records per call. Default 20.",
"type": "number"
},
"max_requests_per_minute": {
"description": "Throttle for the source app. Default 60.",
"type": "number"
},
"r2_access_key_id": {
"description": "Access key id of an R2 API token that can read and write that bucket. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.",
"type": "string"
},
"r2_bucket": {
"description": "An R2 bucket in that account, for staging and schema files.",
"type": "string"
},
"r2_secret_access_key": {
"description": "Its secret. Sealed in the job, deleted when it ends. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.",
"type": "string"
},
"reexport": {
"description": "Export everything again even though a finished run exists.",
"type": "boolean"
},
"since": {
"description": "ISO date. Only records modified after it (a delta run). Starts a new run once the previous one is done.",
"type": "string"
},
"types": {
"description": "Data type keys to export. Default: every type not skipped in the plan.",
"items": {
"type": "string"
},
"type": "array"
},
"upgrade": {
"description": "Set true to pay the difference to the next pass that fits, only when the app is past its pass's (or free trial's) record or file limit.",
"type": "boolean"
}
},
"required": [
"job_id"
],
"type": "object"
},
"name": "nc_export",
"outputSchema": null
},
{
"description": "Copies every file and image the loaded data points at from the source's storage into the customer's R2 bucket, stored under its content hash (the same file is stored once). Records old URL to new key in the file_map table, fills each file field's key column, and keeps the old URL in its legacy column. Links inside text are copied too; rewriting the text is off unless rewrite_text is true, and the originals are backed up. Only the source platform's own storage is copied unless allow_hosts adds more. Resumable: each call does a bounded batch and returns status partial until done. Paid: needs a pass for the app, or the free trial for plans up to 1,000 records.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"allow_hosts": {
"description": "Extra hosts to copy from, for example images.example.com. Links to other hosts are listed, not copied.",
"items": {
"type": "string"
},
"type": "array"
},
"bucket": {
"description": "R2 bucket for the files. Default: the staging bucket.",
"type": "string"
},
"cf_account_id": {
"description": "The customer's Cloudflare account id.",
"type": "string"
},
"cf_api_token": {
"description": "A Cloudflare API token with D1 edit permission on that account. Sealed in the job, deleted when it ends. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.",
"type": "string"
},
"go_ahead": {
"description": "Set true only when a charge applies, once the owner has seen the estimate and agreed to it. Not needed under the free trial or a pass that already covers the app. Needed again after a pass has expired.",
"type": "boolean"
},
"job_id": {
"type": "string"
},
"max_bytes": {
"description": "Largest file to copy. Default 50 MB.",
"type": "number"
},
"max_files": {
"description": "Files per call. Default 15.",
"type": "number"
},
"r2_access_key_id": {
"description": "Access key id of an R2 API token that can read and write that bucket. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.",
"type": "string"
},
"r2_bucket": {
"description": "An R2 bucket in that account, for staging and schema files.",
"type": "string"
},
"r2_secret_access_key": {
"description": "Its secret. Sealed in the job, deleted when it ends. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.",
"type": "string"
},
"retry_failed": {
"description": "Try again the files that failed or were skipped earlier.",
"type": "boolean"
},
"rewrite": {
"description": "Fill the key columns once a file is copied. Default true.",
"type": "boolean"
},
"rewrite_text": {
"description": "Also replace links inside text values with url_prefix plus the new key. Originals go to text_url_backup. Default false.",
"type": "boolean"
},
"upgrade": {
"description": "Set true to pay the difference to the next pass that fits, only when the app is past its pass's (or free trial's) record or file limit.",
"type": "boolean"
},
"url_prefix": {
"description": "Prefix for rewritten text links. Default /files/.",
"type": "string"
}
},
"required": [
"job_id"
],
"type": "object"
},
"name": "nc_files",
"outputSchema": null
},
{
"description": "Loads the staged records into the customer's D1 database by upsert on id. A second run changes zero rows. References to records that do not exist are set to null and logged (orphans), never dropped silently. Each call does a bounded slice and returns status partial until done. truncate_first empties the tables first and needs confirm_overwrite: true. Paid: needs a pass for the app, or the free trial for plans up to 1,000 records.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"cf_account_id": {
"description": "The customer's Cloudflare account id.",
"type": "string"
},
"cf_api_token": {
"description": "A Cloudflare API token with D1 edit permission on that account. Sealed in the job, deleted when it ends. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.",
"type": "string"
},
"confirm_overwrite": {
"description": "Confirms that existing rows in the target may be overwritten or removed.",
"type": "boolean"
},
"go_ahead": {
"description": "Set true only when a charge applies, once the owner has seen the estimate and agreed to it. Not needed under the free trial or a pass that already covers the app. Needed again after a pass has expired.",
"type": "boolean"
},
"job_id": {
"type": "string"
},
"max_requests": {
"description": "D1 queries per call. Default 60.",
"type": "number"
},
"mode": {
"description": "Upsert by id (the only mode in v1).",
"enum": [
"upsert"
],
"type": "string"
},
"r2_access_key_id": {
"description": "Access key id of an R2 API token that can read and write that bucket. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.",
"type": "string"
},
"r2_bucket": {
"description": "An R2 bucket in that account, for staging and schema files.",
"type": "string"
},
"r2_secret_access_key": {
"description": "Its secret. Sealed in the job, deleted when it ends. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.",
"type": "string"
},
"reprocess": {
"description": "Run every staged object again, for example after a schema change. Rows that already match change nothing.",
"type": "boolean"
},
"truncate_first": {
"description": "Empty the target tables before loading. Needs confirm_overwrite.",
"type": "boolean"
},
"types": {
"description": "Data type keys to load. Default: all exported types.",
"items": {
"type": "string"
},
"type": "array"
},
"upgrade": {
"description": "Set true to pay the difference to the next pass that fits, only when the app is past its pass's (or free trial's) record or file limit.",
"type": "boolean"
}
},
"required": [
"job_id"
],
"type": "object"
},
"name": "nc_load",
"outputSchema": null
},
{
"description": "Works without an API key. Checks that the migrator is reachable, and that the API key works if one is sent. Returns the server name, version and time.",
"inputSchema": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"name": "nc_ping",
"outputSchema": null
},
{
"description": "Mapping plan for a job from nc_audit: one D1 table per data type (wide types split into linked tables, lists as join tables), a SQL preview of the first three tables, slim-down suggestions (empty types, logs, chat history) and an effort tier. Nothing is created. Skip lists are decisions for the owner: pass them only after the owner agrees.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"detail": {
"description": "Plans with more than 30 tables list the biggest by default. full returns everything.",
"enum": [
"summary",
"full"
],
"type": "string"
},
"id_strategy": {
"description": "Primary keys keep the source's unique ids (the only option in v1).",
"enum": [
"keep_bubble_ids"
],
"type": "string"
},
"job_id": {
"description": "The job_id from nc_audit.",
"type": "string"
},
"primitive_lists": {
"description": "Lists of text or numbers as a JSON column (default) or a join table.",
"enum": [
"json",
"table"
],
"type": "string"
},
"skip_fields": {
"description": "Fields to leave out, as type.field.",
"items": {
"type": "string"
},
"type": "array"
},
"skip_types": {
"description": "Data type keys to leave out, as agreed with the owner.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"job_id"
],
"type": "object"
},
"name": "nc_plan",
"outputSchema": null
},
{
"description": "Builds redirects.json (301s from old Bubble® paths and query forms to the new routes), a redirects.ts module for the new Worker, an _redirects file for exact paths, and a curl script that tests every URL. Old URLs come from a sitemap (a sitemap index is followed) or url_list. A URL whose route does not change is not redirected: it is listed as unchanged and expected to answer 200. A URL it cannot place is listed as unmapped with the reason, never guessed. Give new routes with page_routes, for example { \"listing_detail\": \"/rooms/:slug\" }. Paid: needs a pass for the app, or the free trial for plans up to 1,000 records.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"app_spec": {
"description": "app-spec.json, for the page list. Default: the one given to nc_audit.",
"type": "object"
},
"cf_account_id": {
"description": "The customer's Cloudflare account id.",
"type": "string"
},
"cf_api_token": {
"description": "A Cloudflare API token with D1 edit permission on that account. Sealed in the job, deleted when it ends. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.",
"type": "string"
},
"go_ahead": {
"description": "Set true only when a charge applies, once the owner has seen the estimate and agreed to it. Not needed under the free trial or a pass that already covers the app. Needed again after a pass has expired.",
"type": "boolean"
},
"id_slug_map": {
"description": "{ type: { bubble id: slug } }. Default: read from the loaded slug columns.",
"type": "object"
},
"job_id": {
"type": "string"
},
"new_base": {
"description": "Origin of the new app for the expected Location, for example https://www.example.com. Default: the old URL's own origin.",
"type": "string"
},
"page_routes": {
"description": "Old page key to its new route. A route with :slug or :id takes one thing, for example /rooms/:slug.",
"type": "object"
},
"page_types": {
"description": "Old page key to the data type it shows, when the name does not say.",
"type": "object"
},
"r2_access_key_id": {
"description": "Access key id of an R2 API token that can read and write that bucket. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.",
"type": "string"
},
"r2_bucket": {
"description": "An R2 bucket in that account, for staging and schema files.",
"type": "string"
},
"r2_secret_access_key": {
"description": "Its secret. Sealed in the job, deleted when it ends. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.",
"type": "string"
},
"sitemap_url": {
"description": "The old app's sitemap.xml (a sitemap index is followed).",
"type": "string"
},
"upgrade": {
"description": "Set true to pay the difference to the next pass that fits, only when the app is past its pass's (or free trial's) record or file limit.",
"type": "boolean"
},
"url_list": {
"description": "Old URLs, absolute or paths.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"job_id"
],
"type": "object"
},
"name": "nc_redirects",
"outputSchema": null
},
{
"description": "Generates numbered D1 migration SQL files and a Drizzle schema from the agreed plan (nc_plan), and writes them to the customer's R2 under nc/<job>/schema/. With apply: true it creates the D1 database in the customer's account and runs the migrations. Safe to repeat: every statement is idempotent. Run nc_plan first and agree its skip list with the owner. Paid: needs a pass for the app, or the free trial for plans up to 1,000 records.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"apply": {
"description": "Create the database and run the migrations. Default false: only generate the files.",
"type": "boolean"
},
"cf_account_id": {
"description": "The customer's Cloudflare account id.",
"type": "string"
},
"cf_api_token": {
"description": "A Cloudflare API token with D1 edit permission on that account. Sealed in the job, deleted when it ends. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.",
"type": "string"
},
"database_name": {
"description": "Name of the D1 database to create or reuse, for example nc-sharehousehub-staging.",
"type": "string"
},
"go_ahead": {
"description": "Set true only when a charge applies, once the owner has seen the estimate and agreed to it. Not needed under the free trial or a pass that already covers the app. Needed again after a pass has expired.",
"type": "boolean"
},
"job_id": {
"type": "string"
},
"max_statements": {
"description": "Statements to run per call when applying. Default 100.",
"type": "number"
},
"r2_access_key_id": {
"description": "Access key id of an R2 API token that can read and write that bucket. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.",
"type": "string"
},
"r2_bucket": {
"description": "An R2 bucket in that account, for staging and schema files.",
"type": "string"
},
"r2_secret_access_key": {
"description": "Its secret. Sealed in the job, deleted when it ends. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.",
"type": "string"
},
"upgrade": {
"description": "Set true to pay the difference to the next pass that fits, only when the app is past its pass's (or free trial's) record or file limit.",
"type": "boolean"
}
},
"required": [
"job_id"
],
"type": "object"
},
"name": "nc_schema",
"outputSchema": null
},
{
"description": "Turns the loaded users into login identities (email, created date, and the verified flag as exported) and writes the recipient list to the customer's R2. Passwords are not migrated: Bubble® does not export password hashes, so every user signs in with a magic link or sets a new password by email. Returns counts and an announcement template. It does not send any email. Paid: needs a pass for the app, or the free trial for plans up to 1,000 records.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"cf_account_id": {
"description": "The customer's Cloudflare account id.",
"type": "string"
},
"cf_api_token": {
"description": "A Cloudflare API token with D1 edit permission on that account. Sealed in the job, deleted when it ends. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.",
"type": "string"
},
"go_ahead": {
"description": "Set true only when a charge applies, once the owner has seen the estimate and agreed to it. Not needed under the free trial or a pass that already covers the app. Needed again after a pass has expired.",
"type": "boolean"
},
"job_id": {
"type": "string"
},
"r2_access_key_id": {
"description": "Access key id of an R2 API token that can read and write that bucket. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.",
"type": "string"
},
"r2_bucket": {
"description": "An R2 bucket in that account, for staging and schema files.",
"type": "string"
},
"r2_secret_access_key": {
"description": "Its secret. Sealed in the job, deleted when it ends. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.",
"type": "string"
},
"strategy": {
"description": "How users sign in the first time. Default magic_link.",
"enum": [
"magic_link",
"reset_email"
],
"type": "string"
},
"upgrade": {
"description": "Set true to pay the difference to the next pass that fits, only when the app is past its pass's (or free trial's) record or file limit.",
"type": "boolean"
}
},
"required": [
"job_id"
],
"type": "object"
},
"name": "nc_users",
"outputSchema": null
},
{
"description": "Checks the loaded data and says pass or fail: row counts per type against the source's count now, a checksum sample (default 500 records per type, sha256 of the canonical JSON of the mapped columns, read back from D1), broken foreign keys, and that every copied file exists in R2. Writes verification.md to the customer's R2. Reads the source and the target; changes nothing. Each call does a bounded part and returns partial until done. nc_cutover refuses to run unless the last verification passed and nothing changed after it. Paid: needs a pass for the app, or the free trial for plans up to 1,000 records.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"accept_unmapped_files": {
"description": "Accept that some rows keep a source file URL with no copy (links to other hosts, files that could not be copied). Without it they fail the verification.",
"type": "boolean"
},
"cf_account_id": {
"description": "The customer's Cloudflare account id.",
"type": "string"
},
"cf_api_token": {
"description": "A Cloudflare API token with D1 edit permission on that account. Sealed in the job, deleted when it ends. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.",
"type": "string"
},
"data_api_token": {
"description": "The source app's Data API token, if it is not held for this job any more. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.",
"type": "string"
},
"go_ahead": {
"description": "Set true only when a charge applies, once the owner has seen the estimate and agreed to it. Not needed under the free trial or a pass that already covers the app. Needed again after a pass has expired.",
"type": "boolean"
},
"job_id": {
"type": "string"
},
"max_cost": {
"description": "Work per call. Default 120.",
"type": "number"
},
"r2_access_key_id": {
"description": "Access key id of an R2 API token that can read and write that bucket. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.",
"type": "string"
},
"r2_bucket": {
"description": "An R2 bucket in that account, for staging and schema files.",
"type": "string"
},
"r2_secret_access_key": {
"description": "Its secret. Sealed in the job, deleted when it ends. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.",
"type": "string"
},
"restart": {
"description": "Start a new verification instead of continuing the open one.",
"type": "boolean"
},
"sample": {
"description": "Records to checksum per type. Default 500.",
"type": "number"
},
"skip_source": {
"description": "Do not count the source's records (no token). Counts are then compared with what the export reported.",
"type": "boolean"
},
"types": {
"description": "Data type keys to verify. Default: all.",
"items": {
"type": "string"
},
"type": "array"
},
"upgrade": {
"description": "Set true to pay the difference to the next pass that fits, only when the app is past its pass's (or free trial's) record or file limit.",
"type": "boolean"
}
},
"required": [
"job_id"
],
"type": "object"
},
"name": "nc_verify",
"outputSchema": null
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:eb1606e3240a2f0f6e7496dcadea9639730eb2d6ca301dd5e881a01ed938fc14 | sha256sum