ui_tree
Generate a serialized snapshot of the active 1C UI tree to inspect form structure, including hidden elements, with configurable profiles and formats.
Instructions
Return a serialized snapshot of the active 1C UI tree.
Default profile is navigation: visible elements, compact fields, no data
presentations, no RAG enrichment, and command panels excluded unless requested.
include_rag_types defaults to auto: RAG enrichment is enabled for
diagnostic, data and full profiles and disabled for navigation profiles.
The tree has no depth limit. Use include_hidden=true for hidden pages/elements.
Pass parent_name to serialize only the subtree rooted at a specific form element.
Use fields=minimal|navigation|diagnostic|data|full (or a comma-separated
field list) to control returned node fields without changing traversal.
include_data=true may call 1C ПолучитьПредставлениеДанных() for many nodes;
do not enable it casually on large forms. Prefer targeted tools for data:
field_value_text for one field, table_rows for tables/dynamic lists, and
tabular_document_text/tabular_document_save for reports/tabular documents.
When name, title or type filter is set, the result is a flat objects list instead
of a nested tree. For finding one control, prefer search_objects/find_object.
format=outline and format=yaml|yml return readable text representations
inside a structured tool result; JSON remains the default machine-readable form.
delivery=auto is the default: small results stay inline, but large results
above ONEC_MCP_UI_TREE_RESOURCE_AUTO_THRESHOLD_TOKENS (default 50k estimated tokens) are
saved as MCP resources. Use delivery=inline to force inline output and
delivery=resource to force resource output for large/verbose diagnostics
(profile=full, include_hidden=true, include_data=true). Resource
responses contain only resource_uri, snapshot_id, summary, metrics and a
small preview. Then inspect the saved snapshot with
ui_tree_resource_search, ui_tree_resource_get_node,
ui_tree_resource_children, or ui_tree_diff instead of loading the whole
tree into the agent context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| type | No | ||
| title | No | ||
| fields | No | auto | |
| format | No | json | |
| compact | No | ||
| profile | No | navigation | |
| delivery | No | auto | |
| group_mode | No | include | |
| session_id | No | default-18 | |
| parent_name | No | ||
| include_data | No | ||
| rag_snapshot | No | ||
| command_panels | No | auto | |
| include_hidden | No | ||
| include_timings | No | ||
| include_rag_types | No | auto | |
| preview_max_nodes | No | ||
| include_command_panels | No |