## Running external API workflows through terminal commands

Inspect endpoint definitions on demand to execute service actions without overloading context.

When tasked with interacting with an external service, query the command line to discover available actions rather than loading entire schema catalogs. Review parameter flags before invoking commands. Whenever a command creates, modifies, or deletes remote records, present the command preview to the user and wait for confirmation before running it.

Approvals:

- Present the command preview and wait for user confirmation before running any command that creates remote records.
- Present the command preview and wait for user confirmation before running any command that modifies remote records.
- Present the command preview and wait for user confirmation before running any command that deletes remote records.

Source: BotBento use case https://botbento.com/usecases/running-external-api-workflows-through-terminal-commands/ (CC BY 4.0).
