Provision App
provision_appSet up Harny for an app with no account: memory, connected accounts, actions and the action record behind one key; makes a new app and its key, as POST /v1/auth/provision does. The answer carries the app key once, and the assistant is told to put it in the owner's secret store and nowhere else. Needs no key.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"app_name": "<app_name>"
},
"name": "provision_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_name | Yes | A name for the new app, such as the product's name. | |
| customers | No | Who the app's customers are, in one or two sentences. Stored with the app's objective; the owner can change it. | |
| objective | No | What the app does, in one or two sentences, in the business's words. Stored as the app's objective; the owner can change it. | |
| model_preset | No | Optional. The model preset chosen for this app: cost_first, quality_first or regulated. It is stored with the app now, so Harny's own processing of what the app loads follows it from the first fact. The owner can change it after the claim. | |
| contact_email | No | Optional. A contact address for platform messages. Leave it out when you do not have one: the app's owner gives their sign-in address when they claim the app. | |
| assistant_name | No | Optional. Your own name: the product you run as, the way you would say who you are. The app's owner sees it on their Home as who set the app up. Leave it out if you do not know it; Harny never fills it in for you. |