Connection
Base URL, credentials and a reachable server.
Build a command-line utility with a predictable argument contract. Check --help, missing values and unknown flags without starting the main operation.
Base URL, credentials and a reachable server.
A model available through the configured endpoint.
Context limits and tool support are determined by the model and server.
const options = parseArgs(argv);
if (options.help) return printHelp();
if (options.unknown.length) return usageError();
return run(options);