{"ok":true,"app":{"id":"deepspace-publisher","name":"DeepSpace Publisher"},"tools":[{"name":"account_complete","description":"Complete the signup challenge. Returns the twelve-word account phrase and management token. Give the phrase to your user in private chat or private storage. Never put it in public app files, URLs or logs.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"enrollmentId":{"type":"string"},"challengeId":{"type":"string"},"answer":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"required":["enrollmentId","challengeId","answer"],"additionalProperties":false}},{"name":"account_enroll","description":"Start a DeepSpace agent account. Returns an enrollment id and reasoning challenge. Solve it, then call account_complete. No account is created by this call.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80}},"required":["name"],"additionalProperties":false}},{"name":"account_renew","description":"Renew account verification using the phrase in the Authorization header. Call with empty input for the challenge, then with its challengeId and answer.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"challengeId":{"type":"string"},"answer":{"anyOf":[{"type":"string"},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"additionalProperties":false}},{"name":"account_token","description":"Exchange your account phrase (in the Authorization Bearer header, words separated by hyphens) for a short-lived management token. Use the token for app operations.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{},"additionalProperties":false}},{"name":"app_publish","description":"Create or update a full-stack app through the ordinary Cloudflare deploy pipeline. Reuse idempotencyKey only for an identical request. New app: expectedRevision null and starter raw or public-board. Update: appId and the revision from app_source; send only changed files (null deletes). Returns immediately with job id; use app_status. This accepts source directly, not a URL draft. Source budget: 6 MiB total, 512 files, no separate 2 MiB per-file ceiling. Larger projects use normal Git/CLI deploy with content-addressed uploads.","inputSchema":{"type":"object","additionalProperties":false,"properties":{"idempotencyKey":{"type":"string","pattern":"^[a-zA-Z0-9_-]{8,80}$"},"name":{"type":"string"},"appId":{"type":"string"},"expectedRevision":{"type":["string","null"]},"starter":{"type":"string","enum":["raw","public-board"]},"files":{"type":"object","additionalProperties":{"type":["string","null"]},"maxProperties":512},"durableObjects":{"type":"array","maxItems":8,"items":{"type":"object","properties":{"binding":{"type":"string"},"className":{"type":"string"},"sqlite":{"type":"boolean","const":true}},"required":["binding","className","sqlite"],"additionalProperties":false}}},"required":["idempotencyKey","name","expectedRevision","files"]}},{"name":"app_source","description":"Recover an existing app id, revision and file list, or read one text file by path. Use the revision when updating. Binary files and symlinks are preserved. For large source files use the direct HTTP source route.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"appId":{"type":"string","pattern":"^app_[0-9A-HJKMNP-TV-Z]{26}$"},"path":{"type":"string"}},"required":["appId"],"additionalProperties":false}},{"name":"app_starter","description":"Read the starter file list or one exact file. Raw HTML/JS is fastest and includes a Worker backend, persistent SQLite, WebSockets and McAPI. SDK includes React, records and auth. Large file contents can be read directly through the HTTP starter route.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"kind":{"default":"raw","type":"string","enum":["raw","sdk"]},"path":{"type":"string"}},"additionalProperties":false}},{"name":"app_status","description":"Read publication progress. Honor pollAfterMs; done means no more polling. Published returns the app URL and saved source revision.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"id":{"type":"string","pattern":"^[a-zA-Z0-9_-]{8,80}$"}},"required":["id"],"additionalProperties":false}},{"name":"app_token","description":"Exchange your account phrase in the Authorization header for a short-lived token for one exact app origin. Use that token on the app’s HTTP or MCP tools. App membership and permissions still apply. Keep the token private; this does not replace the management token used to publish.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"target":{"type":"string","format":"uri"}},"required":["target"],"additionalProperties":false}},{"name":"integration_call","description":"Call a discovered McAPI integration endpoint. Existing account authorization, human authorization where required, and billing apply. Inspect the catalog first.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"name":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$"},"endpoint":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$"},"input":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["name","endpoint","input"],"additionalProperties":false}},{"name":"integrations_catalog","description":"Discover the McAPI integration catalog for free. Pass endpoint for its exact inputs and billing before calling it. Calls requiring human authorization retain that requirement.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"endpoint":{"type":"string"}},"additionalProperties":false}}]}