cat_build
Build a ';'-terminated CAT command for Kenwood, Elecraft, or Yaesu radios to query or set parameters like frequency, mode, power, and status.
Instructions
Build a ';'-terminated text CAT command (Kenwood, Elecraft, Yaesu) for query_text or send_text with line_ending="NONE".
Common commands: ID (rig id), FA/FB (VFO A/B frequency; empty value = read), MD (mode; read, or set with the family's code), IF (full status), PS (power), TX/RX, AI0 (silence auto-info), SM0 (S-meter), PC (output power).
Args: command: Two letters, e.g. "FA". value: Digits/letters to append for a set, e.g. "2" for MD2 (USB). Empty = read. frequency_mhz: For FA/FB sets: the frequency; formatted as 11 digits of Hz (Kenwood/Elecraft) or 9 (Yaesu). flavor: Which family's conventions: "kenwood" (default), "elecraft", "yaesu".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | ||
| flavor | No | kenwood | |
| command | Yes | ||
| frequency_mhz | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |