Choose a flow's persona
set_flow_personaChoose the agent, skills, implants and rules a flow runs with, for this user.
Instructions
Choose the agent, skills, implants and rules a flow runs with, for this user.
Works for built-in, user: and repo: flows without copying their text; it
replaces the persona in the flow's frontmatter. A list loads exactly those
components (empty = none); an omitted list keeps the agent's own selection.
agent omitted: run the flow without a persona. reset=true (alone): drop this
choice so the flow's frontmatter applies again; it also repairs a broken one.
IDs: agent names as in list_agents; skills and implants by file ID
(skill-web-search, implant-iteration-budget, not footer short names);
rules by name (no-fabrication).
A workspace outside this session's grant leaves repo: flows unavailable: the result is
then an error carrying workspace_mismatch with both roots and the remedy, while
builtin: and user: flows still answer.
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": {
"flow": "<flow>"
},
"name": "set_flow_persona"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flow | Yes | ||
| agent | No | Agent name for the flow persona. | |
| reset | No | ||
| rules | No | Optional rule names, as a JSON array of strings. | |
| skills | No | Optional skill ids, as a JSON array of strings. | |
| implants | No | Optional implant ids, as a JSON array of strings. | |
| workspace | No | Absolute path of your working directory, the project this session works in. Pass it whenever you have one. It never widens this session's grant: over HTTP the workspace registered for the connection decides, and over stdio it is checked against the client's own MCP roots unless this session's root is already pinned, when it is ignored. Each tool's description says what it does with a path that grant does not cover. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |