Skip to main content
Glama

tc_keyboard

Send a keyboard chord to the local 1C client or browse standard shortcuts offline. Also available: tc_field(action="is_visible"), tc_field(action="is_enabled"), tc_field(action="get_context_menu"), tc_app(action="get_parent").

Instructions

Send a keyboard chord to the local 1C client or browse standard shortcuts offline. Also available: tc_field(action="is_visible"), tc_field(action="is_enabled"), tc_field(action="get_context_menu"), tc_app(action="get_parent").

  • marks a required action parameter; the group schema treats action parameters as optional. Pass action="name" and only that action's parameters. Actions:

  • list_shortcuts(search=null, category=null, limit=20, offset=0) Browse standard 1C shortcuts offline (omit connection_id): search English/Russian descriptions or ref names; category filters by a returned category. Page with limit=1..100 and next_offset. Each alternatives entry is a keys array for send_keys. Context/focus matters; the catalogue contains standard managed-application PC shortcuts; availability depends on the platform version and configuration.

  • send_keys(keys*, ref=null) Send one chord to local 1C. Without ref, use the active window and focused control. ref addresses a window, managed form, input field or table: activates its window and, for fields/tables, verifies focus before sending. Table columns are not targets. Activation can finish pending input and switch pages; previous focus is not restored. keys: zero or more CTRL/SHIFT/ALT modifiers followed by one ref, e.g. ["CTRL","SHIFT","BACKQUOTE"] toggles panels. Letters A..Z, digits, F1..F12, ENTER/ESC/TAB, arrows, HOME/END, PAGEUP/PAGEDOWN, INSERT/DELETE/BACKSPACE and punctuation/keypad names from list_shortcuts. Requires Windows or Linux/X11 and local desktop access; on a shared desktop 1C must have focus. Successful delivery does not prove command success: read the resulting state. May edit data, open dialogs or close windows. Not text input; use input_text for text. Chords need not appear in list_shortcuts. ref selects the client; otherwise set connection_id when several clients are connected. Use tc_session(action="list_connections"). Success may omit target/connection echoes and shorten window details. Use returned references unchanged in ref; re-find expired elements.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refNo
keysNo
limitNo
actionYes
offsetNo
searchNo
categoryNo
connection_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.9.1

TDQS

Score is being calculated.