Skip to main content
The commands of widgetic api are generated from the contracts that describe the endpoints of the REST API, and the commands of widgetic mcp from the ones that describe the tools of the MCP server. So this site keeps no separate list of commands: the command is on the page of its endpoint, and the terminal describes it in full.

From an endpoint to its command

Every endpoint page of the API reference has a CLI tab beside the cURL and SDK tabs. It shows the command for that endpoint with the flags it needs, ready to copy. List Widgets has one. The last two parts of the address of an endpoint page are the group and the command, so you can read one from the other:

How a command is named

  • widgetic api <group> <command> runs an endpoint. The command is the name the libraries give the call, written with dashes: getWidgets, GetWidgets and the other spellings of that name are all get-widgets (how a call is named). A few commands also answer to a shorter name, such as list for get-widgets, and --help shows both as get-widgets|list.
  • widgetic api call <operationId> runs an endpoint by that name without its group: widgetic api call getWidgets.
  • widgetic mcp <command> runs a tool. The command is the name of the tool with dashes, so the tool create_widget is widgetic mcp create-widget, and widgetic mcp call create_widget runs it by the tool’s own name. Tools lists every tool with what it does and what it costs.

In the terminal

These work offline, need no key and describe the version you have installed:
Configuration says how to point an agent at them.

Flags

The parameters of an endpoint, in its path or its query string, and the fields of its body are flags, written with dashes: canvasId is --canvas-id. --data takes the whole body as JSON, as @file.json or as - for standard input, and the flags override its keys. A tool takes --input the same way. Every command also takes --json and --dry-run, and a few more: see Scripts and CI.

The groups of the REST API

Each row links to one endpoint of the group in the API reference. Keys and workspaces says which commands need a partner key.