kernel_agents_flows_set_repo
Set the host git repository that an office's agents use as their working directory, or revert to the kernel workspace default. Optionally initialize git in the target path.
Instructions
Promote an office (flow) to a host git repo all its agents work in, or revert it. Pass an absolute path to promote; omit/empty path to revert to the kernel workspace home. Agents without their own cwd_path override will use this directory as cwd.
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_id": "<flow_id>"
},
"name": "kernel_agents_flows_set_repo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Absolute host path, e.g. /home/you/projects/my-office. Omit or empty to revert to the kernel workspace. | |
| flow_id | Yes | Office/flow id (from kernel_agents_flows_list) | |
| git_init | No | Run `git init` if the directory is not already a git repo. Default true. |