Skip to main content
Version: 4.2 (beta)

Assistant Tools

Assistant and MCP tools let AI models inspect HSYCO context, follow HSYCO task procedures, read documentation, query runtime state, work with uploaded files, create downloadable files, and perform selected HSYCO operations.

Tools are grouped into bundles. Where the tools are used determines which bundles are available:

Used inAvailable bundles
Manager AssistantBundles selected for a Manager-enabled profile, excluding Client Page
Client AssistantBundles selected for a Client-enabled profile, limited to Client Page, Session Files, Catalog, general Docs, and permitted read-only Runtime tools
AIGEN I/O ServerBundles selected for an I/O Server-enabled profile, excluding browser editors, Client Page, and Session Files
MCP ServerApproval tools, plus the shared bundles selected by the MCP client with toolBundles; all shared bundles are available by default after Manager approval

Select bundles in the AI profile. Each surface can use only the tools available to it, even if the profile enables more bundles. Manager Settings prevents selecting bundles that none of the profile's enabled surfaces can use.

If you selected bundles before the names changed, update the profile to use the IDs below. An empty selection allows every tool available to the profile's enabled surfaces.

BundleManagerI/O ServerClientPurpose
runtime_statusYesYesYesHost and device status.
runtime_configYesYesNoConfiguration and server definitions.
runtime_sessionsYesYesNoActive user sessions.
runtime_stateYesYesPartialLive variables, I/O, UI, datasources, and indexed search.
runtime_historyYesYesYesTimelines, logs, and dataloggers.
runtime_mediaYesYesYesImages and cameras.
runtime_executionYesYesNoSandboxed JavaScript analysis.
runtime_controlYesYesNoSet live variables, I/O, and UI values.
runtime_eventsYesYesNoEVENTS errors.
runtime_filesYesYesNoSaved text files.
runtime_sourceYesYesNoEVENTS and Java source.
docsYesYesPartialDocumentation and references.
catalogYesYesYesCatalog lookup.
editor_projectYesNoNoLive Project Editor.
editor_codeYesNoNoLive Code Editor.
session_filesYesNoYesAttachments and downloadable files.
client_pageNoNoYesConnected Client page context.
skillsYesNoNoInstalled skills and their saved scripts.

For the Client Assistant, “Partial” means general documentation and selected read-only Runtime State tools.

MCP clients always have access to the approval tools. Protected HSYCO tools request Manager approval automatically before they run. See MCP Server for the approval flow.

Earlier Assistant Results​

The Assistant can reuse earlier results from the same conversation, including images and files. In Manager, it can analyze an earlier result or save it as a downloadable file when Session Files is enabled. MCP clients cannot access Assistant results.

Available to the Manager Assistant and the Client Assistant. It is not part of a bundle.

ToolDescription
hsyco_tool_result_readReads part of an earlier result from the same Assistant session, or recovers one of its images or files. It cannot read other sessions.

MCP Approval​

MCP Server only.

ToolDescription
hsyco_approval_requestCreates a Manager approval popup for the current MCP session.
hsyco_approval_statusGets approval status for the current MCP session.

Runtime Events​

Available to the Manager Assistant and MCP Server after Manager approval. The AIGEN I/O Server receives only hsyco_events_errors; the Client Assistant receives no event tools.

ToolDescription
hsyco_events_errorsFetches current event compiler and runtime errors.

Runtime Files and Source Code​

Saved-file tools read files on disk without opening Code Editor and intentionally exclude unsaved changes. Source tools include live Code Editor changes only for EVENTS and Java source files.

ToolDescription
hsyco_file_readReads a page from one saved text file without using Code Editor.
hsyco_file_searchSearches one saved file or a bounded set of saved allowlisted text files on disk, without using Code Editor.
hsyco_source_listLists EVENTS and Java source files, including open files with unsaved changes.
hsyco_source_readReads one exact EVENTS or Java source path; open unsaved content overrides the saved file.
hsyco_source_checkChecks Java source files for compile errors without writing class files; open unsaved content overrides the saved file. Requires the JDK compiler.
hsyco_java_apiLooks up Java classes, packages and methods on the classpath HSYCO compiles against, including the libraries in hsyco.jar. Requires the JDK compiler.

Saved-file reads can continue across pages or long lines. Searches across files have size limits. Configuration files are excluded unless both runtime_files and runtime_config are enabled.

Docs​

General documentation search/list/open tools are also available to the Client Assistant and AIGEN I/O Server. Object, code, and icon reference tools remain available only where the selected surface policy and profile permit them.

