Add a buyer persona
add_personaCreate a buyer persona for a site and return it with its id: a short name and the words the buyer would say before asking ("I run marketing at a 40-person B2B SaaS in Germany; our budget is about €2,000 a month."), optionally their country and language. It changes nothing until it is set on prompts with add_prompts, update_prompt or bulk_update_prompts.
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": {
"projectId": "<projectId>",
"name": "<name>",
"context": "<context>"
},
"name": "add_persona"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | A short label, e.g. "SaaS marketing lead". | |
| context | Yes | The words put before each question, in the buyer’s own voice. | |
| language | No | The language this buyer asks in (e.g. "German"). Leave out for the site’s. | |
| location | No | The country this buyer is in (as in the site settings, e.g. "Germany"); the assistants answer from there. Leave out for the site’s. | |
| projectId | Yes | The project id, from list_projects. |