fluent_init
Create or convert ServiceNow Fluent applications: initialize a new now-sdk project, apply a template, or migrate a legacy scoped app into source.
Instructions
Create a new Fluent (now-sdk) application, apply a template to an existing one, or convert a legacy scoped app into Fluent source (from = app sys_id on the instance, or a local folder). Runs now-sdk init in the given directory. REQUIRES FLUENT_ENABLED=true and WRITE_ENABLED=true.
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": "fluent_init"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| auth | No | now-sdk credential alias (optional) | |
| from | No | Convert a legacy app: its sys_app sys_id on the instance, or a local folder path | |
| name | No | Application name (--appName) | |
| scope | No | Scope name, e.g. x_acme_app (max 18 chars, vendor prefix if applicable) | |
| install | No | Run npm install in the new project so it builds straight away (default true) | |
| template | No | Project template | |
| directory | No | Directory to create the project in (defaults to the server working directory) | |
| package_name | No | npm package name (--packageName). Defaults to a slug of name. |