ToolDescription
hsyco_docs_searchSearches HSYCO documentation and available object references.
hsyco_docs_listLists general documentation files from the live HSYCO documentation store.
hsyco_docs_openOpens Markdown content from one general documentation file.
hsyco_object_referenceGets an overview of one UI object type and its attributes.
hsyco_object_attrs_openOpens documentation for specific UI object attributes.
hsyco_code_referenceLists code reference entries for EVENTS, JavaScript, or Java.
hsyco_code_reference_openOpens full code reference documentation for specific entries.
hsyco_icons_searchSearches MDI icon metadata for custom project icons.

Handbook​

The handbook is a set of HSYCO task procedures built into HSYCO. The Assistant follows it when it builds, configures, operates, diagnoses or changes the installation, and uses the Docs tools for conceptual questions and documentation requests.

The handbook tools are available to the Manager Assistant, the Client Assistant, the AIGEN I/O Server when tools are enabled, and MCP clients. They are not a bundle and are not selected in the AI profile: each session receives only the procedures that its surface and enabled bundles can carry out.

ToolDescription
hsyco_handbook_searchFinds the procedures for a task, best first, optionally with the text of the best one.
hsyco_handbook_openOpens procedures by ID or path, or an example file that a procedure links.
hsyco_handbook_listLists the available procedures, optionally filtered by category or text.

The handbook is private to the Assistant: users don't open it, and the Assistant puts the steps, values and syntax they need in its answers.

Project Editor​

The Project Editor tools are available to the Manager Assistant and to the MCP Server after Manager approval.

ToolDescription
hsyco_project_listLists available UI projects.
hsyco_project_readReads a project in Project Editor, including unsaved state, page summaries and the page the project opens on.
hsyco_project_get_pageReads one Project Editor page, or the objects of one container on it, including unsaved edits and the current selection.
hsyco_project_query_objectsFinds objects with a CSS selector on one page, the selected page or every page.
hsyco_project_capture_pageCaptures a page, or the area of one object, as an image of how Project Editor shows it, to check the layout. An object can be drawn at twice its size.
hsyco_project_apply_editsApplies unsaved Project Editor edits in the active Manager browser.
hsyco_pe_open_projectOpens one project in Project Editor and can focus a page or object path.
hsyco_pe_close_projectCloses the active project in Project Editor. A project with unsaved edits stays open.

The read, capture and edit tools open the project they name. The Assistant never discards unsaved changes in Project Editor: when another project has them, it asks the user to save or discard them first.

Code Editor​

Available to the Manager Assistant and to the MCP Server after Manager approval. This bundle controls Manager Code Editor tabs and is separate from runtime_events.

ToolDescription
hsyco_ce_read_fileOpens or focuses an allowlisted file and reads its live Code Editor buffer, including an already-open unsaved File Manager New File buffer. Returns a revision guard.
hsyco_ce_search_fileSearches one live Code Editor buffer and returns the revision guard required for editing.
hsyco_ce_apply_editsApplies ordered exact-match edits to the revision-matched open buffer without creating or saving a file.
hsyco_ce_open_fileOpens one live HSYCO file in Manager Code Editor.
hsyco_ce_close_fileCloses one open file tab in Manager Code Editor.

Call hsyco_ce_read_file or hsyco_ce_search_file immediately before hsyco_ce_apply_edits and pass the returned revision. Edits use {oldString, newString, replaceAll?}. An empty oldString is accepted only as the sole non-replaceAll edit against an empty revision-matched buffer, which supports initializing an unsaved New File tab without introducing a separate patch language.

Runtime Read​

Available according to the surface policy and selected profile. The Client Assistant receives only user-facing read-only queries such as status, variables, I/O, devices, indexed state, datasource, timelines, logs, images, dataloggers, and cameras; it does not receive configuration, active-session, Manager UI, or code-execution tools.

