@uipath/delegate-sdk 1.203.0 → 1.203.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +41 -3
- package/dist/index.mjs +2 -2
- package/dist/skills/business-analysis/SKILL.md +722 -0
- package/dist/skills/business-analysis/as-is-capture.md +440 -0
- package/dist/skills/business-analysis/assets/progress.yaml +19 -0
- package/dist/skills/business-analysis/assets/task-list.md +34 -0
- package/dist/skills/business-analysis/automation-hub-publishing.md +47 -0
- package/dist/skills/business-analysis/bpmn-to-be-design.md +274 -0
- package/dist/skills/business-analysis/case-to-be-design.md +223 -0
- package/dist/skills/business-analysis/diagram-authoring.md +215 -0
- package/dist/skills/business-analysis/industry-gaps.md +134 -0
- package/dist/skills/business-analysis/interview-spine.md +297 -0
- package/dist/skills/business-analysis/locales/de.json +54 -0
- package/dist/skills/business-analysis/locales/en.json +54 -0
- package/dist/skills/business-analysis/locales/es-MX.json +54 -0
- package/dist/skills/business-analysis/locales/es.json +54 -0
- package/dist/skills/business-analysis/locales/fr.json +54 -0
- package/dist/skills/business-analysis/locales/ja.json +54 -0
- package/dist/skills/business-analysis/locales/ko.json +54 -0
- package/dist/skills/business-analysis/locales/pt-BR.json +54 -0
- package/dist/skills/business-analysis/locales/pt.json +54 -0
- package/dist/skills/business-analysis/locales/ro.json +54 -0
- package/dist/skills/business-analysis/locales/tr.json +54 -0
- package/dist/skills/business-analysis/locales/zh-CN.json +54 -0
- package/dist/skills/business-analysis/locales/zh-TW.json +54 -0
- package/dist/skills/business-analysis/pdd-generation.md +204 -0
- package/dist/skills/business-analysis/pdd-template.md +562 -0
- package/dist/skills/business-analysis/progress-presentation.json +13 -0
- package/dist/skills/business-analysis/recording-first.md +19 -0
- package/dist/skills/business-analysis/recording-processing.md +152 -0
- package/dist/skills/business-analysis/references/automation-hub-open-api.md +57 -0
- package/dist/skills/business-analysis/references/case-definition-spec.md +90 -0
- package/dist/skills/business-analysis/references/case-design-patterns/loan-origination-spec.md +86 -0
- package/dist/skills/business-analysis/references/component-type-mapping.md +52 -0
- package/dist/skills/business-analysis/references/uipath-products/case-management-schema.md +62 -0
- package/dist/skills/business-analysis/references/uipath-products/maestro-case-framework.md +65 -0
- package/dist/skills/business-analysis/references/uipath-products/maestro-case-management.md +49 -0
- package/dist/skills/business-analysis/research-offer.md +104 -0
- package/dist/skills/business-analysis/research-pass.md +149 -0
- package/dist/skills/business-analysis/scripts/assemble-pdd.ps1 +294 -0
- package/dist/skills/business-analysis/scripts/assemble-pdd.sh +453 -0
- package/dist/skills/business-analysis/scripts/check-phase-ready.ps1 +72 -0
- package/dist/skills/business-analysis/scripts/check-phase-ready.sh +98 -0
- package/dist/skills/business-analysis/scripts/lint-diagram.ps1 +524 -0
- package/dist/skills/business-analysis/scripts/lint-diagram.sh +519 -0
- package/dist/skills/business-analysis/scripts/stamp-pages.ps1 +363 -0
- package/dist/skills/business-analysis/scripts/stamp-pages.sh +360 -0
- package/dist/skills/business-analysis/to-be-design.md +199 -0
- package/dist/skills/confluence/SKILL.md +386 -0
- package/dist/skills/doc-coauthoring/SKILL.md +295 -0
- package/dist/skills/excel-architect/SKILL.macos.md +161 -0
- package/dist/skills/excel-architect/SKILL.md +180 -0
- package/dist/skills/excel-architect/SKILL.windows.md +61 -0
- package/dist/skills/excel-architect/archetypes/01-financial-model-advanced.md +332 -0
- package/dist/skills/excel-architect/archetypes/01-financial-model.md +248 -0
- package/dist/skills/excel-architect/archetypes/02-data-analysis.md +171 -0
- package/dist/skills/excel-architect/archetypes/03-tracking-dashboard.md +160 -0
- package/dist/skills/excel-architect/archetypes/04-project-planning.md +193 -0
- package/dist/skills/excel-architect/archetypes/05-simple-table.md +111 -0
- package/dist/skills/excel-architect/building.md +279 -0
- package/dist/skills/excel-architect/create.md +64 -0
- package/dist/skills/excel-architect/data-and-formulas.md +186 -0
- package/dist/skills/excel-architect/generator.md +272 -0
- package/dist/skills/excel-architect/macos/scripts/add-data-validation.applescript +242 -0
- package/dist/skills/excel-architect/macos/scripts/append-rows.applescript +310 -0
- package/dist/skills/excel-architect/macos/scripts/apply-conditional-format.applescript +565 -0
- package/dist/skills/excel-architect/macos/scripts/autofit-columns.applescript +79 -0
- package/dist/skills/excel-architect/macos/scripts/benchmark.sh +135 -0
- package/dist/skills/excel-architect/macos/scripts/check-compile.sh +30 -0
- package/dist/skills/excel-architect/macos/scripts/clear-range.applescript +152 -0
- package/dist/skills/excel-architect/macos/scripts/copy-paste.applescript +179 -0
- package/dist/skills/excel-architect/macos/scripts/create-chart.applescript +531 -0
- package/dist/skills/excel-architect/macos/scripts/create-pivot.applescript +443 -0
- package/dist/skills/excel-architect/macos/scripts/create-sheets.applescript +264 -0
- package/dist/skills/excel-architect/macos/scripts/create-workbook.applescript +92 -0
- package/dist/skills/excel-architect/macos/scripts/delete-chart.applescript +105 -0
- package/dist/skills/excel-architect/macos/scripts/delete-sheet.applescript +127 -0
- package/dist/skills/excel-architect/macos/scripts/filter-data.applescript +213 -0
- package/dist/skills/excel-architect/macos/scripts/find-replace.applescript +238 -0
- package/dist/skills/excel-architect/macos/scripts/format-range.applescript +531 -0
- package/dist/skills/excel-architect/macos/scripts/freeze-panes.applescript +133 -0
- package/dist/skills/excel-architect/macos/scripts/get-current-file.applescript +24 -0
- package/dist/skills/excel-architect/macos/scripts/get-sheet-dimensions.applescript +115 -0
- package/dist/skills/excel-architect/macos/scripts/health-check.applescript +704 -0
- package/dist/skills/excel-architect/macos/scripts/list-open-workbooks.applescript +80 -0
- package/dist/skills/excel-architect/macos/scripts/maximize-window.applescript +47 -0
- package/dist/skills/excel-architect/macos/scripts/merge-cells.applescript +227 -0
- package/dist/skills/excel-architect/macos/scripts/open-workbook.applescript +139 -0
- package/dist/skills/excel-architect/macos/scripts/read-range.applescript +267 -0
- package/dist/skills/excel-architect/macos/scripts/rename-sheet.applescript +231 -0
- package/dist/skills/excel-architect/macos/scripts/select-sheet.applescript +133 -0
- package/dist/skills/excel-architect/macos/scripts/set-tab-color.applescript +109 -0
- package/dist/skills/excel-architect/macos/scripts/sort-data.applescript +136 -0
- package/dist/skills/excel-architect/macos/scripts/undo.applescript +59 -0
- package/dist/skills/excel-architect/macos/scripts/workbook-lifecycle.applescript +149 -0
- package/dist/skills/excel-architect/macos/scripts/write-formula.applescript +225 -0
- package/dist/skills/excel-architect/macos/scripts/write-range.applescript +351 -0
- package/dist/skills/excel-architect/reference/api/advanced.md +381 -0
- package/dist/skills/excel-architect/reference/api/basic.md +747 -0
- package/dist/skills/excel-architect/reference/guides.md +348 -0
- package/dist/skills/excel-architect/reference/repair.md +174 -0
- package/dist/skills/excel-architect/reference/troubleshooting.md +46 -0
- package/dist/skills/excel-architect/scripting.md +266 -0
- package/dist/skills/excel-architect/styling-and-features.md +433 -0
- package/dist/skills/excel-architect/windows/api/composites.md +337 -0
- package/dist/skills/excel-architect/windows/api/scripting.md +139 -0
- package/dist/skills/excel-architect/windows/examples/level-1-workflows.md +485 -0
- package/dist/skills/excel-architect/windows/examples/level-2-advanced.md +690 -0
- package/dist/skills/excel-architect/windows/examples/level-3-scripting.md +337 -0
- package/dist/skills/github/SKILL.md +446 -0
- package/dist/skills/github/recipes/add-comment.md +85 -0
- package/dist/skills/github/recipes/check-pr-status.md +122 -0
- package/dist/skills/github/recipes/compare-branches.md +79 -0
- package/dist/skills/github/recipes/create-issue.md +103 -0
- package/dist/skills/github/recipes/create-pr.md +97 -0
- package/dist/skills/github/recipes/get-file-contents.md +76 -0
- package/dist/skills/github/recipes/get-last-commit.md +128 -0
- package/dist/skills/github/recipes/list-my-open-prs.md +105 -0
- package/dist/skills/github/recipes/list-recent-commits.md +84 -0
- package/dist/skills/github/recipes/search-issues.md +115 -0
- package/dist/skills/google-workspace/SKILL.md +217 -0
- package/dist/skills/google-workspace/services/calendar.md +311 -0
- package/dist/skills/google-workspace/services/docs.md +426 -0
- package/dist/skills/google-workspace/services/drive.md +504 -0
- package/dist/skills/google-workspace/services/gmail.md +466 -0
- package/dist/skills/google-workspace/services/sheets.md +370 -0
- package/dist/skills/internal-comms/SKILL.md +35 -0
- package/dist/skills/internal-comms/examples/3p-updates.md +47 -0
- package/dist/skills/internal-comms/examples/company-newsletter.md +65 -0
- package/dist/skills/internal-comms/examples/faq-answers.md +30 -0
- package/dist/skills/internal-comms/examples/general-comms.md +15 -0
- package/dist/skills/jira/SKILL.md +397 -0
- package/dist/skills/jira/recipes/add-comment.md +123 -0
- package/dist/skills/jira/recipes/assign-issue.md +157 -0
- package/dist/skills/jira/recipes/create-issue.md +274 -0
- package/dist/skills/jira/recipes/get-issue-details.md +154 -0
- package/dist/skills/jira/recipes/list-projects.md +151 -0
- package/dist/skills/jira/recipes/my-issues.md +180 -0
- package/dist/skills/jira/recipes/search-issues.md +215 -0
- package/dist/skills/jira/recipes/transition-issue.md +154 -0
- package/dist/skills/jira/recipes/troubleshooting.md +387 -0
- package/dist/skills/knowledge-base/SKILL.md +289 -0
- package/dist/skills/media-tools/SKILL.md +204 -0
- package/dist/skills/media-tools/references/encode-runbook.md +24 -0
- package/dist/skills/media-tools/references/resolve-binaries.md +81 -0
- package/dist/skills/media-tools/scripts/macos/ff-launch.sh +22 -0
- package/dist/skills/media-tools/scripts/macos/ff-poll.sh +10 -0
- package/dist/skills/media-tools/scripts/windows/ff-launch.ps1 +34 -0
- package/dist/skills/media-tools/scripts/windows/ff-poll.ps1 +20 -0
- package/dist/skills/office-download/SKILL.md +161 -0
- package/dist/skills/outlook-365/SKILL.macos.md +331 -0
- package/dist/skills/outlook-365/SKILL.md +171 -0
- package/dist/skills/outlook-365/SKILL.windows.md +124 -0
- package/dist/skills/outlook-365/api/bulk-email-operations.md +178 -0
- package/dist/skills/outlook-365/api/check-availability.md +87 -0
- package/dist/skills/outlook-365/api/create-inbox-rule.md +182 -0
- package/dist/skills/outlook-365/api/download-attachments.md +149 -0
- package/dist/skills/outlook-365/api/find-and-email-contact.md +185 -0
- package/dist/skills/outlook-365/api/manage-calendar-events.md +189 -0
- package/dist/skills/outlook-365/api/organize-with-folders.md +178 -0
- package/dist/skills/outlook-365/api/reply-to-conversation.md +68 -0
- package/dist/skills/outlook-365/api/schedule-meeting.md +73 -0
- package/dist/skills/outlook-365/api/search-and-read-email.md +93 -0
- package/dist/skills/outlook-365/api/send-email-with-attachments.md +94 -0
- package/dist/skills/outlook-365/api/send-email.md +396 -0
- package/dist/skills/outlook-365/api/set-out-of-office.md +196 -0
- package/dist/skills/outlook-365/macos/scripts/bulk-operations.applescript +429 -0
- package/dist/skills/outlook-365/macos/scripts/calendar.applescript +642 -0
- package/dist/skills/outlook-365/macos/scripts/contacts.applescript +635 -0
- package/dist/skills/outlook-365/macos/scripts/helpers.applescript +227 -0
- package/dist/skills/outlook-365/macos/scripts/read-emails.applescript +299 -0
- package/dist/skills/outlook-365/macos/scripts/search-emails.applescript +339 -0
- package/dist/skills/outlook-365/macos/scripts/send-email.applescript +245 -0
- package/dist/skills/outlook-365/uia/BASIC_OPERATIONS.md +278 -0
- package/dist/skills/outlook-365/uia/CALENDAR_OPERATIONS.md +386 -0
- package/dist/skills/outlook-365/uia/COMPOSE_EMAIL.md +426 -0
- package/dist/skills/outlook-365/uia/README.md +75 -0
- package/dist/skills/outlook-365/windows/com/bulk-operations.ps1 +241 -0
- package/dist/skills/outlook-365/windows/com/calendar.ps1 +227 -0
- package/dist/skills/outlook-365/windows/com/contacts.ps1 +270 -0
- package/dist/skills/outlook-365/windows/com/helpers.ps1 +158 -0
- package/dist/skills/outlook-365/windows/com/read-emails.ps1 +115 -0
- package/dist/skills/outlook-365/windows/com/search-emails.ps1 +141 -0
- package/dist/skills/outlook-365/windows/com/send-email.ps1 +121 -0
- package/dist/skills/pdf-architect/SKILL.md +640 -0
- package/dist/skills/powerpoint-architect/SKILL.macos.md +271 -0
- package/dist/skills/powerpoint-architect/SKILL.md +853 -0
- package/dist/skills/powerpoint-architect/SKILL.windows.md +458 -0
- package/dist/skills/powerpoint-architect/custom_themes.md +141 -0
- package/dist/skills/powerpoint-architect/editing-guide.md +424 -0
- package/dist/skills/powerpoint-architect/generator-reference.md +668 -0
- package/dist/skills/powerpoint-architect/images-guide.md +207 -0
- package/dist/skills/powerpoint-architect/issue-fix-mapping.md +768 -0
- package/dist/skills/powerpoint-architect/macos/scripts/add-html-to-slide.applescript +389 -0
- package/dist/skills/powerpoint-architect/macos/scripts/add-slide.applescript +255 -0
- package/dist/skills/powerpoint-architect/macos/scripts/add-speaker-notes.applescript +132 -0
- package/dist/skills/powerpoint-architect/macos/scripts/add-text.applescript +245 -0
- package/dist/skills/powerpoint-architect/macos/scripts/apply-slide-layout.applescript +80 -0
- package/dist/skills/powerpoint-architect/macos/scripts/apply-theme.applescript +122 -0
- package/dist/skills/powerpoint-architect/macos/scripts/autofit-placeholders.applescript +62 -0
- package/dist/skills/powerpoint-architect/macos/scripts/close-presentation.applescript +24 -0
- package/dist/skills/powerpoint-architect/macos/scripts/copy-slides.applescript +303 -0
- package/dist/skills/powerpoint-architect/macos/scripts/create-chart-with-data.applescript +305 -0
- package/dist/skills/powerpoint-architect/macos/scripts/create-with-theme.applescript +56 -0
- package/dist/skills/powerpoint-architect/macos/scripts/delete-slides.applescript +137 -0
- package/dist/skills/powerpoint-architect/macos/scripts/export-presentation.applescript +100 -0
- package/dist/skills/powerpoint-architect/macos/scripts/extract-slide-data.applescript +138 -0
- package/dist/skills/powerpoint-architect/macos/scripts/format-shape.applescript +192 -0
- package/dist/skills/powerpoint-architect/macos/scripts/format-slide-content.applescript +336 -0
- package/dist/skills/powerpoint-architect/macos/scripts/get-current-slide-number.applescript +38 -0
- package/dist/skills/powerpoint-architect/macos/scripts/get-file-path.applescript +94 -0
- package/dist/skills/powerpoint-architect/macos/scripts/get-layout-elements.applescript +141 -0
- package/dist/skills/powerpoint-architect/macos/scripts/get-layouts.applescript +58 -0
- package/dist/skills/powerpoint-architect/macos/scripts/get-opened-files.applescript +50 -0
- package/dist/skills/powerpoint-architect/macos/scripts/get-presentation-info.applescript +150 -0
- package/dist/skills/powerpoint-architect/macos/scripts/get-recent-files.applescript +68 -0
- package/dist/skills/powerpoint-architect/macos/scripts/get-slide-count.applescript +37 -0
- package/dist/skills/powerpoint-architect/macos/scripts/get-slide-info.applescript +105 -0
- package/dist/skills/powerpoint-architect/macos/scripts/health-check.applescript +690 -0
- package/dist/skills/powerpoint-architect/macos/scripts/insert-shape.applescript +188 -0
- package/dist/skills/powerpoint-architect/macos/scripts/insert-table.applescript +112 -0
- package/dist/skills/powerpoint-architect/macos/scripts/insert-text-box.applescript +225 -0
- package/dist/skills/powerpoint-architect/macos/scripts/manage-image.applescript +486 -0
- package/dist/skills/powerpoint-architect/macos/scripts/maximize-window.applescript +48 -0
- package/dist/skills/powerpoint-architect/macos/scripts/navigate-to-slide.applescript +84 -0
- package/dist/skills/powerpoint-architect/macos/scripts/open-presentation.applescript +38 -0
- package/dist/skills/powerpoint-architect/macos/scripts/reorder-slides.applescript +106 -0
- package/dist/skills/powerpoint-architect/macos/scripts/replace-text.applescript +193 -0
- package/dist/skills/powerpoint-architect/macos/scripts/save-presentation.applescript +54 -0
- package/dist/skills/powerpoint-architect/macos/scripts/set-animation.applescript +203 -0
- package/dist/skills/powerpoint-architect/macos/scripts/set-transition.applescript +130 -0
- package/dist/skills/powerpoint-architect/visual-styling-guide.md +206 -0
- package/dist/skills/powerpoint-architect/windows/api/advanced.md +317 -0
- package/dist/skills/powerpoint-architect/windows/api/basic.md +392 -0
- package/dist/skills/powerpoint-architect/windows/examples/10-slide-presentation.md +140 -0
- package/dist/skills/powerpoint-architect/windows/examples/custom-theme-workflow.md +219 -0
- package/dist/skills/powerpoint-architect/windows/examples/level-1-workflows.md +531 -0
- package/dist/skills/powerpoint-architect/windows/examples/level-2-scripting.md +239 -0
- package/dist/skills/powerpoint-architect/windows/scripts/create-with-theme.ps1 +81 -0
- package/dist/skills/project-task-list/SKILL.md +174 -0
- package/dist/skills/slack-operation/SKILL.md +97 -0
- package/dist/skills/slack-operation/api/advanced-api/GUIDE.md +277 -0
- package/dist/skills/slack-operation/api/search-and-read/EXAMPLE.md +75 -0
- package/dist/skills/slack-operation/api/search-and-read/GUIDE.md +108 -0
- package/dist/skills/slack-operation/api/send-message/EXAMPLE.md +112 -0
- package/dist/skills/slack-operation/api/send-message/GUIDE.md +63 -0
- package/dist/skills/slack-operation/api/share-files/EXAMPLE.md +94 -0
- package/dist/skills/slack-operation/api/share-files/GUIDE.md +63 -0
- package/dist/skills/slack-operation/ui/desktop-automation/GUIDE.md +55 -0
- package/dist/skills/system-diagnostics/SKILL.md +263 -0
- package/dist/skills/teams-operation/SKILL.md +79 -0
- package/dist/skills/teams-operation/api/advanced-api/GUIDE.md +234 -0
- package/dist/skills/teams-operation/api/meetings/EXAMPLE.md +63 -0
- package/dist/skills/teams-operation/api/meetings/GUIDE.md +52 -0
- package/dist/skills/teams-operation/api/search-and-read/EXAMPLE.md +72 -0
- package/dist/skills/teams-operation/api/search-and-read/GUIDE.md +54 -0
- package/dist/skills/teams-operation/api/send-message/EXAMPLE.md +92 -0
- package/dist/skills/teams-operation/api/send-message/GUIDE.md +60 -0
- package/dist/skills/teams-operation/ui/desktop-automation/GUIDE.md +66 -0
- package/dist/skills/transcribe-media/SKILL.md +142 -0
- package/dist/skills/uipath-integrations/SKILL.md +370 -0
- package/dist/skills/uipath-integrations/reference/connectors.md +331 -0
- package/dist/skills/uipath-integrations/reference/endpoints.md +220 -0
- package/dist/skills/uipath-integrations/reference/errors.md +211 -0
- package/dist/skills/uipath-integrations/reference/metadata.md +317 -0
- package/dist/skills/uipath-integrations/reference/operations.md +297 -0
- package/dist/skills/uipath-orchestrator/SKILL.md +312 -0
- package/dist/skills/uipath-orchestrator/recipes/assets.md +282 -0
- package/dist/skills/uipath-orchestrator/recipes/audit-logs.md +215 -0
- package/dist/skills/uipath-orchestrator/recipes/buckets.md +205 -0
- package/dist/skills/uipath-orchestrator/recipes/jobs.md +286 -0
- package/dist/skills/uipath-orchestrator/recipes/list-folders.md +207 -0
- package/dist/skills/uipath-orchestrator/recipes/queue-items.md +292 -0
- package/dist/skills/uipath-orchestrator/recipes/queues.md +232 -0
- package/dist/skills/uipath-orchestrator/recipes/releases.md +212 -0
- package/dist/skills/uipath-orchestrator/recipes/robots-sessions.md +274 -0
- package/dist/skills/uipath-orchestrator/recipes/schedules.md +280 -0
- package/dist/skills/uipath-orchestrator/reference/endpoints.md +85 -0
- package/dist/skills/uipath-orchestrator/reference/schemas.md +153 -0
- package/dist/skills/uipath-taskautomation/SKILL.md +310 -0
- package/dist/skills/uipath-taskautomation/assets/CodedWorkflow.template.cs +98 -0
- package/dist/skills/uipath-taskautomation/assets/ExampleWorkflow.cs +146 -0
- package/dist/skills/uipath-taskautomation/references/action-activity-map.json +32 -0
- package/dist/skills/uipath-taskautomation/references/action-activity-map.md +44 -0
- package/dist/skills/uipath-taskautomation/references/app-profiles.md +63 -0
- package/dist/skills/uipath-taskautomation/references/automation-spec.md +88 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/assets/before-after-hooks-template.md +115 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/assets/codedworkflow-template.md +186 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/assets/helper-utility-template.md +22 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/assets/json-template.md +91 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/assets/testcase-template.md +92 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/cli-reference.md +249 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/coded/codedworkflow-reference.md +275 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/coded/coding-guidelines.md +229 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/coded/inspect-package-guide.md +81 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/coded/integration-service-guide.md +507 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/coded/operations-guide.md +410 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/coded/third-party-packages-guide.md +67 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/data-manipulation-guide.md +110 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/environment-setup.md +194 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/error-handling-guide.md +195 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/powershell-interop-guide.md +57 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/project-structure-guide.md +114 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/project-structure.md +126 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/uia-elements-interaction-guide.md +109 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/validation-guide.md +147 -0
- package/dist/skills/uipath-taskautomation/references/coded-workflow-authoring.md +219 -0
- package/dist/skills/uipath-taskautomation/references/profiling-output.md +80 -0
- package/dist/skills/uipath-taskautomation/references/reliability-guide.md +83 -0
- package/dist/skills/uipath-taskautomation/references/task-automation-cheatsheet.md +272 -0
- package/dist/skills/uipath-taskautomation/references/template-preflight.md +17 -0
- package/dist/skills/uipath-workflow-documenter/SKILL.md +430 -0
- package/dist/skills/uipath-workflow-documenter/layouts/pdd-template.md +265 -0
- package/dist/skills/uipath-workflow-documenter/routines/from-orchestrator.md +11 -0
- package/dist/skills/uipath-workflow-documenter/routines/from-workflow.md +11 -0
- package/dist/skills/word-architect/SKILL.macos.md +147 -0
- package/dist/skills/word-architect/SKILL.md +502 -0
- package/dist/skills/word-architect/SKILL.windows.md +55 -0
- package/dist/skills/word-architect/api/advanced.md +522 -0
- package/dist/skills/word-architect/api/basic.md +378 -0
- package/dist/skills/word-architect/api/expert.md +302 -0
- package/dist/skills/word-architect/generation.md +308 -0
- package/dist/skills/word-architect/layouts/01-professional.md +168 -0
- package/dist/skills/word-architect/layouts/02-educational-kids.md +354 -0
- package/dist/skills/word-architect/layouts/03-academic.md +83 -0
- package/dist/skills/word-architect/layouts/04-creative.md +242 -0
- package/dist/skills/word-architect/layouts/05-operational.md +94 -0
- package/dist/skills/word-architect/macos/scripts/apply-heading-style.applescript +215 -0
- package/dist/skills/word-architect/macos/scripts/apply-style.applescript +272 -0
- package/dist/skills/word-architect/macos/scripts/autofit-tables.applescript +53 -0
- package/dist/skills/word-architect/macos/scripts/close-document.applescript +287 -0
- package/dist/skills/word-architect/macos/scripts/create-chart-with-data.applescript +379 -0
- package/dist/skills/word-architect/macos/scripts/create-chart.applescript +191 -0
- package/dist/skills/word-architect/macos/scripts/delete-selection.applescript +223 -0
- package/dist/skills/word-architect/macos/scripts/export-document.applescript +167 -0
- package/dist/skills/word-architect/macos/scripts/extract-table.applescript +168 -0
- package/dist/skills/word-architect/macos/scripts/find-by-style.applescript +173 -0
- package/dist/skills/word-architect/macos/scripts/find-text.applescript +199 -0
- package/dist/skills/word-architect/macos/scripts/format-table.applescript +234 -0
- package/dist/skills/word-architect/macos/scripts/format-text.applescript +431 -0
- package/dist/skills/word-architect/macos/scripts/get-document-properties.applescript +95 -0
- package/dist/skills/word-architect/macos/scripts/get-document-structure.applescript +371 -0
- package/dist/skills/word-architect/macos/scripts/get-header-footer-text.applescript +106 -0
- package/dist/skills/word-architect/macos/scripts/get-images.applescript +166 -0
- package/dist/skills/word-architect/macos/scripts/get-opened-files.applescript +103 -0
- package/dist/skills/word-architect/macos/scripts/get-paragraph-bounds.applescript +133 -0
- package/dist/skills/word-architect/macos/scripts/get-paragraph-format.applescript +134 -0
- package/dist/skills/word-architect/macos/scripts/get-recent-files.applescript +82 -0
- package/dist/skills/word-architect/macos/scripts/get-styled-text.applescript +256 -0
- package/dist/skills/word-architect/macos/scripts/get-tables.applescript +126 -0
- package/dist/skills/word-architect/macos/scripts/get-text-formatting.applescript +224 -0
- package/dist/skills/word-architect/macos/scripts/get-text.applescript +383 -0
- package/dist/skills/word-architect/macos/scripts/get-theme-colors.applescript +123 -0
- package/dist/skills/word-architect/macos/scripts/health-check.applescript +606 -0
- package/dist/skills/word-architect/macos/scripts/insert-cover-page.applescript +77 -0
- package/dist/skills/word-architect/macos/scripts/insert-header-footer.applescript +87 -0
- package/dist/skills/word-architect/macos/scripts/insert-horizontal-line.applescript +112 -0
- package/dist/skills/word-architect/macos/scripts/insert-html.applescript +440 -0
- package/dist/skills/word-architect/macos/scripts/insert-hyperlink.applescript +191 -0
- package/dist/skills/word-architect/macos/scripts/insert-image.applescript +320 -0
- package/dist/skills/word-architect/macos/scripts/insert-list.applescript +317 -0
- package/dist/skills/word-architect/macos/scripts/insert-pagebreak.applescript +181 -0
- package/dist/skills/word-architect/macos/scripts/insert-smartart.applescript +104 -0
- package/dist/skills/word-architect/macos/scripts/insert-table.applescript +238 -0
- package/dist/skills/word-architect/macos/scripts/insert-text.applescript +677 -0
- package/dist/skills/word-architect/macos/scripts/insert-textbox.applescript +261 -0
- package/dist/skills/word-architect/macos/scripts/maximize-window.applescript +67 -0
- package/dist/skills/word-architect/macos/scripts/normalize-formatting.applescript +56 -0
- package/dist/skills/word-architect/macos/scripts/open-document.applescript +222 -0
- package/dist/skills/word-architect/macos/scripts/replace-text.applescript +390 -0
- package/dist/skills/word-architect/macos/scripts/save-document.applescript +230 -0
- package/dist/skills/word-architect/macos/scripts/select-range.applescript +142 -0
- package/dist/skills/word-architect/macos/scripts/set-document-properties.applescript +195 -0
- package/dist/skills/word-architect/macos/scripts/set-page-layout.applescript +273 -0
- package/dist/skills/word-architect/macos/scripts/set-theme-colors.applescript +264 -0
- package/dist/skills/word-architect/macos/scripts/undo-redo.applescript +61 -0
- package/dist/skills/word-architect/macos/scripts/update-toc.applescript +112 -0
- package/dist/skills/word-architect/reference/formatting.md +119 -0
- package/dist/skills/word-architect/reference/html-layouts/01-executive-summary-box.md +36 -0
- package/dist/skills/word-architect/reference/html-layouts/02-kpi-summary-table.md +68 -0
- package/dist/skills/word-architect/reference/html-layouts/03-comparison-table.md +63 -0
- package/dist/skills/word-architect/reference/html-layouts/04-pros-cons-table.md +86 -0
- package/dist/skills/word-architect/reference/html-layouts/05-timeline-table.md +114 -0
- package/dist/skills/word-architect/reference/html-layouts/06-raci-matrix.md +95 -0
- package/dist/skills/word-architect/reference/html-layouts/07-data-table-alternating.md +84 -0
- package/dist/skills/word-architect/reference/html-layouts/08-callout-box.md +102 -0
- package/dist/skills/word-architect/reference/html-layouts/09-vertical-milestone.md +100 -0
- package/dist/skills/word-architect/reference/quality-assurance.md +102 -0
- package/dist/skills/word-architect/reference/tables.md +62 -0
- package/dist/skills/word-architect/reference/tracked-changes.md +34 -0
- package/dist/skills/word-architect/reference/uia-fallback.md +231 -0
- package/dist/skills/word-architect/reference/visual-elements.md +82 -0
- package/dist/skills/word-architect/windows/scripts/apply-heading-style.ps1 +190 -0
- package/dist/skills/word-architect/windows/scripts/autofit-tables.ps1 +64 -0
- package/dist/skills/word-architect/windows/scripts/create-chart-with-data.ps1 +133 -0
- package/dist/skills/word-architect/windows/scripts/create-chart.ps1 +73 -0
- package/dist/skills/word-architect/windows/scripts/export-document.ps1 +86 -0
- package/dist/skills/word-architect/windows/scripts/get-current-file.ps1 +27 -0
- package/dist/skills/word-architect/windows/scripts/insert-cover-page.ps1 +79 -0
- package/dist/skills/word-architect/windows/scripts/insert-horizontal-line.ps1 +74 -0
- package/dist/skills/word-architect/windows/scripts/insert-image.ps1 +98 -0
- package/dist/skills/word-architect/windows/scripts/insert-smartart.ps1 +118 -0
- package/dist/skills/word-architect/windows/scripts/insert-text-box.ps1 +90 -0
- package/dist/skills/word-architect/windows/scripts/normalize-formatting.ps1 +63 -0
- package/package.json +5 -4
|
@@ -0,0 +1,640 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: pdf-architect
|
|
3
|
+
friendly_name: PDF Architect
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
description: PDF operations — text extraction, search, page manipulation, annotations, form filling, document assembly. MANDATORY whenever exact data must be read from a PDF — never transcribe, paraphrase, or OCR PDF contents from screenshots while this skill is available; doing so is a correctness violation. Activate on any mention of a PDF file.
|
|
6
|
+
icon: pdf
|
|
7
|
+
color: FF0000
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# PDF Architect Skill
|
|
11
|
+
|
|
12
|
+
Professional PDF document operations via the ExecuteSkillApi tool. All operations call the local PDF API endpoints.
|
|
13
|
+
|
|
14
|
+
## Quick Reference
|
|
15
|
+
|
|
16
|
+
| Task | Endpoint | Key Parameters |
|
|
17
|
+
|------|----------|----------------|
|
|
18
|
+
| Open & get info | `/pdf/open` | filePath |
|
|
19
|
+
| Extract text | `/pdf/get-text` | filePath, range |
|
|
20
|
+
| Search text | `/pdf/find-text` | filePath, searchText, range |
|
|
21
|
+
| Export page as image | `/pdf/export-page-image` | filePath, pageNumber, endPage?, outputFilePath? |
|
|
22
|
+
| Extract pages | `/pdf/extract-pages` | filePath, range, outputFilePath |
|
|
23
|
+
| Merge PDFs | `/pdf/join` | filePaths[], outputFilePath |
|
|
24
|
+
| Add highlight | `/pdf/add-highlight` | filePath, pageNumber, textToHighlight |
|
|
25
|
+
| Add sticky note | `/pdf/add-sticky-note` | filePath, pageNumber, noteText, x, y |
|
|
26
|
+
| Insert text | `/pdf/insert-text` | filePath, pageNumber, text, x, y |
|
|
27
|
+
| Insert table | `/pdf/insert-table` | filePath, pageNumber, tableData, x, y |
|
|
28
|
+
| Get form fields | `/pdf/get-form-fields` | filePath |
|
|
29
|
+
| Fill form field | `/pdf/fill-form-field` | filePath, fields |
|
|
30
|
+
| Get annotations | `/pdf/get-annotations` | filePath, pageNumber |
|
|
31
|
+
| Remove annotation | `/pdf/remove-annotation` | filePath, pageNumber, annotationIndex |
|
|
32
|
+
| Extract images | `/pdf/extract-images` | filePath, pageNumber, outputFolder |
|
|
33
|
+
| Rotate pages | `/pdf/rotate-pages` | filePath, angle, pages[] |
|
|
34
|
+
| Delete pages | `/pdf/delete-pages` | filePath, pages[] |
|
|
35
|
+
| Reorder pages | `/pdf/reorder-pages` | filePath, pageOrder[] |
|
|
36
|
+
| Get page info | `/pdf/get-page-info` | filePath, pageNumber |
|
|
37
|
+
| Set password | `/pdf/set-password` | filePath, ownerPassword |
|
|
38
|
+
| Remove password | `/pdf/remove-password` | filePath, password |
|
|
39
|
+
| Compress PDF | `/pdf/compress` | filePath |
|
|
40
|
+
|
|
41
|
+
### Encrypted PDF Mutations
|
|
42
|
+
|
|
43
|
+
In-place mutations (insert, annotation, form-fill, page-edit, compress) keep the
|
|
44
|
+
source's protection, permission flags, and encryption algorithm — the API never
|
|
45
|
+
swaps the reader password for the owner password, and never changes the
|
|
46
|
+
encryption scheme. `/pdf/extract-pages` and `/pdf/join` are the exception: they
|
|
47
|
+
build new documents that do NOT inherit source encryption. Warn the user before
|
|
48
|
+
extracting or joining pages from a confidential encrypted PDF.
|
|
49
|
+
|
|
50
|
+
For encrypted in-place mutations, add to the body:
|
|
51
|
+
|
|
52
|
+
- `password`: the owner password, required to authorize the edit.
|
|
53
|
+
- `originalUserPassword`: the reader/user password. Omit it — the API recovers
|
|
54
|
+
it from the owner password. Add it only when the document is AES-256
|
|
55
|
+
(PDF 2.0) with a reader password that differs from the owner password (not
|
|
56
|
+
recoverable otherwise). A guessed value fails an edit that would have
|
|
57
|
+
succeeded without it.
|
|
58
|
+
|
|
59
|
+
Omit both for unencrypted inputs.
|
|
60
|
+
|
|
61
|
+
`/pdf/fill-form-field` is the exception to `password` = owner password: pass
|
|
62
|
+
the reader/open password instead (omit it when the PDF opens without one).
|
|
63
|
+
Fall back to the owner password only if the reader password is rejected.
|
|
64
|
+
|
|
65
|
+
Every other encrypted mutation needs `password` = owner password; so do fills
|
|
66
|
+
the reader credential can't satisfy. These write no output and fail with:
|
|
67
|
+
|
|
68
|
+
- `PDF_PASSWORD_REQUIRED` → permissions forbid the edit, or the owner password
|
|
69
|
+
is missing or wrong.
|
|
70
|
+
- `PDF_UNSUPPORTED_FEATURE` → message contains "unsupported"/"not supported".
|
|
71
|
+
Usually means protection can't be preserved without the owner credential —
|
|
72
|
+
ask for it (fill-form-field on an AES document, above, is the fixable common
|
|
73
|
+
case). Also covers certificate-based (non-Standard) security handlers and
|
|
74
|
+
crypt-filter mixes, which fail even with the owner password already
|
|
75
|
+
supplied — no password fixes those. Tell the user the PDF uses an
|
|
76
|
+
unsupported security mechanism instead of asking for another password.
|
|
77
|
+
|
|
78
|
+
## Coordinate System
|
|
79
|
+
|
|
80
|
+
**CRITICAL: PDF uses TOP-LEFT origin**
|
|
81
|
+
- X: 0 = left edge, increases rightward
|
|
82
|
+
- Y: 0 = TOP edge, increases DOWNWARD
|
|
83
|
+
- Units: Points (1 point = 1/72 inch)
|
|
84
|
+
- Standard US Letter: 612 x 792 points
|
|
85
|
+
|
|
86
|
+
```
|
|
87
|
+
(0,0) ────────────────► X (612)
|
|
88
|
+
│
|
|
89
|
+
│ TOP-LEFT ORIGIN
|
|
90
|
+
│
|
|
91
|
+
▼
|
|
92
|
+
Y (792)
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
## API Endpoints
|
|
96
|
+
|
|
97
|
+
### Open PDF
|
|
98
|
+
Get PDF metadata (page count, title, etc.) and optionally open the file in the default viewer.
|
|
99
|
+
|
|
100
|
+
```
|
|
101
|
+
ExecuteSkillApi:
|
|
102
|
+
endpoint: "/pdf/open"
|
|
103
|
+
body: {
|
|
104
|
+
"filePath": "C:\\docs\\report.pdf",
|
|
105
|
+
"password": "optional-password"
|
|
106
|
+
}
|
|
107
|
+
toolName: "Open PDF"
|
|
108
|
+
description: "Opening PDF document"
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
Add `"openInViewer": true` to that body only when the user asked to see the PDF.
|
|
112
|
+
|
|
113
|
+
**Pass `openInViewer: true` only when the user asked to see the PDF**, in words like "open it" or "show me" — it launches the default viewer, which takes focus. Omit it to read metadata only.
|
|
114
|
+
|
|
115
|
+
### Extract Text
|
|
116
|
+
Extract text from PDF pages.
|
|
117
|
+
|
|
118
|
+
```
|
|
119
|
+
ExecuteSkillApi:
|
|
120
|
+
endpoint: "/pdf/get-text"
|
|
121
|
+
body: {
|
|
122
|
+
"filePath": "C:\\docs\\report.pdf",
|
|
123
|
+
"range": "1-5",
|
|
124
|
+
"preserveFormatting": false,
|
|
125
|
+
"password": "optional"
|
|
126
|
+
}
|
|
127
|
+
toolName: "Extract PDF Text"
|
|
128
|
+
description: "Extracting text from pages 1-5"
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
**Parameters:**
|
|
132
|
+
|
|
133
|
+
- `range` (required): Page range to extract. Formats: "All", "1-5", "2,4,6", "5-END", "1,3,5-10". Maximum 20 pages per request.
|
|
134
|
+
- `preserveFormatting`: Preserve layout/whitespace in the extracted text (default: false).
|
|
135
|
+
|
|
136
|
+
### Search Text
|
|
137
|
+
Find text occurrences in PDF.
|
|
138
|
+
|
|
139
|
+
```
|
|
140
|
+
ExecuteSkillApi:
|
|
141
|
+
endpoint: "/pdf/find-text"
|
|
142
|
+
body: {
|
|
143
|
+
"filePath": "C:\\docs\\report.pdf",
|
|
144
|
+
"searchText": "revenue",
|
|
145
|
+
"range": "All",
|
|
146
|
+
"caseSensitive": false,
|
|
147
|
+
"maxResults": 10,
|
|
148
|
+
"password": "optional"
|
|
149
|
+
}
|
|
150
|
+
toolName: "Search PDF"
|
|
151
|
+
description: "Searching for 'revenue' in PDF"
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
**Parameters:**
|
|
155
|
+
- `range`: Page range to search (default: "All"). Formats: "All", "1-5", "2,4,6", "5-END"
|
|
156
|
+
|
|
157
|
+
### Export Page as Image
|
|
158
|
+
Export one page, or a contiguous range of pages, as PNG images.
|
|
159
|
+
|
|
160
|
+
Single page, saved to disk:
|
|
161
|
+
|
|
162
|
+
```
|
|
163
|
+
ExecuteSkillApi:
|
|
164
|
+
endpoint: "/pdf/export-page-image"
|
|
165
|
+
body: {
|
|
166
|
+
"filePath": "C:\\docs\\report.pdf",
|
|
167
|
+
"pageNumber": 1,
|
|
168
|
+
"outputFilePath": "C:\\docs\\page1.png",
|
|
169
|
+
"password": "optional"
|
|
170
|
+
}
|
|
171
|
+
toolName: "Export Page Image"
|
|
172
|
+
description: "Exporting page 1 as image"
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
Page range, returned as attachments (omit `outputFilePath`):
|
|
176
|
+
|
|
177
|
+
```
|
|
178
|
+
ExecuteSkillApi:
|
|
179
|
+
endpoint: "/pdf/export-page-image"
|
|
180
|
+
body: {
|
|
181
|
+
"filePath": "C:\\docs\\report.pdf",
|
|
182
|
+
"pageNumber": 1,
|
|
183
|
+
"endPage": 3,
|
|
184
|
+
"password": "optional"
|
|
185
|
+
}
|
|
186
|
+
toolName: "Export Page Image"
|
|
187
|
+
description: "Exporting pages 1-3 as images"
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
- `pageNumber` (required): first page to export.
|
|
191
|
+
- `endPage` (optional): last page (inclusive). Omit for single-page export.
|
|
192
|
+
- `outputFilePath` (optional): single-page only. If set with `endPage`, the call is rejected. Omit to return images as attachments.
|
|
193
|
+
|
|
194
|
+
### Extract Pages
|
|
195
|
+
Extract page range to new PDF.
|
|
196
|
+
|
|
197
|
+
```
|
|
198
|
+
ExecuteSkillApi:
|
|
199
|
+
endpoint: "/pdf/extract-pages"
|
|
200
|
+
body: {
|
|
201
|
+
"filePath": "C:\\docs\\report.pdf",
|
|
202
|
+
"range": "1-5",
|
|
203
|
+
"outputFilePath": "C:\\docs\\first5.pdf",
|
|
204
|
+
"password": "optional"
|
|
205
|
+
}
|
|
206
|
+
toolName: "Extract Pages"
|
|
207
|
+
description: "Extracting pages 1-5 to new PDF"
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
**Parameters:**
|
|
211
|
+
|
|
212
|
+
- `range` (required): Page range to extract. Formats: "All", "1-5", "2,4,6", "5-END", "1,3,5-10".
|
|
213
|
+
- `outputFilePath` (required): Path to save the extracted pages as a new PDF.
|
|
214
|
+
|
|
215
|
+
### Join PDFs
|
|
216
|
+
Merge multiple PDFs into one.
|
|
217
|
+
|
|
218
|
+
```
|
|
219
|
+
ExecuteSkillApi:
|
|
220
|
+
endpoint: "/pdf/join"
|
|
221
|
+
body: {
|
|
222
|
+
"filePaths": ["C:\\q1.pdf", "C:\\q2.pdf", "C:\\q3.pdf"],
|
|
223
|
+
"outputFilePath": "C:\\annual.pdf"
|
|
224
|
+
}
|
|
225
|
+
toolName: "Merge PDFs"
|
|
226
|
+
description: "Merging 3 PDFs into annual report"
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
### Add Highlight
|
|
230
|
+
Highlight text in PDF.
|
|
231
|
+
|
|
232
|
+
```
|
|
233
|
+
ExecuteSkillApi:
|
|
234
|
+
endpoint: "/pdf/add-highlight"
|
|
235
|
+
body: {
|
|
236
|
+
"filePath": "C:\\docs\\report.pdf",
|
|
237
|
+
"pageNumber": 1,
|
|
238
|
+
"textToHighlight": "Important text",
|
|
239
|
+
"colorHex": "#FFFF00",
|
|
240
|
+
"occurrence": 1,
|
|
241
|
+
"totalOccurrences": 1,
|
|
242
|
+
"outputFilePath": "C:\\docs\\report_highlighted.pdf"
|
|
243
|
+
}
|
|
244
|
+
toolName: "Add Highlight"
|
|
245
|
+
description: "Highlighting 'Important text' on page 1"
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
**Parameters:**
|
|
249
|
+
|
|
250
|
+
- `colorHex`: Highlight color (default: "#FFFF00" yellow)
|
|
251
|
+
- `occurrence`: Which occurrence to highlight, 1-based (default: 1)
|
|
252
|
+
- `totalOccurrences`: Expected total occurrences for validation (default: 1). If actual count differs, returns error with actual count.
|
|
253
|
+
- `outputFilePath`: Path to save modified PDF. If omitted, overwrites original.
|
|
254
|
+
|
|
255
|
+
**Important:** Highlights are drawn directly on the page canvas (not as annotations) to ensure they appear in exported images. They will NOT be returned by `/pdf/get-annotations` and cannot be removed with `/pdf/remove-annotation`.
|
|
256
|
+
|
|
257
|
+
### Add Sticky Note
|
|
258
|
+
Add annotation note to PDF.
|
|
259
|
+
|
|
260
|
+
```
|
|
261
|
+
ExecuteSkillApi:
|
|
262
|
+
endpoint: "/pdf/add-sticky-note"
|
|
263
|
+
body: {
|
|
264
|
+
"filePath": "C:\\docs\\report.pdf",
|
|
265
|
+
"pageNumber": 1,
|
|
266
|
+
"noteText": "Review this section",
|
|
267
|
+
"x": 500,
|
|
268
|
+
"y": 100,
|
|
269
|
+
"colorHex": "#FFFF00",
|
|
270
|
+
"iconName": "Comment",
|
|
271
|
+
"outputFilePath": "C:\\docs\\report_annotated.pdf"
|
|
272
|
+
}
|
|
273
|
+
toolName: "Add Sticky Note"
|
|
274
|
+
description: "Adding sticky note on page 1"
|
|
275
|
+
```
|
|
276
|
+
|
|
277
|
+
**Parameters:**
|
|
278
|
+
|
|
279
|
+
- `colorHex`: Note color (default: "#FFFF00" yellow)
|
|
280
|
+
- `iconName`: Icon type - "Comment", "Help", "Insert", "Key", "NewParagraph", "Note", "Paragraph" (default: "Comment")
|
|
281
|
+
- `outputFilePath`: Path to save modified PDF. If omitted, overwrites original.
|
|
282
|
+
|
|
283
|
+
### Insert Text
|
|
284
|
+
Add text to PDF page.
|
|
285
|
+
|
|
286
|
+
```
|
|
287
|
+
ExecuteSkillApi:
|
|
288
|
+
endpoint: "/pdf/insert-text"
|
|
289
|
+
body: {
|
|
290
|
+
"filePath": "C:\\docs\\report.pdf",
|
|
291
|
+
"pageNumber": 1,
|
|
292
|
+
"text": "CONFIDENTIAL",
|
|
293
|
+
"x": 450,
|
|
294
|
+
"y": 30,
|
|
295
|
+
"fontName": "Arial",
|
|
296
|
+
"fontSize": 14,
|
|
297
|
+
"colorHex": "#FF0000",
|
|
298
|
+
"outputFilePath": "C:\\docs\\report_stamped.pdf"
|
|
299
|
+
}
|
|
300
|
+
toolName: "Insert Text"
|
|
301
|
+
description: "Adding CONFIDENTIAL watermark"
|
|
302
|
+
```
|
|
303
|
+
|
|
304
|
+
**Parameters:**
|
|
305
|
+
|
|
306
|
+
- `fontName`: Font name (default: "Arial")
|
|
307
|
+
- `fontSize`: Font size in points (default: 12)
|
|
308
|
+
- `colorHex`: Text color (default: black)
|
|
309
|
+
- `outputFilePath`: Path to save modified PDF. If omitted, overwrites original.
|
|
310
|
+
|
|
311
|
+
### Insert Table
|
|
312
|
+
Insert table into PDF.
|
|
313
|
+
|
|
314
|
+
```
|
|
315
|
+
ExecuteSkillApi:
|
|
316
|
+
endpoint: "/pdf/insert-table"
|
|
317
|
+
body: {
|
|
318
|
+
"filePath": "C:\\docs\\report.pdf",
|
|
319
|
+
"pageNumber": 1,
|
|
320
|
+
"tableData": [["Name", "Age"], ["John", "30"], ["Jane", "25"]],
|
|
321
|
+
"x": 50,
|
|
322
|
+
"y": 200,
|
|
323
|
+
"cellWidth": 100,
|
|
324
|
+
"cellHeight": 25,
|
|
325
|
+
"fontName": "Arial",
|
|
326
|
+
"fontSize": 10,
|
|
327
|
+
"outputFilePath": "C:\\docs\\report_with_table.pdf"
|
|
328
|
+
}
|
|
329
|
+
toolName: "Insert Table"
|
|
330
|
+
description: "Inserting data table on page 1"
|
|
331
|
+
```
|
|
332
|
+
|
|
333
|
+
**Parameters:**
|
|
334
|
+
|
|
335
|
+
- `cellWidth`: Width of each cell in points (default: 100)
|
|
336
|
+
- `cellHeight`: Height of each cell in points (default: 25)
|
|
337
|
+
- `fontName`: Font name for table text (default: "Arial")
|
|
338
|
+
- `fontSize`: Font size in points (default: 10)
|
|
339
|
+
- `outputFilePath`: Path to save modified PDF. If omitted, overwrites original.
|
|
340
|
+
|
|
341
|
+
### Get Form Fields
|
|
342
|
+
List form fields in PDF.
|
|
343
|
+
|
|
344
|
+
```
|
|
345
|
+
ExecuteSkillApi:
|
|
346
|
+
endpoint: "/pdf/get-form-fields"
|
|
347
|
+
body: {
|
|
348
|
+
"filePath": "C:\\forms\\application.pdf",
|
|
349
|
+
"password": "optional"
|
|
350
|
+
}
|
|
351
|
+
toolName: "Get Form Fields"
|
|
352
|
+
description: "Getting form fields from application PDF"
|
|
353
|
+
```
|
|
354
|
+
|
|
355
|
+
### Fill Form Field
|
|
356
|
+
Fill form fields in PDF. Use the `fields` array to fill one or more fields at once.
|
|
357
|
+
|
|
358
|
+
```
|
|
359
|
+
ExecuteSkillApi:
|
|
360
|
+
endpoint: "/pdf/fill-form-field"
|
|
361
|
+
body: {
|
|
362
|
+
"filePath": "C:\\forms\\app.pdf",
|
|
363
|
+
"fields": [
|
|
364
|
+
{ "fieldName": "FullName", "value": "John Smith" },
|
|
365
|
+
{ "fieldName": "Email", "value": "john@example.com" }
|
|
366
|
+
],
|
|
367
|
+
"outputFilePath": "C:\\forms\\app_filled.pdf",
|
|
368
|
+
"password": "optional-reader-password"
|
|
369
|
+
}
|
|
370
|
+
toolName: "Fill Form Field"
|
|
371
|
+
description: "Filling form fields"
|
|
372
|
+
```
|
|
373
|
+
|
|
374
|
+
**Note:** For radio buttons, include `exportValue` to identify which button in the group:
|
|
375
|
+
```json
|
|
376
|
+
{ "fieldName": "gender", "value": "True", "exportValue": "Male" }
|
|
377
|
+
```
|
|
378
|
+
|
|
379
|
+
### Get Annotations
|
|
380
|
+
Get annotations from page.
|
|
381
|
+
|
|
382
|
+
```
|
|
383
|
+
ExecuteSkillApi:
|
|
384
|
+
endpoint: "/pdf/get-annotations"
|
|
385
|
+
body: {
|
|
386
|
+
"filePath": "C:\\docs\\report.pdf",
|
|
387
|
+
"pageNumber": 1,
|
|
388
|
+
"password": "optional"
|
|
389
|
+
}
|
|
390
|
+
toolName: "Get Annotations"
|
|
391
|
+
description: "Getting annotations from page 1"
|
|
392
|
+
```
|
|
393
|
+
|
|
394
|
+
### Remove Annotation
|
|
395
|
+
Remove annotation from page.
|
|
396
|
+
|
|
397
|
+
```
|
|
398
|
+
ExecuteSkillApi:
|
|
399
|
+
endpoint: "/pdf/remove-annotation"
|
|
400
|
+
body: {
|
|
401
|
+
"filePath": "C:\\docs\\report.pdf",
|
|
402
|
+
"pageNumber": 1,
|
|
403
|
+
"annotationIndex": 0,
|
|
404
|
+
"outputFilePath": "C:\\docs\\report_cleaned.pdf"
|
|
405
|
+
}
|
|
406
|
+
toolName: "Remove Annotation"
|
|
407
|
+
description: "Removing first annotation from page 1"
|
|
408
|
+
```
|
|
409
|
+
|
|
410
|
+
**Parameters:**
|
|
411
|
+
|
|
412
|
+
- `outputFilePath`: Path to save modified PDF. If omitted, overwrites original.
|
|
413
|
+
|
|
414
|
+
### Extract Images
|
|
415
|
+
Extract embedded images from page.
|
|
416
|
+
|
|
417
|
+
```
|
|
418
|
+
ExecuteSkillApi:
|
|
419
|
+
endpoint: "/pdf/extract-images"
|
|
420
|
+
body: {
|
|
421
|
+
"filePath": "C:\\docs\\report.pdf",
|
|
422
|
+
"pageNumber": 1,
|
|
423
|
+
"outputFolder": "C:\\docs\\images",
|
|
424
|
+
"password": "optional"
|
|
425
|
+
}
|
|
426
|
+
toolName: "Extract Images"
|
|
427
|
+
description: "Extracting images from page 1"
|
|
428
|
+
```
|
|
429
|
+
|
|
430
|
+
### Rotate Pages
|
|
431
|
+
Rotate one or more pages by 90, 180, or 270 degrees clockwise.
|
|
432
|
+
|
|
433
|
+
```
|
|
434
|
+
ExecuteSkillApi:
|
|
435
|
+
endpoint: "/pdf/rotate-pages"
|
|
436
|
+
body: {
|
|
437
|
+
"filePath": "C:\\docs\\report.pdf",
|
|
438
|
+
"angle": 90,
|
|
439
|
+
"pages": [1, 3, 5],
|
|
440
|
+
"outputFilePath": "C:\\docs\\report_rotated.pdf"
|
|
441
|
+
}
|
|
442
|
+
toolName: "Rotate Pages"
|
|
443
|
+
description: "Rotating pages 1, 3, 5 by 90 degrees"
|
|
444
|
+
```
|
|
445
|
+
|
|
446
|
+
**Parameters:**
|
|
447
|
+
|
|
448
|
+
- `angle`: 90, 180, or 270 (clockwise)
|
|
449
|
+
- `pages`: Array of 1-based page numbers. If omitted, rotates all pages.
|
|
450
|
+
- `outputFilePath`: Output path. If omitted, overwrites original.
|
|
451
|
+
|
|
452
|
+
### Delete Pages
|
|
453
|
+
Remove specific pages from a PDF.
|
|
454
|
+
|
|
455
|
+
```
|
|
456
|
+
ExecuteSkillApi:
|
|
457
|
+
endpoint: "/pdf/delete-pages"
|
|
458
|
+
body: {
|
|
459
|
+
"filePath": "C:\\docs\\report.pdf",
|
|
460
|
+
"pages": [2, 4],
|
|
461
|
+
"outputFilePath": "C:\\docs\\report_trimmed.pdf"
|
|
462
|
+
}
|
|
463
|
+
toolName: "Delete Pages"
|
|
464
|
+
description: "Deleting pages 2 and 4"
|
|
465
|
+
```
|
|
466
|
+
|
|
467
|
+
**Parameters:**
|
|
468
|
+
|
|
469
|
+
- `pages`: Array of 1-based page numbers to delete. Cannot delete all pages.
|
|
470
|
+
- `outputFilePath`: Output path. If omitted, overwrites original.
|
|
471
|
+
|
|
472
|
+
### Reorder Pages
|
|
473
|
+
Rearrange pages in a new order.
|
|
474
|
+
|
|
475
|
+
```
|
|
476
|
+
ExecuteSkillApi:
|
|
477
|
+
endpoint: "/pdf/reorder-pages"
|
|
478
|
+
body: {
|
|
479
|
+
"filePath": "C:\\docs\\report.pdf",
|
|
480
|
+
"pageOrder": [3, 1, 2, 4],
|
|
481
|
+
"outputFilePath": "C:\\docs\\report_reordered.pdf"
|
|
482
|
+
}
|
|
483
|
+
toolName: "Reorder Pages"
|
|
484
|
+
description: "Moving page 3 to front"
|
|
485
|
+
```
|
|
486
|
+
|
|
487
|
+
**Parameters:**
|
|
488
|
+
|
|
489
|
+
- `pageOrder`: Array of 1-based page numbers defining the new order. Must contain every page exactly once (a permutation of [1..N]).
|
|
490
|
+
- `outputFilePath`: Output path. If omitted, overwrites original.
|
|
491
|
+
|
|
492
|
+
### Get Page Info
|
|
493
|
+
Get dimensions, rotation, and orientation for one or all pages.
|
|
494
|
+
|
|
495
|
+
```
|
|
496
|
+
ExecuteSkillApi:
|
|
497
|
+
endpoint: "/pdf/get-page-info"
|
|
498
|
+
body: {
|
|
499
|
+
"filePath": "C:\\docs\\report.pdf",
|
|
500
|
+
"pageNumber": 1,
|
|
501
|
+
"password": "optional"
|
|
502
|
+
}
|
|
503
|
+
toolName: "Get Page Info"
|
|
504
|
+
description: "Getting page 1 dimensions"
|
|
505
|
+
```
|
|
506
|
+
|
|
507
|
+
**Parameters:**
|
|
508
|
+
|
|
509
|
+
- `pageNumber`: 1-based page number. If omitted, returns info for all pages.
|
|
510
|
+
|
|
511
|
+
Returns: `pages[]` with `pageNumber`, `width`, `height` (in points), `rotation` (0/90/180/270), `orientation` ("portrait"/"landscape").
|
|
512
|
+
|
|
513
|
+
### Set Password
|
|
514
|
+
Encrypt a PDF with password protection.
|
|
515
|
+
|
|
516
|
+
```
|
|
517
|
+
ExecuteSkillApi:
|
|
518
|
+
endpoint: "/pdf/set-password"
|
|
519
|
+
body: {
|
|
520
|
+
"filePath": "C:\\docs\\report.pdf",
|
|
521
|
+
"ownerPassword": "admin123",
|
|
522
|
+
"userPassword": "user123",
|
|
523
|
+
"allowPrinting": true,
|
|
524
|
+
"allowCopying": false,
|
|
525
|
+
"allowModifying": false,
|
|
526
|
+
"outputFilePath": "C:\\docs\\report_protected.pdf"
|
|
527
|
+
}
|
|
528
|
+
toolName: "Set Password"
|
|
529
|
+
description: "Encrypting PDF with AES-256"
|
|
530
|
+
```
|
|
531
|
+
|
|
532
|
+
**Parameters:**
|
|
533
|
+
|
|
534
|
+
- `ownerPassword`: Required. Full-access password.
|
|
535
|
+
- `userPassword`: Password to open the PDF. Empty string = no open password required (default).
|
|
536
|
+
- `allowPrinting`: Allow printing (default: true).
|
|
537
|
+
- `allowCopying`: Allow copying text (default: true).
|
|
538
|
+
- `allowModifying`: Allow modification (default: false).
|
|
539
|
+
- `outputFilePath`: Output path. If omitted, overwrites original.
|
|
540
|
+
|
|
541
|
+
### Remove Password
|
|
542
|
+
Decrypt a password-protected PDF.
|
|
543
|
+
|
|
544
|
+
```
|
|
545
|
+
ExecuteSkillApi:
|
|
546
|
+
endpoint: "/pdf/remove-password"
|
|
547
|
+
body: {
|
|
548
|
+
"filePath": "C:\\docs\\report_protected.pdf",
|
|
549
|
+
"password": "admin123",
|
|
550
|
+
"outputFilePath": "C:\\docs\\report_decrypted.pdf"
|
|
551
|
+
}
|
|
552
|
+
toolName: "Remove Password"
|
|
553
|
+
description: "Removing password protection"
|
|
554
|
+
```
|
|
555
|
+
|
|
556
|
+
**Parameters:**
|
|
557
|
+
|
|
558
|
+
- `password`: Required. Current password to decrypt.
|
|
559
|
+
- `outputFilePath`: Output path. If omitted, overwrites original.
|
|
560
|
+
|
|
561
|
+
### Compress PDF
|
|
562
|
+
Optimize file size by removing duplicates, unused resources, and unused font glyphs.
|
|
563
|
+
|
|
564
|
+
```
|
|
565
|
+
ExecuteSkillApi:
|
|
566
|
+
endpoint: "/pdf/compress"
|
|
567
|
+
body: {
|
|
568
|
+
"filePath": "C:\\docs\\large_report.pdf",
|
|
569
|
+
"outputFilePath": "C:\\docs\\report_compressed.pdf"
|
|
570
|
+
}
|
|
571
|
+
toolName: "Compress PDF"
|
|
572
|
+
description: "Compressing PDF to reduce file size"
|
|
573
|
+
```
|
|
574
|
+
|
|
575
|
+
Returns: `originalSizeBytes`, `compressedSizeBytes`, `reductionPercent`.
|
|
576
|
+
|
|
577
|
+
---
|
|
578
|
+
|
|
579
|
+
## Workflows
|
|
580
|
+
|
|
581
|
+
### Workflow 1: Extract and Search Document
|
|
582
|
+
1. Open PDF to get page count: `/pdf/open`
|
|
583
|
+
2. Extract text from relevant pages: `/pdf/get-text`
|
|
584
|
+
3. Search for specific terms: `/pdf/find-text`
|
|
585
|
+
|
|
586
|
+
### Workflow 2: Annotate and Review
|
|
587
|
+
1. Search for terms to annotate: `/pdf/find-text`
|
|
588
|
+
2. Add highlights: `/pdf/add-highlight`
|
|
589
|
+
3. Add review notes: `/pdf/add-sticky-note`
|
|
590
|
+
4. Get all annotations: `/pdf/get-annotations`
|
|
591
|
+
|
|
592
|
+
### Workflow 3: Split and Merge
|
|
593
|
+
1. Extract specific pages: `/pdf/extract-pages`
|
|
594
|
+
2. Merge with other documents: `/pdf/join`
|
|
595
|
+
|
|
596
|
+
### Workflow 4: Fill Forms
|
|
597
|
+
1. Get form field names: `/pdf/get-form-fields`
|
|
598
|
+
2. Fill fields one by one: `/pdf/fill-form-field`
|
|
599
|
+
|
|
600
|
+
### Workflow 5: Create a New PDF (Report, Summary, etc.)
|
|
601
|
+
The PDF skill only operates on existing PDFs. To create a new PDF from scratch:
|
|
602
|
+
1. Create a Word document using the Word skill (`/word/open-attach` with `createNew: true`) — save the returned `filePath`
|
|
603
|
+
2. Add content via Word APIs (`/word/insert-text`, `/word/insert-table`, etc.)
|
|
604
|
+
3. Before exporting, call `/word/get-opened-files` to verify you have the correct file path
|
|
605
|
+
4. Export to PDF: `/word/export-to-pdf` with the exact `filePath` from step 1
|
|
606
|
+
5. Report the saved path. Open it (`/pdf/open` + `openInViewer: true`) **only if the user asked to see it**.
|
|
607
|
+
|
|
608
|
+
**Do NOT create HTML as an intermediate step** — use Word APIs directly.
|
|
609
|
+
**Do NOT open/show the intermediate Word document** — the user wants the PDF.
|
|
610
|
+
|
|
611
|
+
### Workflow 6: Reorganize Pages
|
|
612
|
+
1. Get page info to understand layout: `/pdf/get-page-info`
|
|
613
|
+
2. Delete unwanted pages: `/pdf/delete-pages`
|
|
614
|
+
3. Reorder remaining pages: `/pdf/reorder-pages`
|
|
615
|
+
4. Rotate pages if needed: `/pdf/rotate-pages`
|
|
616
|
+
|
|
617
|
+
### Workflow 7: Secure and Optimize
|
|
618
|
+
1. Compress to reduce file size: `/pdf/compress`
|
|
619
|
+
2. Set password protection: `/pdf/set-password`
|
|
620
|
+
|
|
621
|
+
## Common Issues
|
|
622
|
+
|
|
623
|
+
| Issue | Solution |
|
|
624
|
+
|-------|----------|
|
|
625
|
+
| "File not found" | Use absolute paths with escaped backslashes |
|
|
626
|
+
| Text not found | Check case sensitivity |
|
|
627
|
+
| Wrong position | Remember Y=0 is TOP (not bottom) |
|
|
628
|
+
| Form field not filled | Use exact field name from get-form-fields |
|
|
629
|
+
|
|
630
|
+
## Page Range Formats
|
|
631
|
+
|
|
632
|
+
| Format | Description |
|
|
633
|
+
|--------|-------------|
|
|
634
|
+
| `"All"` | All pages |
|
|
635
|
+
| `"1-5"` | Pages 1 through 5 |
|
|
636
|
+
| `"2,4,6"` | Specific pages |
|
|
637
|
+
| `"5-END"` | Page 5 to last page |
|
|
638
|
+
| `"1,3,5-10"` | Mixed format |
|
|
639
|
+
|
|
640
|
+
**Limit:** Maximum 20 pages per text extraction request.
|