fluent_dependencies
Downloads dependencies declared in now.config.json plus TypeScript type definitions, and registers new dependency records via add and scope by running now-sdk dependencies.
Instructions
Download the dependencies declared in now.config.json plus TypeScript type definitions (Script Include types, glide.*.d.ts, ChoiceSets). Use add + scope to register new dependency records. Runs now-sdk dependencies. REQUIRES FLUENT_ENABLED=true and WRITE_ENABLED=true (writes local files).
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_dependencies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | Table of dependency items to add, e.g. sys_security_acl, actions, triggers | |
| auth | No | now-sdk credential alias (optional) | |
| async | No | Run as a background job and return a job_id at once. Poll it with get_job. Calls that take longer than about 20 seconds switch to a job on their own. | |
| scope | No | Scope of the added dependencies (required with add), e.g. global | |
| sys_ids | No | sys_ids to add (with add) | |
| directory | No | Project directory (contains package.json). Defaults to the working directory. | |
| fluent_only | No | Only download Fluent types from now.config.json dependencies | |
| type_defs_only | No | Only download script type definitions |