Secure link for tokens and the app catalog
nc_connectReturns 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. With purpose export it returns the page where the owner uploads the app file instead, a single file picker and no tokens (the link works for 60 minutes); then call nc_compile_plan.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "nc_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | No | An existing job, to add or replace its tokens. | |
| purpose | No | tokens (default): the page for the Cloudflare, R2 and Data API tokens. export: the page where the owner uploads the app file, so nc_compile_plan can score the move. The export link works for 60 minutes. | |
| version | No | Which database: live (default) or test. | |
| job_secret | No | The job_secret returned when this job was made (or the job's signed editor link). Required with job_id when no API key is sent: the job_id alone does not open a job. | |
| app_base_url | No | The source app's address, for a new job. |