project_init
Create or refresh a Flisk project's configuration and generated files in an existing directory, or clone a starter template into a new directory for setup.
Instructions
Create a Flisk project with flisk project --yes: in projectPath (an existing directory; default the server's directory) write .flisk/project.json and generate its files, or, with template, clone a starter project into a new directory there (then call project_init again with projectPath set to the clone to configure it). Inside an existing project it refreshes that project's generated files instead and never overwrites its project.json. Returns the command's text output.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "project_init"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Template only: directory to clone into, relative to projectPath or absolute (default: the starter name, or its repository name) | |
| template | No | Clone this starter project instead of creating a blank one | |
| agentSkills | No | Blank project only: write the Flisk agent skills and AGENTS.md (default true) | |
| projectPath | No | Absolute path to an existing directory to create the project in (or to clone the template from) |