berrry_register_tool
Register an existing Berrry app as a callable tool in JauMemory. Verifies the app via NOMCP before finalizing entry, with rollback if verification fails.
Instructions
Register an EXISTING Berrry app as a JauMemory tool. Does NOT deploy — the app must already live at .berrry.app. Verifies via the NOMCP files endpoint before finalizing; rolls back the tool entry if the app is missing or the token is rejected.
REQUIRES: a vault credential containing your Berrry NOMCP token (brry_rw_*). Store one first with vault_store.
USE THIS WHEN: you already created the app via the Berrry web UI (which has AI-prompt-based generation) or another path, and just want JauMemory to expose it as a callable tool. Use berrry_create_tool instead if you want JauMemory to deploy fresh files.
AFTER REGISTER: Use tool_call with the returned slug to hit the app's HTTP API. Use path_suffix "__nomcp/..." with the same slug to manage files/versions through NOMCP.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Display name for the tool (defaults to subdomain) | |
| tags | No | Tags for categorization and search | |
| auth_path | No | Authentication path: "user" (API key, no expiry) or "agent" (Ed25519, 24h expiry). Default: "user" | |
| subdomain | Yes | Berrry app subdomain (e.g. "json-validator" for json-validator.berrry.app) | |
| description | No | Description of what the tool does | |
| nomcp_credential_id | Yes | UUID of the vault credential containing your Berrry NOMCP token |