Table of Contents

Reference

Quick-lookup reference material for JD.AI CLI flags, commands, tools, providers, and configuration. Each article is formatted for scanning — tables, parameter lists, and code blocks with minimal prose.

For tutorials and explanations, see the User Guide and Developer Guide.

Reference articles

Article Description
CLI Reference All CLI flags, environment variables, exit codes, data directories, and piped input
Commands Reference All 33+ slash commands with full syntax, options, and examples
Tools Reference Built-in tools with parameters, return types, safety tiers, and examples
Providers Reference Provider comparison table, capabilities matrix, credential resolution, env vars
Environment Variables Consolidated reference of all environment variables by category
Configuration Reference config.json schema, JDAI.md syntax, per-project overrides, precedence chain
Prompt Caching Reference Automatic prompt caching behavior, thresholds, TTL options, and runtime controls
  • Install: dotnet tool install -g JD.AI
  • Update: dotnet tool update -g JD.AI or /update
  • Help: jdai --help or /help
  • Default directory: ~/.jdai/

Conventions used in this reference

Convention Meaning
<value> Required argument
[value] Optional argument
--flag CLI flag
/command Slash command (interactive prompt)
UPPER_CASE Environment variable
~/.jdai/ JD.AI data directory ($HOME/.jdai/ on Linux/macOS, %USERPROFILE%\.jdai\ on Windows)

See also