Expand description
Generic Driver Command API.
Commands are the extension point for driver-specific operations. The host
uses DriverCommandDefinition for discovery and CommandResult as the
transport-neutral execution result.
Structs§
- Command
Result - Transport-neutral result returned by a Driver Command.
- Driver
Command Definition - Metadata exposed by a driver for a command it supports.
- Driver
Command Metadata - Optional command metadata. Missing fields deserialize to workflow/UI-enabled defaults.
Enums§
- Command
Access Level - Access level required by a Driver Command.
- Command
Category - High-level grouping used by Workflow UI and docs.
Functions§
- check_
command_ access - Reject commands that need a higher access level than the caller was granted.
- execute_
command_ definition - Build the standard SQL
executecommand definition. - execute_
command_ definition_ for executewith a driver-specific description andsqlfield title.- query_
command_ definition - Build the standard SQL
querycommand definition. - query_
command_ definition_ for querywith a driver-specific description andsqlfield title.- query_
only_ command_ definitions - Query-only drivers (writes are not exposed as commands).
- required_
access_ level - Classify a command from explicit metadata, then permissions / command id.
- statement_
command_ definitions - Query + execute for non-SQL drivers that still use the
sqlinput field. - validate_
command_ input - Validate the generic structural part of a command’s JSON Schema. Driver-specific semantic validation remains inside the driver.