Generate persona
generate_personaCreate a persona JSON pack and, when confirmed and allowed, insert it into Studio SQLite for controlled persona setup in Msty Studio.
Instructions
Build a persona JSON pack and, when gated, insert it into Studio SQLite. Use this to create a persona. Use import_studio_pack for a full pack. Always writes a pack under ~/.msty-admin/imports/. SQLite insert needs confirm=true, MSTY_ALLOW_STUDIO_WRITES=1 in the server environment, and Studio must be closed. Name max 100 characters, system prompt max 20000. Returns JSON with pack_path and wrote.
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": {
"name": "<name>",
"system_prompt": "<system_prompt>",
"model": "<model>"
},
"name": "generate_persona"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Persona name. 1 to 100 characters. Must be unique in Studio. | |
| model | Yes | Local model name to associate, for example llama3.2:3b. Used for partialModelInfo lookup only. | |
| confirm | No | Set true to insert into Studio after a backup. Default false (pack only). | |
| system_prompt | Yes | System prompt text. 1 to 20000 characters. Stored as JSON with mode append unless you ask for replace via import_studio_pack. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |