Azure Functions Core Tools
$ func Official Med RiskAzure Functions Core Tools (func) runs the Azure Functions host locally for Node.js, Python, .NET, Java, and PowerShell triggers, scaffolds function projects via func init, and deploys code via func azure functionapp publish with --no-interactive support on select commands.
brew install azure/functions/azure-functions-core-tools@4 func executes local serverless hosts, inspects local.settings.json, and builds deployment packages directly inside the repo.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Supports explicit template flags and --no-interactive on select commands, but lacks global --json output and func start runs as a blocking local server.
func init/func newprompt interactively if runtime flags are omitted- No universal
--jsonflag across CLI output
Local scaffolding and emulation are low-risk, though func azure functionapp publish overwrites live cloud app deployments and local.settings.json holds secrets.
- Keep
local.settings.jsongitignored when runningfunc settings
Heavy package footprint bundling the .NET Functions host runtime via npm, Homebrew tap (azure/functions), or standalone zip.
- Available via
npm install -g azure-functions-core-toolsand Homebrew tap
Indispensable for local Azure Functions trigger emulation and zip/remote-build publishing.
- Only official local emulator for Azure Functions triggers and bindings
Official Microsoft / .NET Foundation tool (Azure/azure-functions-core-tools) under MIT license.
- Official Microsoft repository under MIT license
Well-documented Microsoft Learn reference covering v4 commands and flags.
- Official Core Tools command reference on Microsoft Learn
Security, Auth & Guardrails
Local runtime reads local.settings.json (excluded from git); Azure publishing reuses Azure CLI (az login) tokens.
MIT open-source CLI; local host is free, while publishing deploys to billable Azure Function Apps.
# Azure Functions Core Tools (func) Agent Rules - Always pass explicit runtime/template flags to `func init` and `func new` to avoid interactive menus. - Run `func start` in a background task with a port check rather than blocking synchronously. - Never commit `local.settings.json` or run `func azure functionapp publish` without user approval.
Agent-Ready Command Recipes
Safe Read-Only Queries
func --version
Verifies the installed v4 Azure Functions Core Tools version.
Controlled Writes & Previews
func init my-func-app --python --model V2
Passes --python and --model explicitly so func init does not open interactive runtime menus.
Strengths for Agents
- + Accurate local Azure Functions host emulation across Python, Node.js, .NET, and Java.
- + Explicit
--python/--typescript/--templateflags bypass interactive scaffolding menus. - + Direct integration with Azure CLI auth for
func azure functionapp publish.
Caveats & Pitfalls
- ! Lacks universal
--jsonoutput; logs and command output are plain text. - ! Large download footprint because it bundles the .NET Azure Functions host.