Skip to content
2.12.0

Documents ​

Карточка собрана автоматически из манифеста пакета. Так же пакет выглядит во вкладке «Обзор» в Студии.
Навыкиdocumentsверсия 1.0.3agentchat

Read and edit DOCX, XLSX, and PPTX files.

Навыки в пакете · 68

  • doc_read_documentdoc_read_document

    Read DOCX content with block indices and formatting hints.

    Параметры: 4
    ПараметрТипОписание
    path *stringPath to the file.
    start_paragraphinteger
    end_paragraphinteger
    show_revisions *boolean
  • doc_get_document_infodoc_get_document_info

    DOCX overview: paragraph count, headings, tables, comments.

    Параметры: 1
    ПараметрТипОписание
    path *stringPath to the file.
  • doc_search_textdoc_search_text

    Search text in a DOCX with context snippets.

    Параметры: 3
    ПараметрТипОписание
    path *stringPath to the file.
    query *string
    case_sensitive *boolean
  • doc_list_imagesdoc_list_images

    List embedded images in a DOCX.

    Параметры: 1
    ПараметрТипОписание
    path *stringPath to the file.
  • doc_read_commentsdoc_read_comments

    Read comments from a DOCX.

    Параметры: 1
    ПараметрТипОписание
    path *stringPath to the file.
  • doc_get_page_layoutdoc_get_page_layout

    Get DOCX page layout (margins, size, orientation).

    Параметры: 1
    ПараметрТипОписание
    path *stringPath to the file.
  • doc_read_header_footerdoc_read_header_footer

    Read DOCX headers and footers.

    Параметры: 1
    ПараметрТипОписание
    path *stringPath to the file.
  • doc_read_footnotesdoc_read_footnotes

    Read DOCX footnotes.

    Параметры: 1
    ПараметрТипОписание
    path *stringPath to the file.
  • doc_replace_textsdoc_replace_texts

    Apply one or more find/replace operations in a single open/save cycle. Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 6
    ПараметрТипОписание
    path *stringPath to the file.
    items *array
    include_headers_footersboolean
    track_changes *booleanRecord edits as tracked changes. Default true.
    allow_untracked_editbooleanRequired true when track_changes=false.
    authorstringRevision author. Default EVA.
  • doc_edit_paragraphsdoc_edit_paragraphs

    Replace text of one or more paragraphs by index. Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 5
    ПараметрТипОписание
    path *stringPath to the file.
    edits *array
    track_changes *booleanRecord edits as tracked changes. Default true.
    allow_untracked_editbooleanRequired true when track_changes=false.
    authorstringRevision author. Default EVA.
  • doc_insert_paragraphsdoc_insert_paragraphs

    Insert one or more paragraphs. Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 5
    ПараметрТипОписание
    path *stringPath to the file.
    paragraphs *array
    track_changes *booleanRecord edits as tracked changes. Default true.
    allow_untracked_editbooleanRequired true when track_changes=false.
    authorstringRevision author. Default EVA.
  • doc_delete_paragraphsdoc_delete_paragraphs

    Delete paragraphs by index. Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 5
    ПараметрТипОписание
    path *stringPath to the file.
    paragraph_indices *array
    track_changes *booleanRecord edits as tracked changes. Default true.
    allow_untracked_editbooleanRequired true when track_changes=false.
    authorstringRevision author. Default EVA.
  • doc_format_textdoc_format_text

    Apply character formatting to matching text. Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 11
    ПараметрТипОписание
    path *stringPath to the file.
    search *string
    boldboolean
    italicboolean
    underlineboolean
    strikethroughboolean
    highlight_colorstring
    font_namestring
    font_sizenumber
    font_colorstring
    case_sensitive *boolean
  • doc_set_paragraph_formatsdoc_set_paragraph_formats

    Apply paragraph formatting to groups of indices. Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 2
    ПараметрТипОписание
    path *stringPath to the file.
    groups *array
  • doc_highlight_textdoc_highlight_text

    Highlight matching text. Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 4
    ПараметрТипОписание
    path *stringPath to the file.
    search *string
    colorstring
    case_sensitive *boolean
  • doc_set_headingsdoc_set_headings

    Convert paragraphs to headings (level 1-9). Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 2
    ПараметрТипОписание
    path *stringPath to the file.
    headings *array
  • doc_insert_tabledoc_insert_table

    Insert a table at a block position. Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 5
    ПараметрТипОписание
    path *stringPath to the file.
    position *integer
    rows *integer
    cols *integer
    dataarray
  • doc_create_documentdoc_create_document

    Create a blank/minimal DOCX at path (overwrite). Prefer doc_create_from_markdown for structured content.

    Параметры: 4
    ПараметрТипОписание
    path *stringPath to the file.
    titlestring
    contentstring
    presetstring
  • doc_create_from_markdowndoc_create_from_markdown

    Create a NEW DOCX from Markdown at path. Prefer for greenfield docs. Pass exactly one of markdown (raw string) or source_path (.md/.txt path). Do NOT use to patch an existing DOCX: use edit tools instead.

    Параметры: 3
    ПараметрТипОписание
    path *stringPath to the file.
    markdownstringRaw Markdown body. Mutually exclusive with source_path.
    source_pathstringPath to the source .md or .txt file.
  • doc_apply_document_presetdoc_apply_document_preset

    Apply a document-wide style preset. Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 2
    ПараметрТипОписание
    path *stringPath to the file.
    preset *string
  • doc_add_commentdoc_add_comment

    Anchor a comment to specific text. Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 4
    ПараметрТипОписание
    path *stringPath to the file.
    anchor_text *string
    comment_text *string
    authorstring
  • doc_add_commentsdoc_add_comments

    Add multiple comments in one operation. Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 3
    ПараметрТипОписание
    path *stringPath to the file.
    comments *array
    default_authorstring
  • doc_reply_to_commentdoc_reply_to_comment

    Reply to an existing comment. Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 4
    ПараметрТипОписание
    path *stringPath to the file.
    parent_comment_id *integer
    comment_text *string
    authorstring
  • doc_delete_commentdoc_delete_comment

    Delete a comment by id. Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 2
    ПараметрТипОписание
    path *stringPath to the file.
    comment_id *integer
  • doc_accept_all_changesdoc_accept_all_changes

    Accept all tracked changes. Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 1
    ПараметрТипОписание
    path *stringPath to the file.
  • doc_reject_all_changesdoc_reject_all_changes

    Reject all tracked changes. Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 1
    ПараметрТипОписание
    path *stringPath to the file.
  • doc_set_page_layoutdoc_set_page_layout

    Set page size, margins, orientation. Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 13
    ПараметрТипОписание
    path *stringPath to the file.
    page_size_presetstring
    orientationstring
    width_mmnumber
    height_mmnumber
    margin_presetstring
    top_mmnumber
    right_mmnumber
    bottom_mmnumber
    left_mmnumber
    header_mmnumber
    footer_mmnumber
    gutter_mmnumber
  • doc_edit_table_cellsdoc_edit_table_cells

    Replace text in one or more table cells. Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 5
    ПараметрТипОписание
    path *stringPath to the file.
    edits *array
    track_changes *booleanRecord edits as tracked changes. Default true.
    allow_untracked_editbooleanRequired true when track_changes=false.
    authorstringRevision author. Default EVA.
  • xls_get_workbook_infoxls_get_workbook_info

    XLSX workbook overview: sheets, named ranges, properties.

    Параметры: 1
    ПараметрТипОписание
    path *stringPath to the file.
  • xls_read_sheetxls_read_sheet

    Read cell data from an XLSX sheet (optional A1 range).

    Параметры: 4
    ПараметрТипОписание
    path *stringPath to the file.
    sheet *anySheet name or 0-based index
    rangestringOptional A1 range, e.g. A1:D20
    compact *boolean
  • xls_read_cellxls_read_cell

    Read a single XLSX cell: value, formula, type, formatting.

    Параметры: 3
    ПараметрТипОписание
    path *stringPath to the file.
    sheet *any
    cell *stringA1 address, e.g. B12
  • xls_search_cellsxls_search_cells

    Search text/numbers across XLSX cells.

    Параметры: 4
    ПараметрТипОписание
    path *stringPath to the file.
    query *string
    sheetany
    case_sensitive *boolean
  • xls_get_sheet_propertiesxls_get_sheet_properties

    XLSX sheet properties: dimensions, freeze panes, auto filter, tab color.

    Параметры: 2
    ПараметрТипОписание
    path *stringPath to the file.
    sheet *any
  • xls_list_named_rangesxls_list_named_ranges

    List named ranges in an XLSX workbook.

    Параметры: 1
    ПараметрТипОписание
    path *stringPath to the file.
  • xls_list_data_validationsxls_list_data_validations

    List data validation rules on an XLSX sheet.

    Параметры: 2
    ПараметрТипОписание
    path *stringPath to the file.
    sheet *any
  • xls_list_imagesxls_list_images

    List embedded images on an XLSX sheet.

    Параметры: 2
    ПараметрТипОписание
    path *stringPath to the file.
    sheet *any
  • xls_write_cellxls_write_cell

    Set a cell value or formula (=...). Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 4
    ПараметрТипОписание
    path *stringPath to the file.
    sheet *any
    cell *string
    value *string | number | boolean | null
  • xls_write_cellsxls_write_cells

    Set multiple cells at once. Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 3
    ПараметрТипОписание
    path *stringPath to the file.
    sheet *any
    cells *array
  • xls_write_rowxls_write_row

    Write a row of values. Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 5
    ПараметрТипОписание
    path *stringPath to the file.
    sheet *any
    row *integer
    values *array
    start_columnstring
  • xls_write_rowsxls_write_rows

    Write multiple rows. Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 5
    ПараметрТипОписание
    path *stringPath to the file.
    sheet *any
    start_row *integer
    rows *array
    start_columnstring
  • xls_clear_cellsxls_clear_cells

    Clear values in a range (keeps formatting). Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 3
    ПараметрТипОписание
    path *stringPath to the file.
    sheet *any
    range *string
  • xls_create_workbookxls_create_workbook

    Create a new empty XLSX at path (overwrite). Writes new file in the workspace.

    Параметры: 2
    ПараметрТипОписание
    path *stringPath to the file.
    sheet_namestring
  • xls_format_cellsxls_format_cells

    Apply formatting to a cell range. Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 4
    ПараметрТипОписание
    path *stringPath to the file.
    sheet *any
    range *string
    format *object
  • xls_format_cells_bulkxls_format_cells_bulk

    Apply different formatting to multiple ranges. Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 3
    ПараметрТипОписание
    path *stringPath to the file.
    sheet *any
    groups *array
  • xls_set_column_widthxls_set_column_width

    Set column width (characters). Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 4
    ПараметрТипОписание
    path *stringPath to the file.
    sheet *any
    column *string
    width *number
  • xls_set_column_widthsxls_set_column_widths

    Set widths for multiple columns. Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 3
    ПараметрТипОписание
    path *stringPath to the file.
    sheet *any
    columns *array
  • xls_set_row_heightxls_set_row_height

    Set row height (points). Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 4
    ПараметрТипОписание
    path *stringPath to the file.
    sheet *any
    row *integer
    height *number
  • xls_set_row_heightsxls_set_row_heights

    Set heights for multiple rows. Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 3
    ПараметрТипОписание
    path *stringPath to the file.
    sheet *any
    rows *array
  • xls_insert_rowsxls_insert_rows

    Insert empty rows. Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 4
    ПараметрТипОписание
    path *stringPath to the file.
    sheet *any
    row *integer
    count *integer
  • xls_delete_rowsxls_delete_rows

    Delete rows. Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 4
    ПараметрТипОписание
    path *stringPath to the file.
    sheet *any
    row *integer
    count *integer
  • xls_insert_columnsxls_insert_columns

    Insert empty columns. Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 4
    ПараметрТипОписание
    path *stringPath to the file.
    sheet *any
    column *string
    count *integer
  • xls_delete_columnsxls_delete_columns

    Delete columns. Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 4
    ПараметрТипОписание
    path *stringPath to the file.
    sheet *any
    column *string
    count *integer
  • xls_add_sheetxls_add_sheet

    Add a new empty sheet. Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 2
    ПараметрТипОписание
    path *stringPath to the file.
    name *string
  • xls_rename_sheetxls_rename_sheet

    Rename a sheet. Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 3
    ПараметрТипОписание
    path *stringPath to the file.
    sheet *any
    new_name *string
  • xls_delete_sheetxls_delete_sheet

    Delete a sheet. Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 2
    ПараметрТипОписание
    path *stringPath to the file.
    sheet *any
  • xls_copy_sheetxls_copy_sheet

    Copy a sheet within the workbook. Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 3
    ПараметрТипОписание
    path *stringPath to the file.
    source_sheet *any
    new_name *string
  • xls_set_freeze_panesxls_set_freeze_panes

    Freeze rows/columns (0 to unfreeze). Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 4
    ПараметрТипОписание
    path *stringPath to the file.
    sheet *any
    row *integer
    column *integer
  • xls_set_auto_filterxls_set_auto_filter

    Enable auto filter on a range. Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 3
    ПараметрТипОписание
    path *stringPath to the file.
    sheet *any
    range *string
  • xls_remove_auto_filterxls_remove_auto_filter

    Remove auto filter from a sheet. Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 2
    ПараметрТипОписание
    path *stringPath to the file.
    sheet *any
  • xls_add_data_validationxls_add_data_validation

    Add a data validation rule. Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 13
    ПараметрТипОписание
    path *stringPath to the file.
    sheet *any
    range *string
    type *string
    formulae *array
    operatorstring
    allow_blankboolean
    show_error_messageboolean
    error_titlestring
    errorstring
    show_input_messageboolean
    prompt_titlestring
    promptstring
  • xls_remove_data_validationxls_remove_data_validation

    Remove validation rules from a range. Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 3
    ПараметрТипОписание
    path *stringPath to the file.
    sheet *any
    range *string
  • xls_add_named_rangexls_add_named_range

    Add a named range. Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 4
    ПараметрТипОписание
    path *stringPath to the file.
    name *string
    range *string
    sheetany
  • xls_delete_named_rangexls_delete_named_range

    Delete a named range. Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 2
    ПараметрТипОписание
    path *stringPath to the file.
    name *string
  • xls_merge_cellsxls_merge_cells

    Merge a range of cells. Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 3
    ПараметрТипОписание
    path *stringPath to the file.
    sheet *any
    range *string
  • xls_unmerge_cellsxls_unmerge_cells

    Unmerge a previously merged range. Writes to the workspace file (platform syncs cloud tree after the call).

    Параметры: 3
    ПараметрТипОписание
    path *stringPath to the file.
    sheet *any
    range *string
  • ppt_get_infoppt_get_info

    PPTX overview: slide count, dimensions, per-slide shape/text previews.

    Параметры: 1
    ПараметрТипОписание
    path *stringPath to the file.
  • ppt_read_slideppt_read_slide

    Read one PPTX slide (0-based index): texts, tables, image placeholders (no image bytes).

    Параметры: 2
    ПараметрТипОписание
    path *stringPath to the file.
    slide_index *integer
  • ppt_list_shapesppt_list_shapes

    List shapes on a PPTX slide with types, text preview, picture placeholders.

    Параметры: 2
    ПараметрТипОписание
    path *stringPath to the file.
    slide_index *integer

Настройки пакета

Пакет не регистрирует настроек.

Зависит от SDK

@eva/skill-sdk@eva/agent-sdk@eva/agent-chat-sdk@eva/widget-sdk@eva/context@eva/artifacts

Как подключить ​

Администратор загружает пакет в разделе Админ → Пакеты или публикует его из Студии. После публикации пакет появляется у пользователей: навыки в каталоге Навыки, а виджеты фоновых сервисов на доске виджетов. Настройки с меткой «общее» задаёт администратор, с меткой «на пользователя» каждый пользователь заполняет у себя.

Подробнее о жизненном цикле пакета: Студия: публикация и версии. Весь каталог: Пакеты EVA.

Документация экосистемы EVA 2.1