ToolDescription
hsyco_status_summaryReads the live HSYCO host and system status summary.
hsyco_config_getReads HSYCO configuration entries from hsyco.ini.
hsyco_config_ioserversLists configured I/O servers, including connection parameters and optional installer descriptions.
hsyco_config_camerasLists configured cameras, including URLs, recording and PTZ settings, and optional installer descriptions.
hsyco_config_commportsLists configured communication ports, including line parameters, TCP addresses, and optional installer descriptions.
hsyco_code_runRuns short JavaScript for data analysis. In Assistant sessions, it can use an earlier result; attachments and downloadable output require Session Files.
hsyco_vars_queryQueries live HSYCO runtime variables.
hsyco_io_queryQueries live HSYCO I/O state.
hsyco_ui_queryQueries live HSYCO UI state for one project and optional session.
hsyco_devices_queryQueries live HSYCO device state from the Status Browser snapshot.
hsyco_sessions_listLists active HSYCO user sessions.
hsyco_datasource_queryQueries a live HSYCO datasource.
hsyco_state_searchSearches live HSYCO state across the enabled bundles.
hsyco_timeline_ioQueries I/O datapoint value-change history from Timeline.
hsyco_timeline_commandQueries command history from Timeline.
hsyco_timeline_varQueries variable value-change history from Timeline.
hsyco_timeline_statsGets Timeline database statistics.
hsyco_timeline_allQueries all Timeline records across I/O, commands, and variables.
hsyco_log_readReads live HSYCO log entries.
hsyco_image_readReads an image file from the local HSYCO filesystem and returns it as an artifact.
hsyco_datalogger_getLists HSYCO DataLogger definitions, including optional installer descriptions.
hsyco_datalogger_queryQueries live DataLogger data for one datalogger.
hsyco_camera_getReads live HSYCO camera status.
hsyco_camera_get_motionsQueries camera motion events for one camera.
hsyco_camera_get_frameRetrieves a current or recorded camera frame.

Session Files​

Available to the Manager Assistant, Client Assistant, and MCP Server after Manager approval. The AIGEN I/O Server does not use the Assistant session file cache.

ToolDescription
hsyco_artifact_createCreates one downloadable file from assistant-generated text or base64 data.
hsyco_artifact_create_manyCreates multiple downloadable files from assistant-generated text or base64 data.
hsyco_attachment_listLists files uploaded by the user for the current assistant session.
hsyco_attachment_readReads uploaded text and images, and returns supported PDF or Office documents as native file artifacts. Unsupported binary formats return metadata only.

Client Page​

Available to the Client Assistant, and to the MCP Server after Manager approval when a matching client page is connected.

ToolDescription
hsyco_client_get_contextGets the limited live context exposed by the current client page.
hsyco_client_get_object_contextGets live context for one exposed client item handle.
hsyco_client_get_table_dataGets semantic table status and paginated rows. It defaults to filtered rows in the current sort order, visible columns, and displayed values. Row value arrays align with the returned columns; options expose viewport or unfiltered rows, source order, hidden columns, raw values, and selected-only rows.
hsyco_client_get_datasource_dataGets paginated raw rows and columns from a datasource cache loaded in the current client page. Datasource cache data is distinct from a rendered table view.
hsyco_client_get_datalogger_contextGets live context for one exposed datalogger or timeline handle.

Catalog​

Available to the Manager Assistant, Client Assistant, AIGEN I/O Server when tools are enabled, and MCP Server after Manager approval.

ToolDescription
hsyco_catalog_getReads live HSYCO catalog devices and locations.
hsyco_catalog_searchSearches live HSYCO catalog devices and metadata.

Runtime Control​

Available to the Manager Assistant, AIGEN I/O Server when tools are enabled, and MCP Server after Manager approval. These tools change live HSYCO runtime state immediately.

ToolDescription
hsyco_vars_setSets or deletes one live HSYCO runtime variable.
hsyco_io_setSets one or more live HSYCO I/O datapoint values.
hsyco_ui_setSets one live HSYCO UI attribute globally or for one session.

Skills​

Manager Assistant only, when the skills bundle is enabled. Skills are installed in the aigen/skills folder of the HSYCO folder or of a plugin.

ToolDescription
hsyco_skill_readReads the SKILL.md instructions of an installed skill, or one of its text resources.
hsyco_skill_runRuns a saved JavaScript script of an installed skill. Also requires the runtime_execution bundle. A script that calls server callbacks also requires the runtime_control bundle and an authenticated Manager session.

Dynamic tool loading​

On supported models, HSYCO sends the complete authorized catalog to the provider while initially placing only a small frequently used set in the model context. OpenAI GPT-5.4 and later use native tool search with grouped namespaces; supported Claude 4.5+ and Claude 5 models use Anthropic's native BM25 tool search. The model can discover a deferred tool when the request needs it without changing the surface permissions.

The always-visible business tools are status summary, indexed state search, handbook search and open, and saved-file read and search where the surface allows them. Client Assistant also keeps current Client context visible. Providers without a compatible native tool-search protocol receive the complete surface-authorized catalog.