{"ok":true,"site":{"host":"eworker.ca","url":"https://eworker.ca/","type":"live","desc":"E-Worker is business infrastructure powered by AI, with focused apps and connected business work.","tools":[{"name":"eworker_site_status","kind":"answer","impl":"imperative","description":"Read the public E-Worker identity, root route, available root WebMCP capabilities, and public app count.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/"},{"name":"eworker_list_apps","kind":"act","impl":"imperative","description":"List the deploy-qualified public E-Worker apps with stable IDs, task-oriented summaries, and same-origin routes. When a user names only eworker.ca, use this catalog to select the focused app that owns the requested work.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/"},{"name":"eworker_resolve_app","kind":"act","impl":"imperative","description":"Resolve one exact app ID from eworker_list_apps to its approved same-origin route and URL without navigating.","inputSchema":{"type":"object","properties":{"appId":{"type":"string","minLength":1,"maxLength":64,"description":"Exact appId returned by eworker_list_apps."}},"required":["appId"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/"},{"name":"eworker_open_app","kind":"act","impl":"imperative","description":"Navigate this browser tab to one deploy-qualified app returned by eworker_list_apps. Match the user request to the app summary; reports, proposals, policies, and business documents belong in Documents. After navigation, discover and use the destination page's WebMCP tools instead of substituting a local file or unrelated workflow.","inputSchema":{"type":"object","properties":{"appId":{"type":"string","minLength":1,"maxLength":64,"description":"Exact appId returned by eworker_list_apps."}},"required":["appId"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/"},{"name":"ewdoc_status","kind":"answer","impl":"imperative","description":"Read active document, selection, protection, view, and supported semantic capabilities.","inputSchema":{"type":"object","properties":{},"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/documents/"},{"name":"ewdoc_outline","kind":"act","impl":"imperative","description":"Read the active E-Worker document outline and compact edit handles.","inputSchema":{"type":"object","properties":{"maxItems":{"type":"number","minimum":1,"maximum":80,"description":"Maximum outline items."}},"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/documents/"},{"name":"ewdoc_read","kind":"answer","impl":"imperative","description":"Read semantic HTML near a supplied handle or the current selection.","inputSchema":{"type":"object","properties":{"contextId":{"type":"string","description":"Context that produced target."},"target":{"type":"string","description":"Handle such as B1 or R1."},"around":{"type":"number","minimum":0,"maximum":12,"description":"Nearby block count."},"mode":{"type":"string","enum":["read","edit","precision"],"description":"Read detail mode."},"maxChars":{"type":"number","minimum":200,"maximum":12000,"description":"HTML character cap."}},"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/documents/"},{"name":"ewdoc_search","kind":"answer","impl":"imperative","description":"Search the active E-Worker document and return compact handles.","inputSchema":{"type":"object","properties":{"query":{"type":"string","description":"Text to find."},"limit":{"type":"number","minimum":1,"maximum":50,"description":"Maximum hits."}},"required":["query"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/documents/"},{"name":"ewdoc_go_to","kind":"act","impl":"imperative","description":"Select and reveal an exact target handle from its current semantic context.","inputSchema":{"type":"object","properties":{"contextId":{"type":"string","description":"Context that produced target."},"target":{"type":"string","description":"Handle such as B1, R1, T1, C1, or A1."},"selection":{"type":"string","enum":["target","start","end"],"description":"Select the target or collapse at one boundary."},"alignment":{"type":"string","enum":["nearest","center","start"],"description":"Viewport reveal alignment."}},"required":["contextId","target"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/documents/"},{"name":"ewdoc_new","kind":"act","impl":"imperative","description":"Create and activate one new unsaved document through the Documents host. This does not save a file.","inputSchema":{"type":"object","properties":{},"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/documents/"},{"name":"ewdoc_switch","kind":"act","impl":"imperative","description":"Without documentRef, list bounded opaque references for open documents. With documentRef, activate that exact open document.","inputSchema":{"type":"object","properties":{"documentRef":{"type":"string","minLength":1,"maxLength":200,"description":"Opaque reference returned by this mounted Documents session."}},"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/documents/"},{"name":"ewdoc_request_open","kind":"act","impl":"imperative","description":"Request one host-governed open action. Browser picker, desktop path, and Engine reference variants are revalidated against the declared host mode.","inputSchema":{"type":"object","properties":{"source":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["userPicker"]}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["hostPath"]},"path":{"type":"string","minLength":1,"maxLength":4096}},"required":["kind","path"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["repositoryRef"]},"reference":{"type":"string","minLength":1,"maxLength":4096}},"required":["kind","reference"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["workspaceFileRef"]},"reference":{"type":"string","minLength":1,"maxLength":4096}},"required":["kind","reference"],"additionalProperties":false}]}},"required":["source"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/documents/"},{"name":"ewdoc_request_save","kind":"act","impl":"imperative","description":"Request a host-governed local save or save-copy. The editor owns the destination and may require visible user action.","inputSchema":{"type":"object","properties":{"mode":{"type":"string","enum":["save","save-copy"],"description":"Save the current document or create a separate local copy."}},"required":["mode"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/documents/"},{"name":"ewdoc_compose","kind":"act","impl":"imperative","description":"Draft one complete bounded document recipe as a single previewable proposal and one Undo unit. The first step defines the document; following steps define body blocks.","inputSchema":{"type":"object","properties":{"contextRef":{"type":"string","minLength":1,"maxLength":200,"description":"Exact revision-scoped context returned by document status."},"steps":{"type":"array","minItems":2,"maxItems":24,"items":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["document"]},"title":{"type":"string","minLength":1,"maxLength":200},"sources":{"type":"array","maxItems":40,"items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":500},"url":{"type":"string","minLength":1,"maxLength":4096}},"required":["label"],"additionalProperties":false}}},"required":["kind","title"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["heading"]},"text":{"type":"string","minLength":1,"maxLength":20000},"level":{"type":"number","minimum":1,"maximum":6}},"required":["kind","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["paragraph"]},"text":{"type":"string","maxLength":20000}},"required":["kind","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["bullet"]},"text":{"type":"string","minLength":1,"maxLength":20000}},"required":["kind","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quote"]},"text":{"type":"string","minLength":1,"maxLength":20000}},"required":["kind","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["code"]},"text":{"type":"string","maxLength":20000},"language":{"type":"string","minLength":1,"maxLength":80}},"required":["kind","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["table"]},"caption":{"type":"string","maxLength":500},"cells":{"type":"array","minItems":1,"maxItems":50,"items":{"type":"array","minItems":1,"maxItems":20,"items":{"type":"string","maxLength":4000}}}},"required":["kind","cells"],"additionalProperties":false}]}}},"required":["contextRef","steps"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/documents/"},{"name":"ewdoc_draft","kind":"act","impl":"imperative","description":"Create a draft HTML block edit or append one to an exact unpreviewed change set. Review actions use ewdoc_review. Preview and commit are separate.","inputSchema":{"type":"object","properties":{"changeSetId":{"type":"string","description":"Existing unpreviewed change set id to append to."},"operation":{"type":"string","enum":["replaceBlockHtml","insertHtml"],"description":"Draft HTML operation."},"contextId":{"type":"string","description":"Context that produced target."},"target":{"type":"string","description":"Handle such as B1 or R1."},"html":{"type":"string","description":"Supported semantic HTML."},"where":{"type":"string","enum":["before","after"],"description":"Insertion point."},"note":{"type":"string","description":"Short reason."}},"required":["operation","contextId","target"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/documents/"},{"name":"ewdoc_format","kind":"act","impl":"imperative","description":"Set explicit desired character or paragraph formatting on an exact text handle, creating or appending to an unpreviewed atomic change set.","inputSchema":{"type":"object","properties":{"changeSetId":{"type":"string","description":"Existing unpreviewed change set id to append to."},"contextId":{"type":"string","description":"Context that produced target."},"target":{"type":"string","description":"Text block or range handle such as B1 or R1."},"character":{"type":"object","properties":{"bold":{"type":"boolean","description":"Explicit bold desired state."},"italic":{"type":"boolean","description":"Explicit italic desired state."},"underline":{"type":"boolean","description":"Explicit underline desired state."},"strikethrough":{"type":"boolean","description":"Explicit strikethrough desired state."},"fontFamily":{"type":"string","minLength":1,"maxLength":160,"description":"Explicit font family."},"fontSizePt":{"type":"number","description":"Font size in points; values are normalized to 1-400."},"textColor":{"type":["string","null"],"description":"Hex color, or null to clear."},"highlightColor":{"type":["string","null"],"description":"Hex color, or null to clear."}},"additionalProperties":false},"paragraph":{"type":"object","properties":{"alignment":{"type":"string","enum":["left","center","right","justify"],"description":"Explicit paragraph alignment."},"lineSpacing":{"type":"number","description":"Line spacing; values are normalized to 0.5-4."},"leftIndentPt":{"type":"number","description":"Left indent in points; values are normalized to 0-432."},"rightIndentPt":{"type":"number","description":"Right indent in points; values are normalized to 0-432."},"firstLineIndentPt":{"type":"number","description":"First-line indent in points; values are normalized to -432 through 432."},"spacingBeforePt":{"type":"number","description":"Space before in points; values are normalized to 0-144."},"spacingAfterPt":{"type":"number","description":"Space after in points; values are normalized to 0-144."}},"additionalProperties":false},"note":{"type":"string","description":"Short reason."}},"required":["contextId","target"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/documents/"},{"name":"ewdoc_insert","kind":"act","impl":"imperative","description":"Draft one bounded text, table, approved local picture, shape, chart, header/footer, field, page number, TOC, or business-template insertion at an exact block handle.","inputSchema":{"type":"object","properties":{"contextId":{"type":"string","description":"Context that produced target."},"target":{"type":"string","description":"Exact block handle."},"kind":{"type":"string","enum":["paragraph","heading","pageBreak","table","image","shape","chart","headerFooter","field","pageNumber","tableOfContents","template"],"description":"Typed insertion kind."},"where":{"type":"string","enum":["before","after"],"description":"Placement relative to target."},"text":{"type":"string","maxLength":10000,"description":"Paragraph or heading text."},"level":{"type":"integer","minimum":1,"maximum":6,"description":"Heading level."},"rows":{"type":"integer","minimum":1,"maximum":20,"description":"Table row count."},"columns":{"type":"integer","minimum":1,"maximum":20,"description":"Table column count."},"cells":{"type":"array","maxItems":20,"items":{"type":"array","maxItems":20,"items":{"type":"string","maxLength":10000}},"description":"Optional row-major table text."},"source":{"type":"object","properties":{"kind":{"type":"string","enum":["userPicker"],"description":"Visible local picker; paths, URLs, and raw bytes are not accepted."}},"required":["kind"],"additionalProperties":false},"altText":{"type":"string","maxLength":2000,"description":"Alternative text for an image or shape."},"widthPx":{"type":"number","minimum":24,"maximum":1200},"heightPx":{"type":"number","minimum":24,"maximum":1200},"shapePreset":{"type":"string","enum":["rectangle","rounded-rectangle","ellipse","triangle","line","arrow","double-arrow","callout","speech-bubble"]},"fillColor":{"type":"string","description":"Six-digit hex color, or none for shape fill."},"outlineColor":{"type":"string","description":"Six-digit hex shape outline color."},"chartType":{"type":"string","enum":["column-clustered","bar-clustered","line","area","pie"]},"title":{"type":"string","maxLength":240,"description":"Chart or table-of-contents title."},"categories":{"type":"array","minItems":1,"maxItems":20,"items":{"type":"string","minLength":1,"maxLength":120}},"series":{"type":"array","minItems":1,"maxItems":8,"items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"values":{"type":"array","minItems":1,"maxItems":20,"items":{"type":"number"}}},"required":["name","values"],"additionalProperties":false}},"headerFooterKind":{"type":"string","enum":["header","footer"]},"headerFooterVariant":{"type":"string","enum":["default","first","even"]},"headerFooterTemplate":{"type":"string","enum":["blank","business","proposal","title-only","confidential","page-count","section-page-count","prepared-by"]},"fieldKind":{"type":"string","enum":["page-number","page-count","section-page-count","document-title","date","merge-field"]},"fieldName":{"type":"string","maxLength":240},"fieldFormat":{"type":"string","maxLength":120},"alignment":{"type":"string","enum":["left","center","right"]},"tocLevels":{"type":"integer","minimum":1,"maximum":9},"showPageNumbers":{"type":"boolean"},"useHyperlinks":{"type":"boolean"},"templateId":{"type":"string","enum":["business-report","proposal","project-brief","meeting-notes"]},"note":{"type":"string","maxLength":2000,"description":"Short reason."}},"required":["contextId","target","kind"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/documents/"},{"name":"ewdoc_table","kind":"act","impl":"imperative","description":"Draft one bounded table caption edit on an exact table handle; unsupported table variants fail explicitly.","inputSchema":{"type":"object","properties":{"contextId":{"type":"string"},"target":{"type":"string"},"operation":{"type":"string","enum":["setCaption"]},"caption":{"type":"string","maxLength":2000},"note":{"type":"string","maxLength":2000}},"required":["contextId","target","operation","caption"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/documents/"},{"name":"ewdoc_review","kind":"act","impl":"imperative","description":"Draft one comment add, reply, resolve, or reopen action against an exact content or annotation handle.","inputSchema":{"type":"object","properties":{"contextId":{"type":"string"},"target":{"type":"string"},"operation":{"type":"string","enum":["addComment","replyComment","resolveComment","reopenComment"]},"body":{"type":"string","maxLength":10000},"note":{"type":"string","maxLength":2000}},"required":["contextId","target","operation"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/documents/"},{"name":"ewdoc_link","kind":"act","impl":"imperative","description":"Draft one safe hyperlink replacement at an exact range handle.","inputSchema":{"type":"object","properties":{"contextId":{"type":"string"},"target":{"type":"string"},"text":{"type":"string","minLength":1,"maxLength":2000},"href":{"type":"string","minLength":1,"maxLength":4096},"note":{"type":"string","maxLength":2000}},"required":["contextId","target","text","href"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/documents/"},{"name":"ewdoc_object","kind":"act","impl":"imperative","description":"Draft bounded alternative-text or size changes for an exact image block; source and asset changes are not exposed.","inputSchema":{"type":"object","properties":{"contextId":{"type":"string"},"target":{"type":"string"},"operation":{"type":"string","enum":["setImageProperties"]},"altText":{"type":"string","maxLength":2000},"widthPx":{"type":"number"},"heightPx":{"type":"number"},"note":{"type":"string","maxLength":2000}},"required":["contextId","target","operation"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/documents/"},{"name":"ewdoc_layout","kind":"act","impl":"imperative","description":"Draft bounded page setup or page-numbering changes for the section containing an exact top-level target.","inputSchema":{"type":"object","properties":{"contextId":{"type":"string"},"target":{"type":"string"},"orientation":{"type":"string","enum":["portrait","landscape"]},"sizePreset":{"type":"string","enum":["letter","legal","a4"]},"margins":{"type":"object","properties":{"topPt":{"type":"number"},"rightPt":{"type":"number"},"bottomPt":{"type":"number"},"leftPt":{"type":"number"}},"additionalProperties":false},"pageNumbering":{"type":"object","properties":{"continueFromPrevious":{"type":"boolean"},"startAt":{"type":"integer","minimum":1,"maximum":32767},"numberFormat":{"type":"string","enum":["decimal","lower-roman","upper-roman","lower-letter","upper-letter"]}},"additionalProperties":false},"note":{"type":"string","maxLength":2000}},"required":["contextId","target"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/documents/"},{"name":"ewdoc_preview","kind":"act","impl":"imperative","description":"Preview a draft change set before commit.","inputSchema":{"type":"object","properties":{"changeSetId":{"type":"string","description":"Draft change set id."},"format":{"type":"string","enum":["summary","htmlDiff"],"description":"Preview format."}},"required":["changeSetId"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/documents/"},{"name":"ewdoc_commit","kind":"act","impl":"imperative","description":"Commit a previewed draft after visible approval.","inputSchema":{"type":"object","properties":{"changeSetId":{"type":"string","description":"Previewed change set id."}},"required":["changeSetId"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/documents/"},{"name":"ewdoc_discard","kind":"act","impl":"imperative","description":"Discard a draft change set without changing the document.","inputSchema":{"type":"object","properties":{"changeSetId":{"type":"string","description":"Draft change set id."}},"required":["changeSetId"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/documents/"},{"name":"ewbook_status","kind":"answer","impl":"imperative","description":"Read status.","inputSchema":{"type":"object","properties":{"workbookRef":{"type":"string","minLength":1,"maxLength":200,"description":"Workbook reference."}},"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/workbooks/"},{"name":"ewbook_read","kind":"answer","impl":"imperative","description":"Read content.","inputSchema":{"type":"object","properties":{"kind":{"type":"string","enum":["metadata","sheets","range","selection","tables","names","formulas","charts","objects","comments","validation","filters","layout","formatting"],"description":"Select one read kind; selection max 64 areas."},"workbookRef":{"type":"string","minLength":1,"maxLength":200},"includeHidden":{"type":"boolean"},"limit":{"type":"integer","minimum":1,"maximum":1000},"sheetId":{"type":"string","minLength":1,"maxLength":200},"start":{"type":"object","properties":{"row":{"type":"integer","minimum":0},"col":{"type":"integer","minimum":0}},"required":["row","col"],"additionalProperties":false},"end":{"type":"object","properties":{"row":{"type":"integer","minimum":0},"col":{"type":"integer","minimum":0}},"required":["row","col"],"additionalProperties":false},"includeEmpty":{"type":"boolean"},"tableId":{"type":"string","minLength":1,"maxLength":200},"name":{"type":"string","minLength":1,"maxLength":255},"includeAudit":{"type":"boolean"},"chartId":{"type":"string","minLength":1,"maxLength":200},"objectId":{"type":"string","minLength":1,"maxLength":200},"commentId":{"type":"string","minLength":1,"maxLength":200},"validationId":{"type":"string","minLength":1,"maxLength":200},"filterId":{"type":"string","minLength":1,"maxLength":200}},"required":["kind"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/workbooks/"},{"name":"ewbook_functions","kind":"act","impl":"imperative","description":"Find formulas.","inputSchema":{"type":"object","properties":{"workbookRef":{"type":"string","minLength":1,"maxLength":200},"query":{"type":"string","maxLength":100},"category":{"type":"string","enum":["ai","cube","database","date-time","engineering","external","financial","information","logical","lookup-reference","math-trig","statistical","text","web"]},"status":{"type":"string","enum":["implemented","pending-ai-runtime","pending-engine"]},"offset":{"type":"integer","minimum":0,"maximum":10000},"limit":{"type":"integer","minimum":1,"maximum":100}},"required":["workbookRef"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/workbooks/"},{"name":"ewbook_search","kind":"answer","impl":"imperative","description":"Search content.","inputSchema":{"type":"object","properties":{"workbookRef":{"type":"string","minLength":1,"maxLength":200},"query":{"type":"string","minLength":1,"maxLength":200,"description":"Text to find."},"sheetId":{"type":"string","minLength":1,"maxLength":200},"scopes":{"type":"array","minItems":1,"maxItems":6,"uniqueItems":true,"items":{"type":"string","enum":["cells","formulas","tables","names","charts","comments"]}},"limit":{"type":"integer","minimum":1,"maximum":100}},"required":["query"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/workbooks/"},{"name":"ewbook_go_to","kind":"act","impl":"imperative","description":"Reveal target.","inputSchema":{"type":"object","properties":{"workbookRef":{"type":"string","minLength":1,"maxLength":200},"contextId":{"type":"string","minLength":1,"maxLength":200},"targetRef":{"type":"string","minLength":1,"maxLength":200}},"required":["workbookRef","contextId","targetRef"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/workbooks/"},{"name":"ewbook_new","kind":"act","impl":"imperative","description":"Create workbook.","inputSchema":{"type":"object","properties":{},"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/workbooks/"},{"name":"ewbook_switch","kind":"act","impl":"imperative","description":"List or activate workbooks.","inputSchema":{"type":"object","properties":{"workbookRef":{"type":"string","minLength":1,"maxLength":200}},"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/workbooks/"},{"name":"ewbook_request_open","kind":"act","impl":"imperative","description":"Request Open.","inputSchema":{"type":"object","properties":{"source":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["userPicker"]}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["hostPath"]},"path":{"type":"string","minLength":1,"maxLength":4096}},"required":["kind","path"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["repositoryRef"]},"reference":{"type":"string","minLength":1,"maxLength":4096}},"required":["kind","reference"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["workspaceFileRef"]},"reference":{"type":"string","minLength":1,"maxLength":4096}},"required":["kind","reference"],"additionalProperties":false}]}},"required":["source"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/workbooks/"},{"name":"ewbook_request_save","kind":"act","impl":"imperative","description":"Request Save.","inputSchema":{"type":"object","properties":{"mode":{"type":"string","enum":["save","save-copy"],"description":"Save or Save Copy."}},"required":["mode"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/workbooks/"},{"name":"ewbook_request_export","kind":"act","impl":"imperative","description":"Open export review; user finishes.","inputSchema":{"type":"object","properties":{"workbookRef":{"type":"string","minLength":1,"maxLength":200},"format":{"type":"string","enum":["csv","pdf","xlsx"],"description":"Export workflow."}},"required":["workbookRef","format"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/workbooks/"},{"name":"ewbook_request_print","kind":"act","impl":"imperative","description":"Open Print Preview; user finishes.","inputSchema":{"type":"object","properties":{"workbookRef":{"type":"string","minLength":1,"maxLength":200}},"required":["workbookRef"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/workbooks/"},{"name":"ewbook_compose","kind":"act","impl":"imperative","description":"Draft a complete workbook.","inputSchema":{"type":"object","properties":{"workbookRef":{"type":"string","minLength":1,"maxLength":200},"contextRef":{"type":"string","minLength":1,"maxLength":200},"steps":{"type":"array","minItems":2,"maxItems":21,"items":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["workbook"]},"title":{"type":"string","minLength":1,"maxLength":200},"activeSheet":{"type":"string","minLength":1,"maxLength":31},"definedNames":{"type":"array","maxItems":64,"items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[A-Za-z_][A-Za-z0-9_.]*$"},"formula":{"type":"string","minLength":1,"maxLength":8193},"scopeSheet":{"type":"string","minLength":1,"maxLength":31},"comment":{"type":"string","maxLength":1024}},"required":["name","formula"],"additionalProperties":false}}},"required":["kind","title"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["sheet"]},"name":{"type":"string","minLength":1,"maxLength":31},"tabColor":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"cells":{"type":"array","maxItems":5000,"items":{"type":"object","properties":{"address":{"type":"string","minLength":2,"maxLength":20},"value":{"type":["string","number","boolean","null"]},"formula":{"type":"string","minLength":2,"maxLength":8192},"link":{"type":"object","properties":{"href":{"type":"string","minLength":1,"maxLength":2048},"text":{"type":"string","minLength":1,"maxLength":4096}},"required":["href","text"],"additionalProperties":false},"namedStyle":{"type":"string","enum":["Normal","Neutral","Bad","Calculation","Good","Check Cell"]},"numberFormat":{"type":["string","null"],"maxLength":255},"format":{"type":"object","properties":{"fillColor":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"fontColor":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"fontSize":{"type":"number","minimum":1,"maximum":409},"bold":{"type":"boolean"},"italic":{"type":"boolean"},"underline":{"type":"string","enum":["none","single","double"]},"horizontal":{"type":"string","enum":["left","center","right"]},"vertical":{"type":"string","enum":["top","center","bottom"]},"wrapText":{"type":"boolean"},"shrinkToFit":{"type":"boolean"},"outerBorder":{"type":"object","properties":{"style":{"type":"string","enum":["none","thin","medium","dashed","dotted","thick","double"]},"color":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"}},"required":["style","color"],"additionalProperties":false}},"additionalProperties":false}},"required":["address"],"additionalProperties":false,"oneOf":[{"required":["value"]},{"required":["formula"]},{"required":["link"]}]}},"columnWidths":{"type":"array","maxItems":256,"items":{"type":"object","properties":{"column":{"type":"string","minLength":1,"maxLength":3,"pattern":"^[A-Za-z]{1,3}$"},"width":{"type":"integer","minimum":1,"maximum":640}},"required":["column","width"],"additionalProperties":false}},"rowHeights":{"type":"array","maxItems":256,"items":{"type":"object","properties":{"row":{"type":"integer","minimum":1,"maximum":1048576},"height":{"type":"integer","minimum":1,"maximum":480}},"required":["row","height"],"additionalProperties":false}},"tables":{"type":"array","maxItems":32,"items":{"type":"object","properties":{"range":{"type":"string","minLength":5,"maxLength":23,"pattern":"^[A-Za-z]{1,3}[1-9][0-9]{0,6}:[A-Za-z]{1,3}[1-9][0-9]{0,6}$"},"name":{"type":"string","minLength":1,"maxLength":255},"style":{"type":"string","enum":["light","medium","dark"]},"headerRow":{"type":"boolean"},"totalsRow":{"type":"boolean"},"bandedRows":{"type":"boolean"},"bandedColumns":{"type":"boolean"},"firstColumn":{"type":"boolean"},"lastColumn":{"type":"boolean"},"totals":{"type":"array","maxItems":64,"items":{"type":"object","properties":{"column":{"type":"string","minLength":1,"maxLength":3,"pattern":"^[A-Za-z]{1,3}$"},"function":{"type":"string","enum":["none","average","count","count-numbers","maximum","minimum","sum","standard-deviation","variance","custom"]},"customFormula":{"type":"string","minLength":2,"maxLength":8193}},"required":["column","function"],"additionalProperties":false}}},"required":["range","name"],"additionalProperties":false}},"charts":{"type":"array","maxItems":16,"items":{"type":"object","properties":{"sourceRange":{"type":"string","minLength":5,"maxLength":23,"pattern":"^[A-Za-z]{1,3}[1-9][0-9]{0,6}:[A-Za-z]{1,3}[1-9][0-9]{0,6}$"},"chartType":{"type":"string","enum":["area","area-stacked","area-percent-stacked","bar-clustered","bar-stacked","bar-percent-stacked","column-clustered","column-stacked","column-percent-stacked","line","line-stacked","line-percent-stacked","pie","doughnut","scatter","bubble","radar","stock","surface","combo"]},"title":{"type":"string","maxLength":256},"altText":{"type":"string","maxLength":1024},"orientation":{"type":"string","enum":["columns-as-series","rows-as-series"]},"placement":{"type":"object","properties":{"left":{"type":"number","minimum":0,"maximum":1000000},"top":{"type":"number","minimum":0,"maximum":1000000},"width":{"type":"number","minimum":180,"maximum":2000},"height":{"type":"number","minimum":120,"maximum":2000}},"required":["left","top","width","height"],"additionalProperties":false}},"required":["sourceRange","chartType"],"additionalProperties":false}},"comments":{"type":"array","maxItems":64,"items":{"type":"object","properties":{"address":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[A-Za-z]{1,3}[1-9][0-9]{0,6}$"},"kind":{"type":"string","enum":["comment","note"]},"text":{"type":"string","minLength":1,"maxLength":100000}},"required":["address","kind","text"],"additionalProperties":false}},"merges":{"type":"array","maxItems":128,"items":{"type":"string","minLength":5,"maxLength":23,"pattern":"^[A-Za-z]{1,3}[1-9][0-9]{0,6}:[A-Za-z]{1,3}[1-9][0-9]{0,6}$"}},"conditionalFormats":{"type":"array","maxItems":64,"items":{"type":"object","properties":{"range":{"type":"string","minLength":5,"maxLength":23,"pattern":"^[A-Za-z]{1,3}[1-9][0-9]{0,6}:[A-Za-z]{1,3}[1-9][0-9]{0,6}$"},"rule":{"type":"object","properties":{"type":{"type":"string","enum":["cell-value","contains-text","not-contains-text","begins-with","ends-with","date-occurring","rank","duplicate-values","data-bar","color-scale"]},"operator":{},"value":{},"secondValue":{},"text":{},"period":{},"direction":{},"rank":{},"percent":{},"unique":{},"color":{},"minimumColor":{},"midpointColor":{},"maximumColor":{}},"required":["type"],"additionalProperties":false},"format":{"type":"object","properties":{"fillColor":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"fontColor":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"bold":{"type":"boolean"}},"additionalProperties":false}},"required":["range","rule","format"],"additionalProperties":false}},"dataValidations":{"type":"array","maxItems":64,"items":{"type":"object","properties":{"range":{"type":"string","minLength":5,"maxLength":23,"pattern":"^[A-Za-z]{1,3}[1-9][0-9]{0,6}:[A-Za-z]{1,3}[1-9][0-9]{0,6}$"},"rule":{"type":"object","properties":{"type":{"type":"string","enum":["list","custom","whole-number","decimal","date","time","text-length"]},"ignoreBlank":{"type":"boolean"},"showInputMessage":{"type":"boolean"},"inputTitle":{"type":"string","maxLength":32},"inputMessage":{"type":"string","maxLength":255},"errorStyle":{"type":"string","enum":["stop","warning","information"]},"errorTitle":{"type":"string","maxLength":32},"errorMessage":{"type":"string","maxLength":255},"source":{},"inCellDropdown":{},"formula":{},"operator":{},"value":{},"minimum":{},"maximum":{}},"required":["type","ignoreBlank","showInputMessage","inputTitle","inputMessage","errorStyle","errorTitle","errorMessage"],"additionalProperties":false}},"required":["range","rule"],"additionalProperties":false}},"sheetView":{"type":"object","properties":{"gridlinesVisible":{"type":"boolean"},"headingsVisible":{"type":"boolean"},"showFormulas":{"type":"boolean"},"viewMode":{"type":"string","enum":["normal","page-break-preview","page-layout"]},"zoomPercent":{"type":"integer","minimum":50,"maximum":200}},"additionalProperties":false,"minProperties":1},"freezePane":{"type":"object","properties":{"rows":{"type":"integer","minimum":0,"maximum":1048575},"columns":{"type":"integer","minimum":0,"maximum":16383}},"required":["rows","columns"],"additionalProperties":false},"pageSetup":{"type":"object","properties":{"orientation":{"type":"string","enum":["portrait","landscape"]},"paperSize":{"type":"string","enum":["letter","a4","legal"]},"scaleWidth":{"type":"string","enum":["automatic","1-page","2-pages"]},"scaleHeight":{"type":"string","enum":["automatic","1-page","2-pages"]},"centerHorizontally":{"type":"boolean"},"centerVertically":{"type":"boolean"},"printGridlines":{"type":"boolean"},"printHeadings":{"type":"boolean"},"printAreas":{"type":"array","minItems":1,"maxItems":16,"uniqueItems":true,"items":{"type":"string","minLength":5,"maxLength":23,"pattern":"^[A-Za-z]{1,3}[1-9][0-9]{0,6}:[A-Za-z]{1,3}[1-9][0-9]{0,6}$"}},"printTitleRows":{"type":"object","properties":{"start":{"type":"integer","minimum":0,"maximum":1048575},"end":{"type":"integer","minimum":0,"maximum":1048575}},"required":["start","end"],"additionalProperties":false},"printTitleColumns":{"type":"object","properties":{"start":{"type":"integer","minimum":0,"maximum":16383},"end":{"type":"integer","minimum":0,"maximum":16383}},"required":["start","end"],"additionalProperties":false}},"additionalProperties":false,"minProperties":1}},"required":["kind","name","cells"],"additionalProperties":false}]}}},"required":["workbookRef","contextRef","steps"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/workbooks/"},{"name":"ewbook_cells","kind":"act","impl":"imperative","description":"Draft cell input or clearing.","inputSchema":{"type":"object","properties":{"workbookRef":{"type":"string","minLength":1,"maxLength":200},"contextId":{"type":"string","minLength":1,"maxLength":200},"targetRef":{"type":"string","minLength":1,"maxLength":200},"changeSetId":{"type":"string","minLength":1,"maxLength":200},"operation":{"type":"string","enum":["set","clear"]},"values":{"type":"array","maxItems":5000,"items":{"type":"array","maxItems":5000,"items":{"type":"string","maxLength":1048576}}},"note":{"type":"string","maxLength":2000}},"required":["workbookRef","contextId","targetRef","operation"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/workbooks/"},{"name":"ewbook_format","kind":"act","impl":"imperative","description":"Draft formatting.","inputSchema":{"type":"object","properties":{"workbookRef":{"type":"string","minLength":1,"maxLength":200},"contextId":{"type":"string","minLength":1,"maxLength":200},"targetRef":{"type":"string","minLength":1,"maxLength":200},"changeSetId":{"type":"string","minLength":1,"maxLength":200},"patch":{"type":"object","properties":{"namedStyle":{"type":"string","minLength":1,"maxLength":255},"numberFormat":{"type":["string","null"],"maxLength":255},"font":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"size":{"type":"number","minimum":1,"maximum":409},"bold":{"type":"boolean"},"italic":{"type":"boolean"},"underline":{"type":"string","enum":["none","single","double"]},"strikethrough":{"type":"boolean"},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},{"type":"object","properties":{"kind":{"const":"theme"},"roleId":{"type":"string","enum":["dark-1","light-1","dark-2","light-2","accent-1","accent-2","accent-3","accent-4","accent-5","accent-6","hyperlink","followed-hyperlink"]},"alpha":{"type":"number","minimum":0,"maximum":1}},"required":["kind","roleId"],"additionalProperties":false}]},"themeFont":{"type":"object","properties":{"roleId":{"type":"string","enum":["heading","body"]},"scriptId":{"type":"string","enum":["latin","east-asian","complex-script"]}},"required":["roleId","scriptId"],"additionalProperties":false}},"additionalProperties":false},"fill":{"type":"object","properties":{"pattern":{"type":"string","enum":["none","solid","gray125"]},"color":{"anyOf":[{"anyOf":[{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},{"type":"object","properties":{"kind":{"const":"theme"},"roleId":{"type":"string","enum":["dark-1","light-1","dark-2","light-2","accent-1","accent-2","accent-3","accent-4","accent-5","accent-6","hyperlink","followed-hyperlink"]},"alpha":{"type":"number","minimum":0,"maximum":1}},"required":["kind","roleId"],"additionalProperties":false}]},{"type":"null"}]}},"additionalProperties":false},"border":{"type":"object","properties":{"left":{"type":"object","properties":{"style":{"type":"string","enum":["none","thin","medium","dashed","dotted","thick","double"]},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},{"type":"object","properties":{"kind":{"const":"theme"},"roleId":{"type":"string","enum":["dark-1","light-1","dark-2","light-2","accent-1","accent-2","accent-3","accent-4","accent-5","accent-6","hyperlink","followed-hyperlink"]},"alpha":{"type":"number","minimum":0,"maximum":1}},"required":["kind","roleId"],"additionalProperties":false}]}},"required":["style","color"],"additionalProperties":false},"right":{"type":"object","properties":{"style":{"type":"string","enum":["none","thin","medium","dashed","dotted","thick","double"]},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},{"type":"object","properties":{"kind":{"const":"theme"},"roleId":{"type":"string","enum":["dark-1","light-1","dark-2","light-2","accent-1","accent-2","accent-3","accent-4","accent-5","accent-6","hyperlink","followed-hyperlink"]},"alpha":{"type":"number","minimum":0,"maximum":1}},"required":["kind","roleId"],"additionalProperties":false}]}},"required":["style","color"],"additionalProperties":false},"top":{"type":"object","properties":{"style":{"type":"string","enum":["none","thin","medium","dashed","dotted","thick","double"]},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},{"type":"object","properties":{"kind":{"const":"theme"},"roleId":{"type":"string","enum":["dark-1","light-1","dark-2","light-2","accent-1","accent-2","accent-3","accent-4","accent-5","accent-6","hyperlink","followed-hyperlink"]},"alpha":{"type":"number","minimum":0,"maximum":1}},"required":["kind","roleId"],"additionalProperties":false}]}},"required":["style","color"],"additionalProperties":false},"bottom":{"type":"object","properties":{"style":{"type":"string","enum":["none","thin","medium","dashed","dotted","thick","double"]},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},{"type":"object","properties":{"kind":{"const":"theme"},"roleId":{"type":"string","enum":["dark-1","light-1","dark-2","light-2","accent-1","accent-2","accent-3","accent-4","accent-5","accent-6","hyperlink","followed-hyperlink"]},"alpha":{"type":"number","minimum":0,"maximum":1}},"required":["kind","roleId"],"additionalProperties":false}]}},"required":["style","color"],"additionalProperties":false}},"additionalProperties":false},"alignment":{"type":"object","properties":{"horizontal":{"type":"string","enum":["general","left","center","right"]},"vertical":{"type":"string","enum":["top","center","bottom"]},"wrapText":{"type":"boolean"},"shrinkToFit":{"type":"boolean"},"readingOrder":{"type":"string","enum":["context","left-to-right","right-to-left"]},"textRotation":{"anyOf":[{"type":"integer","minimum":-90,"maximum":90},{"const":"stacked"}]},"indent":{"type":"integer","minimum":0,"maximum":250}},"additionalProperties":false},"protection":{"type":"object","properties":{"locked":{"type":"boolean"},"hidden":{"type":"boolean"}},"additionalProperties":false},"quotePrefix":{"type":"boolean"}},"additionalProperties":false},"note":{"type":"string","maxLength":2000},"operation":{"const":"clear"}},"required":["workbookRef","contextId","targetRef"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/workbooks/"},{"name":"ewbook_link","kind":"act","impl":"imperative","description":"Draft hyperlink.","inputSchema":{"type":"object","properties":{"workbookRef":{"type":"string","minLength":1,"maxLength":200},"contextId":{"type":"string","minLength":1,"maxLength":200},"targetRef":{"type":"string","minLength":1,"maxLength":200},"text":{"type":"string","minLength":1,"maxLength":4096},"href":{"type":"string","minLength":1,"maxLength":2048},"note":{"type":"string","maxLength":2000}},"required":["workbookRef","contextId","targetRef","text","href"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/workbooks/"},{"name":"ewbook_structure","kind":"act","impl":"imperative","description":"Draft structure.","inputSchema":{"type":"object","properties":{"workbookRef":{"type":"string","minLength":1,"maxLength":200},"contextId":{"type":"string","minLength":1,"maxLength":200},"targetRef":{"type":"string","minLength":1,"maxLength":200},"changeSetId":{"type":"string","minLength":1,"maxLength":200},"operation":{"type":"string","enum":["create-sheet","rename-sheet","move-sheet","duplicate-sheet","set-tab-color","hide-sheet","delete-sheet","insert-rows","delete-rows","insert-columns","delete-columns","merge-cells","unmerge-cells","resize-rows","resize-columns","auto-fit-rows","auto-fit-columns","set-rows-hidden","set-columns-hidden"]},"label":{"type":"string","minLength":1,"maxLength":31},"note":{"type":"string","maxLength":2000},"anchorTargetRef":{"type":"string","minLength":1,"maxLength":200},"placement":{"type":"string","enum":["before","after"]},"color":{"type":["string","null"],"pattern":"^#[0-9A-Fa-f]{6}$"},"mode":{"type":"string","enum":["all","horizontally","vertically"]},"height":{"type":"integer","minimum":1,"maximum":480},"width":{"type":"integer","minimum":1,"maximum":640},"hidden":{"type":"boolean"}},"required":["workbookRef","contextId","targetRef","operation"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/workbooks/"},{"name":"ewbook_table","kind":"act","impl":"imperative","description":"Draft tables.","inputSchema":{"type":"object","properties":{"workbookRef":{"type":"string","minLength":1,"maxLength":200},"contextId":{"type":"string","minLength":1,"maxLength":200},"targetRef":{"type":"string","minLength":1,"maxLength":200},"changeSetId":{"type":"string","minLength":1,"maxLength":200},"operation":{"type":"string","enum":["create","update","resize","convert-to-range","set-totals-row","set-totals-function","insert-rows"]},"name":{"type":"string","minLength":1,"maxLength":255},"styleId":{"type":"string","enum":["light","medium","dark"]},"headerRow":{"type":"boolean"},"note":{"type":"string","maxLength":2000},"bandedRows":{"type":"boolean"},"bandedColumns":{"type":"boolean"},"firstColumn":{"type":"boolean"},"lastColumn":{"type":"boolean"},"rangeTargetRef":{"type":"string","minLength":1,"maxLength":200},"enabled":{"type":"boolean"},"column":{"type":"integer","minimum":0,"maximum":16383},"function":{"type":"string","enum":["none","average","count","count-numbers","maximum","minimum","sum","standard-deviation","variance","custom"]},"customFormula":{"type":"string","minLength":2,"maxLength":8192},"row":{"type":"integer","minimum":0,"maximum":1048575},"count":{"type":"integer","minimum":1,"maximum":1000}},"required":["workbookRef","contextId","targetRef","operation"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/workbooks/"},{"name":"ewbook_chart","kind":"act","impl":"imperative","description":"Draft charts.","inputSchema":{"type":"object","properties":{"workbookRef":{"type":"string","minLength":1,"maxLength":200},"contextId":{"type":"string","minLength":1,"maxLength":200},"targetRef":{"type":"string","minLength":1,"maxLength":200},"operation":{"type":"string","enum":["create","update","set-source","arrange","delete"]},"chartType":{"type":"string","enum":["area","area-stacked","area-percent-stacked","bar-clustered","bar-stacked","bar-percent-stacked","column-clustered","column-stacked","column-percent-stacked","line","line-stacked","line-percent-stacked","pie","doughnut","scatter","bubble","radar","stock","surface","combo"]},"title":{"type":"string","maxLength":256},"altText":{"type":"string","maxLength":1024},"orientation":{"type":"string","enum":["columns-as-series","rows-as-series"]},"placement":{"type":"object","properties":{"left":{"type":"number","minimum":0,"maximum":1000000},"top":{"type":"number","minimum":0,"maximum":1000000},"width":{"type":"number","minimum":180,"maximum":2000},"height":{"type":"number","minimum":120,"maximum":2000}},"required":["left","top","width","height"],"additionalProperties":false},"note":{"type":"string","maxLength":2000},"changeSetId":{"type":"string","minLength":1,"maxLength":200},"patch":{"type":"object","properties":{"title":{"type":["string","null"],"maxLength":256},"chartType":{"type":"string","enum":["area","area-stacked","area-percent-stacked","bar-clustered","bar-stacked","bar-percent-stacked","column-clustered","column-stacked","column-percent-stacked","line","line-stacked","line-percent-stacked","pie","doughnut","scatter","bubble","radar","stock","surface","combo"]},"altText":{"type":["string","null"],"maxLength":1024},"placement":{"type":"object","properties":{"left":{"type":"number","minimum":0,"maximum":1000000},"top":{"type":"number","minimum":0,"maximum":1000000},"width":{"type":"number","minimum":180,"maximum":2000},"height":{"type":"number","minimum":120,"maximum":2000}},"required":["left","top","width","height"],"additionalProperties":false}},"additionalProperties":false},"rangeTargetRef":{"type":"string","minLength":1,"maxLength":200},"action":{"type":"string","enum":["bring-forward","send-backward","bring-to-front","send-to-back"]}},"required":["workbookRef","contextId","targetRef","operation"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/workbooks/"},{"name":"ewbook_object","kind":"act","impl":"imperative","description":"Draft objects.","inputSchema":{"type":"object","properties":{"workbookRef":{"type":"string","minLength":1,"maxLength":200},"contextId":{"type":"string","minLength":1,"maxLength":200},"targetRef":{"type":"string","minLength":1,"maxLength":200},"changeSetId":{"type":"string","minLength":1,"maxLength":200},"operation":{"type":"string","enum":["create","update","replace-picture","arrange","delete"]},"kind":{"type":"string","enum":["checkbox","text-box","shape","picture"]},"patch":{"type":"object","properties":{"text":{"type":"string","maxLength":2000},"altText":{"type":["string","null"],"maxLength":2000},"checked":{"type":"boolean"},"textAlignment":{"type":"string","enum":["left","center","right","justify"]},"textVerticalAlignment":{"type":"string","enum":["top","middle","bottom"]},"textWrap":{"type":"boolean"},"textAutoFit":{"type":"string","enum":["none","shrink-text","resize-shape"]},"textFont":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"size":{"type":"number","minimum":1,"maximum":409},"bold":{"type":"boolean"},"italic":{"type":"boolean"},"underline":{"type":"string","enum":["none","single","double"]},"strikethrough":{"type":"boolean"},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},{"type":"object","properties":{"kind":{"const":"theme"},"roleId":{"type":"string","enum":["dark-1","light-1","dark-2","light-2","accent-1","accent-2","accent-3","accent-4","accent-5","accent-6","hyperlink","followed-hyperlink"]},"alpha":{"type":"number","minimum":0,"maximum":1}},"required":["kind","roleId"],"additionalProperties":false}]},"themeFont":{"type":"object","properties":{"roleId":{"type":"string","enum":["heading","body"]},"scriptId":{"type":"string","enum":["latin","east-asian","complex-script"]}},"required":["roleId","scriptId"],"additionalProperties":false}},"required":["name","size","bold","italic","underline","strikethrough","color"],"additionalProperties":false},"left":{"type":"number","minimum":0,"maximum":1000000},"top":{"type":"number","minimum":0,"maximum":1000000},"width":{"type":"number","minimum":32,"maximum":1000000},"height":{"type":"number","minimum":20,"maximum":1000000},"placementBehavior":{"type":"string","enum":["move-and-size","move","absolute"]},"rotationDegrees":{"type":"number","minimum":-360,"maximum":360},"flipHorizontal":{"type":"boolean"},"flipVertical":{"type":"boolean"},"fill":{"anyOf":[{"type":"string","pattern":"^(?:none|#[0-9A-Fa-f]{6})$"},{"type":"object","properties":{"kind":{"const":"theme"},"roleId":{"type":"string","enum":["dark-1","light-1","dark-2","light-2","accent-1","accent-2","accent-3","accent-4","accent-5","accent-6","hyperlink","followed-hyperlink"]},"alpha":{"type":"number","minimum":0,"maximum":1}},"required":["kind","roleId"],"additionalProperties":false}]},"stroke":{"anyOf":[{"type":"string","pattern":"^(?:none|#[0-9A-Fa-f]{6})$"},{"type":"object","properties":{"kind":{"const":"theme"},"roleId":{"type":"string","enum":["dark-1","light-1","dark-2","light-2","accent-1","accent-2","accent-3","accent-4","accent-5","accent-6","hyperlink","followed-hyperlink"]},"alpha":{"type":"number","minimum":0,"maximum":1}},"required":["kind","roleId"],"additionalProperties":false}]},"strokeWidthPt":{"type":"number","minimum":0.1,"maximum":100},"strokeDash":{"type":"string","enum":["solid","dash","dot","dash-dot"]},"drawingEffects":{"type":"object","properties":{"shadow":{"oneOf":[{"type":"null"},{"type":"object","properties":{"color":{"oneOf":[{"type":"object","properties":{"kind":{"const":"literal"},"color":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"alpha":{"type":"number","minimum":0,"maximum":1}},"required":["kind","color","alpha"],"additionalProperties":false},{"type":"object","properties":{"kind":{"const":"theme"},"roleId":{"type":"string","enum":["dark-1","light-1","dark-2","light-2","accent-1","accent-2","accent-3","accent-4","accent-5","accent-6","hyperlink","followed-hyperlink"]},"alpha":{"type":"number","minimum":0,"maximum":1}},"required":["kind","roleId","alpha"],"additionalProperties":false}]},"blurPt":{"type":"number","minimum":0,"maximum":200},"distancePt":{"type":"number","minimum":0,"maximum":200},"angleDegrees":{"type":"number","minimum":0,"maximum":359.9999}},"required":["color","blurPt","distancePt","angleDegrees"],"additionalProperties":false}]},"glow":{"oneOf":[{"type":"null"},{"type":"object","properties":{"color":{"oneOf":[{"type":"object","properties":{"kind":{"const":"literal"},"color":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"alpha":{"type":"number","minimum":0,"maximum":1}},"required":["kind","color","alpha"],"additionalProperties":false},{"type":"object","properties":{"kind":{"const":"theme"},"roleId":{"type":"string","enum":["dark-1","light-1","dark-2","light-2","accent-1","accent-2","accent-3","accent-4","accent-5","accent-6","hyperlink","followed-hyperlink"]},"alpha":{"type":"number","minimum":0,"maximum":1}},"required":["kind","roleId","alpha"],"additionalProperties":false}]},"radiusPt":{"type":"number","minimum":0,"maximum":200}},"required":["color","radiusPt"],"additionalProperties":false}]},"reflection":{"oneOf":[{"type":"null"},{"type":"object","properties":{"blurPt":{"type":"number","minimum":0,"maximum":200},"distancePt":{"type":"number","minimum":0,"maximum":200},"startAlpha":{"type":"number","minimum":0,"maximum":1},"endAlpha":{"type":"number","minimum":0,"maximum":1}},"required":["blurPt","distancePt","startAlpha","endAlpha"],"additionalProperties":false}]}},"required":["shadow","glow","reflection"],"additionalProperties":false},"pictureFormatting":{"type":"object","properties":{"opacity":{"type":"number","minimum":0,"maximum":1},"crop":{"oneOf":[{"type":"null"},{"type":"object","properties":{"left":{"type":"number","minimum":0,"exclusiveMaximum":0.95},"top":{"type":"number","minimum":0,"exclusiveMaximum":0.95},"right":{"type":"number","minimum":0,"exclusiveMaximum":0.95},"bottom":{"type":"number","minimum":0,"exclusiveMaximum":0.95}},"required":["left","top","right","bottom"],"additionalProperties":false}]},"adjustments":{"type":"object","properties":{"brightness":{"type":"number","minimum":0.25,"maximum":2},"contrast":{"type":"number","minimum":0.25,"maximum":2},"saturation":{"type":"number","minimum":0,"maximum":3},"hueRotateDegrees":{"type":"number","minimum":0,"maximum":359},"grayscale":{"type":"number","minimum":0,"maximum":1},"sepia":{"type":"number","minimum":0,"maximum":1},"blurPx":{"type":"number","minimum":0,"maximum":4}},"required":["brightness","contrast","saturation","hueRotateDegrees","grayscale","sepia","blurPx"],"additionalProperties":false}},"required":["opacity","crop","adjustments"],"additionalProperties":false}},"additionalProperties":false},"note":{"type":"string","maxLength":2000},"shapeKind":{"type":"string","enum":["text-box","vertical-text-box","line","arrow","elbow-connector","curve","freeform","scribble","rectangle","rounded-rectangle","oval","triangle","diamond","pentagon","hexagon","right-arrow","down-arrow","callout","action-button"]},"source":{"type":"object","properties":{"kind":{"const":"userPicker"}},"required":["kind"],"additionalProperties":false},"action":{"type":"string","enum":["bring-forward","send-backward","bring-to-front","send-to-back"]}},"required":["workbookRef","contextId","targetRef","operation"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/workbooks/"},{"name":"ewbook_review","kind":"act","impl":"imperative","description":"Draft reviews.","inputSchema":{"type":"object","properties":{"workbookRef":{"type":"string","minLength":1,"maxLength":200},"contextId":{"type":"string","minLength":1,"maxLength":200},"targetRef":{"type":"string","minLength":1,"maxLength":200},"changeSetId":{"type":"string","minLength":1,"maxLength":200},"operation":{"type":"string","enum":["create","update","delete"]},"kind":{"type":"string","enum":["comment","note"]},"text":{"type":"string","minLength":1,"maxLength":100000},"note":{"type":"string","maxLength":2000}},"required":["workbookRef","contextId","targetRef","operation"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/workbooks/"},{"name":"ewbook_data","kind":"act","impl":"imperative","description":"Draft data or rules.","inputSchema":{"type":"object","properties":{"workbookRef":{"type":"string","minLength":1,"maxLength":200},"contextId":{"type":"string","minLength":1,"maxLength":200},"targetRef":{"type":"string","minLength":1,"maxLength":200},"operation":{"type":"string","enum":["set-conditional-format","clear-conditional-formats","import-text","set-validation","update-validation","delete-validation","clear-validation","sort","text-to-columns","set-filter","set-filter-criterion","clear-filter-criteria","delete-filter","create-name","update-name","delete-name","clean-data","directional-fill","fill-series","replace-all","remove-duplicates","copy-range"]},"rule":{"oneOf":[{"oneOf":[{"type":"object","properties":{"type":{"const":"cell-value"},"operator":{"type":"string","enum":["greater-than","less-than","equal","not-equal","greater-than-or-equal","less-than-or-equal","between","not-between"]},"value":{"type":"string","minLength":1,"maxLength":512},"secondValue":{"type":"string","minLength":1,"maxLength":512}},"required":["type","operator","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"const":"contains-text"},"text":{"type":"string","minLength":1,"maxLength":512}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"const":"not-contains-text"},"text":{"type":"string","minLength":1,"maxLength":512}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"const":"begins-with"},"text":{"type":"string","minLength":1,"maxLength":512}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"const":"ends-with"},"text":{"type":"string","minLength":1,"maxLength":512}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"const":"date-occurring"},"period":{"type":"string","enum":["yesterday","today","tomorrow","last-7-days","last-week","this-week","next-week","last-month","this-month","next-month"]}},"required":["type","period"],"additionalProperties":false},{"type":"object","properties":{"type":{"const":"rank"},"direction":{"type":"string","enum":["top","bottom"]},"rank":{"type":"integer","minimum":1,"maximum":1000},"percent":{"type":"boolean"}},"required":["type","direction","rank","percent"],"additionalProperties":false},{"type":"object","properties":{"type":{"const":"duplicate-values"},"unique":{"type":"boolean"}},"required":["type","unique"],"additionalProperties":false},{"type":"object","properties":{"type":{"const":"data-bar"},"color":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"}},"required":["type","color"],"additionalProperties":false},{"type":"object","properties":{"type":{"const":"color-scale"},"minimumColor":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"midpointColor":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"maximumColor":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"}},"required":["type","minimumColor","midpointColor","maximumColor"],"additionalProperties":false}]},{"oneOf":[{"type":"object","properties":{"ignoreBlank":{"type":"boolean"},"showInputMessage":{"type":"boolean"},"inputTitle":{"type":"string","maxLength":32},"inputMessage":{"type":"string","maxLength":255},"errorStyle":{"type":"string","enum":["stop","warning","information"]},"errorTitle":{"type":"string","maxLength":32},"errorMessage":{"type":"string","maxLength":255},"type":{"const":"list"},"source":{"type":"string","minLength":1,"maxLength":32767},"inCellDropdown":{"type":"boolean"}},"required":["type","ignoreBlank","showInputMessage","inputTitle","inputMessage","errorStyle","errorTitle","errorMessage","source","inCellDropdown"],"additionalProperties":false},{"type":"object","properties":{"ignoreBlank":{"type":"boolean"},"showInputMessage":{"type":"boolean"},"inputTitle":{"type":"string","maxLength":32},"inputMessage":{"type":"string","maxLength":255},"errorStyle":{"type":"string","enum":["stop","warning","information"]},"errorTitle":{"type":"string","maxLength":32},"errorMessage":{"type":"string","maxLength":255},"type":{"const":"custom"},"formula":{"type":"string","minLength":1,"maxLength":32767}},"required":["type","ignoreBlank","showInputMessage","inputTitle","inputMessage","errorStyle","errorTitle","errorMessage","formula"],"additionalProperties":false},{"type":"object","properties":{"ignoreBlank":{"type":"boolean"},"showInputMessage":{"type":"boolean"},"inputTitle":{"type":"string","maxLength":32},"inputMessage":{"type":"string","maxLength":255},"errorStyle":{"type":"string","enum":["stop","warning","information"]},"errorTitle":{"type":"string","maxLength":32},"errorMessage":{"type":"string","maxLength":255},"type":{"type":"string","enum":["whole-number","decimal","date","time","text-length"]},"operator":{"type":"string","enum":["between","not-between"]},"minimum":{"type":"string","minLength":1,"maxLength":32767},"maximum":{"type":"string","minLength":1,"maxLength":32767}},"required":["type","ignoreBlank","showInputMessage","inputTitle","inputMessage","errorStyle","errorTitle","errorMessage","operator","minimum","maximum"],"additionalProperties":false},{"type":"object","properties":{"ignoreBlank":{"type":"boolean"},"showInputMessage":{"type":"boolean"},"inputTitle":{"type":"string","maxLength":32},"inputMessage":{"type":"string","maxLength":255},"errorStyle":{"type":"string","enum":["stop","warning","information"]},"errorTitle":{"type":"string","maxLength":32},"errorMessage":{"type":"string","maxLength":255},"type":{"type":"string","enum":["whole-number","decimal","date","time","text-length"]},"operator":{"type":"string","enum":["equal","not-equal","greater-than","less-than","greater-than-or-equal","less-than-or-equal"]},"value":{"type":"string","minLength":1,"maxLength":32767}},"required":["type","ignoreBlank","showInputMessage","inputTitle","inputMessage","errorStyle","errorTitle","errorMessage","operator","value"],"additionalProperties":false}]}]},"format":{"type":"object","properties":{"fillColor":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"fontColor":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"bold":{"type":"boolean"}},"additionalProperties":false},"note":{"type":"string","maxLength":2000},"source":{"type":"object","properties":{"kind":{"const":"userPicker"}},"required":["kind"],"additionalProperties":false},"orientation":{"type":"string","enum":["rows","columns"]},"hasHeader":{"type":"boolean"},"caseSensitive":{"type":"boolean"},"keys":{"type":"array","minItems":1,"maxItems":64,"items":{"oneOf":[{"type":"object","properties":{"index":{"type":"integer","minimum":0},"direction":{"type":"string","enum":["ascending","descending"]},"valueKind":{"type":"string","enum":["automatic","text","number","date"]}},"required":["index","direction","valueKind"],"additionalProperties":false},{"type":"object","properties":{"index":{"type":"integer","minimum":0},"direction":{"type":"string","enum":["ascending","descending"]},"valueKind":{"const":"custom-list"},"customList":{"type":"array","minItems":2,"maxItems":256,"items":{"type":"string","minLength":1,"maxLength":128}}},"required":["index","direction","valueKind","customList"],"additionalProperties":false}]}},"destinationTargetRef":{"type":"string","minLength":1,"maxLength":200},"configuration":{"oneOf":[{"oneOf":[{"type":"object","properties":{"mode":{"const":"delimited"},"delimiter":{"type":"string","minLength":1,"maxLength":16}},"required":["mode","delimiter"],"additionalProperties":false},{"type":"object","properties":{"mode":{"const":"fixed-width"},"breakPositions":{"type":"array","minItems":1,"maxItems":64,"uniqueItems":true,"items":{"type":"integer","minimum":1,"maximum":32767}}},"required":["mode","breakPositions"],"additionalProperties":false}]},{"oneOf":[{"type":"object","properties":{"direction":{"type":"string","enum":["down","right"]},"type":{"const":"linear"},"step":{"type":"number","minimum":-1.7976931348623157e+308,"maximum":1.7976931348623157e+308},"stop":{"type":"number","minimum":-1.7976931348623157e+308,"maximum":1.7976931348623157e+308}},"required":["direction","type","step"],"additionalProperties":false},{"type":"object","properties":{"direction":{"type":"string","enum":["down","right"]},"type":{"const":"growth"},"step":{"type":"number","exclusiveMinimum":0,"maximum":1.7976931348623157e+308},"stop":{"type":"number","minimum":-1.7976931348623157e+308,"maximum":1.7976931348623157e+308}},"required":["direction","type","step"],"additionalProperties":false}]},{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":500},"replacement":{"type":"string","maxLength":32767},"lookIn":{"type":"string","enum":["inputs","values"]},"matchCase":{"type":"boolean"},"wholeWord":{"type":"boolean"}},"required":["query","replacement","lookIn","matchCase","wholeWord"],"additionalProperties":false}]},"mode":{"type":"string","enum":["auto-filter","advanced","copy","days","weekdays","months","years","all","values","formulas","formatting","number-formats","comments-notes","validation","values-source-formatting","transpose"]},"criterion":{"oneOf":[{"type":"object","properties":{"kind":{"const":"values"},"col":{"type":"integer","minimum":0,"maximum":16383},"values":{"type":"array","minItems":1,"maxItems":1000,"uniqueItems":true,"items":{"type":"string","maxLength":512}},"dateGroups":{"type":"array","minItems":1,"maxItems":1000,"uniqueItems":true,"items":{"oneOf":[{"type":"object","properties":{"grouping":{"const":"year"},"year":{"type":"integer","minimum":1900,"maximum":9999}},"required":["grouping","year"],"additionalProperties":false},{"type":"object","properties":{"grouping":{"const":"month"},"year":{"type":"integer","minimum":1900,"maximum":9999},"month":{"type":"integer","minimum":1,"maximum":12}},"required":["grouping","year","month"],"additionalProperties":false},{"type":"object","properties":{"grouping":{"const":"day"},"year":{"type":"integer","minimum":1900,"maximum":9999},"month":{"type":"integer","minimum":1,"maximum":12},"day":{"type":"integer","minimum":1,"maximum":31}},"required":["grouping","year","month","day"],"additionalProperties":false},{"type":"object","properties":{"grouping":{"const":"hour"},"year":{"type":"integer","minimum":1900,"maximum":9999},"month":{"type":"integer","minimum":1,"maximum":12},"day":{"type":"integer","minimum":1,"maximum":31},"hour":{"type":"integer","minimum":0,"maximum":23}},"required":["grouping","year","month","day","hour"],"additionalProperties":false},{"type":"object","properties":{"grouping":{"const":"minute"},"year":{"type":"integer","minimum":1900,"maximum":9999},"month":{"type":"integer","minimum":1,"maximum":12},"day":{"type":"integer","minimum":1,"maximum":31},"hour":{"type":"integer","minimum":0,"maximum":23},"minute":{"type":"integer","minimum":0,"maximum":59}},"required":["grouping","year","month","day","hour","minute"],"additionalProperties":false},{"type":"object","properties":{"grouping":{"const":"second"},"year":{"type":"integer","minimum":1900,"maximum":9999},"month":{"type":"integer","minimum":1,"maximum":12},"day":{"type":"integer","minimum":1,"maximum":31},"hour":{"type":"integer","minimum":0,"maximum":23},"minute":{"type":"integer","minimum":0,"maximum":59},"second":{"type":"integer","minimum":0,"maximum":59}},"required":["grouping","year","month","day","hour","minute","second"],"additionalProperties":false}]}}},"required":["kind","col"],"additionalProperties":false},{"type":"object","properties":{"kind":{"const":"rank"},"col":{"type":"integer","minimum":0,"maximum":16383},"direction":{"type":"string","enum":["top","bottom"]},"value":{"type":"integer","minimum":1,"maximum":500},"percent":{"type":"boolean"}},"required":["kind","col","direction","value","percent"],"additionalProperties":false},{"type":"object","properties":{"kind":{"const":"average"},"col":{"type":"integer","minimum":0,"maximum":16383},"direction":{"type":"string","enum":["above","below"]}},"required":["kind","col","direction"],"additionalProperties":false},{"type":"object","properties":{"kind":{"const":"error"},"col":{"type":"integer","minimum":0,"maximum":16383},"include":{"type":"boolean"}},"required":["kind","col","include"],"additionalProperties":false},{"type":"object","properties":{"kind":{"const":"conditions"},"col":{"type":"integer","minimum":0,"maximum":16383},"join":{"type":"string","enum":["and","or"]},"conditions":{"type":"array","minItems":1,"maxItems":2,"items":{"oneOf":[{"type":"object","properties":{"operator":{"type":"string","enum":["blank","nonblank"]}},"required":["operator"],"additionalProperties":false},{"type":"object","properties":{"operator":{"type":"string","enum":["equals","not-equal","contains","not-contains","begins-with","ends-with","greater-than","greater-than-or-equal","less-than","less-than-or-equal"]},"value":{"type":"string","minLength":1,"maxLength":512}},"required":["operator","value"],"additionalProperties":false}]}}},"required":["kind","col","join","conditions"],"additionalProperties":false}]},"col":{"type":"integer","minimum":0,"maximum":16383},"scope":{"type":"string","enum":["workbook","sheet"]},"name":{"type":"string","minLength":1,"maxLength":255},"formula":{"type":"string","minLength":1,"maxLength":8193},"comment":{"type":"string","maxLength":1024},"scopeTargetRef":{"type":"string","minLength":1,"maxLength":200},"direction":{"type":"string","enum":["down","right","up","left"]},"keyColumnOffsets":{"type":"array","minItems":1,"maxItems":2500,"uniqueItems":true,"items":{"type":"integer","minimum":0,"maximum":16383}}},"required":["workbookRef","contextId","targetRef","operation"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/workbooks/"},{"name":"ewbook_layout","kind":"act","impl":"imperative","description":"Draft layout.","inputSchema":{"type":"object","properties":{"workbookRef":{"type":"string","minLength":1,"maxLength":200},"contextId":{"type":"string","minLength":1,"maxLength":200},"targetRef":{"type":"string","minLength":1,"maxLength":200},"operation":{"type":"string","enum":["update-page-setup","set-print-area","clear-print-area","set-print-titles","set-page-breaks","update-sheet-view","set-freeze-panes","clear-freeze-panes","set-split-panes","clear-split-panes"]},"patch":{"oneOf":[{"type":"object","properties":{"orientation":{"type":"string","enum":["portrait","landscape"]},"paperSize":{"type":"string","enum":["letter","a4","legal"]},"scaleWidth":{"type":"string","enum":["automatic","1-page","2-pages"]},"scaleHeight":{"type":"string","enum":["automatic","1-page","2-pages"]},"scalePercent":{"type":"integer","enum":[100,90,75,50]},"margins":{"type":"object","properties":{"top":{"type":"number","minimum":0,"maximum":10},"bottom":{"type":"number","minimum":0,"maximum":10},"left":{"type":"number","minimum":0,"maximum":10},"right":{"type":"number","minimum":0,"maximum":10},"header":{"type":"number","minimum":0,"maximum":10},"footer":{"type":"number","minimum":0,"maximum":10}},"required":["top","bottom","left","right","header","footer"],"additionalProperties":false},"centerHorizontally":{"type":"boolean"},"centerVertically":{"type":"boolean"},"headerFooter":{"type":"object","properties":{"defaultHeader":{"type":"object","properties":{"left":{"type":"string","maxLength":255},"center":{"type":"string","maxLength":255},"right":{"type":"string","maxLength":255}},"required":["left","center","right"],"additionalProperties":false},"defaultFooter":{"type":"object","properties":{"left":{"type":"string","maxLength":255},"center":{"type":"string","maxLength":255},"right":{"type":"string","maxLength":255}},"required":["left","center","right"],"additionalProperties":false},"firstPageHeader":{"type":"object","properties":{"left":{"type":"string","maxLength":255},"center":{"type":"string","maxLength":255},"right":{"type":"string","maxLength":255}},"required":["left","center","right"],"additionalProperties":false},"firstPageFooter":{"type":"object","properties":{"left":{"type":"string","maxLength":255},"center":{"type":"string","maxLength":255},"right":{"type":"string","maxLength":255}},"required":["left","center","right"],"additionalProperties":false},"evenPageHeader":{"type":"object","properties":{"left":{"type":"string","maxLength":255},"center":{"type":"string","maxLength":255},"right":{"type":"string","maxLength":255}},"required":["left","center","right"],"additionalProperties":false},"evenPageFooter":{"type":"object","properties":{"left":{"type":"string","maxLength":255},"center":{"type":"string","maxLength":255},"right":{"type":"string","maxLength":255}},"required":["left","center","right"],"additionalProperties":false},"differentFirstPage":{"type":"boolean"},"differentOddEvenPages":{"type":"boolean"},"scaleWithDocument":{"type":"boolean"},"alignWithMargins":{"type":"boolean"}},"required":["defaultHeader","defaultFooter","firstPageHeader","firstPageFooter","evenPageHeader","evenPageFooter","differentFirstPage","differentOddEvenPages","scaleWithDocument","alignWithMargins"],"additionalProperties":false},"printGridlines":{"type":"boolean"},"printHeadings":{"type":"boolean"},"pageOrder":{"type":"string","enum":["down-then-over","over-then-down"]},"cellErrors":{"type":"string","enum":["displayed","blank","dash","not-available"]},"comments":{"type":"string","enum":["none","at-end"]},"blackAndWhite":{"type":"boolean"},"draftQuality":{"type":"boolean"},"sheetDirection":{"type":"string","enum":["left-to-right","right-to-left"]},"backgroundColor":{"oneOf":[{"type":"null"},{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"}]}},"additionalProperties":false},{"type":"object","properties":{"gridlinesVisible":{"type":"boolean"},"headingsVisible":{"type":"boolean"},"showFormulas":{"type":"boolean"},"viewMode":{"type":"string","enum":["normal","page-break-preview","page-layout"]},"zoomPercent":{"type":"integer","minimum":50,"maximum":200}},"additionalProperties":false}]},"note":{"type":"string","maxLength":2000},"mode":{"type":"string","enum":["replace","add"]},"rows":{"oneOf":[{"type":"null"},{"type":"object","properties":{"start":{"type":"integer","minimum":0,"maximum":1048575,"description":"Inclusive zero-based start."},"end":{"type":"integer","minimum":0,"maximum":1048575,"description":"Inclusive zero-based end."}},"required":["start","end"],"additionalProperties":false}]},"columns":{"oneOf":[{"type":"null"},{"type":"object","properties":{"start":{"type":"integer","minimum":0,"maximum":16383,"description":"Inclusive zero-based start."},"end":{"type":"integer","minimum":0,"maximum":16383,"description":"Inclusive zero-based end."}},"required":["start","end"],"additionalProperties":false}]},"rowBreaks":{"type":"array","maxItems":1024,"uniqueItems":true,"items":{"type":"integer","minimum":1,"maximum":1048575}},"columnBreaks":{"type":"array","maxItems":1024,"uniqueItems":true,"items":{"type":"integer","minimum":1,"maximum":16383}},"frozenRows":{"type":"integer","minimum":0,"maximum":1048575},"frozenColumns":{"type":"integer","minimum":0,"maximum":16383},"splitRows":{"type":"integer","minimum":0,"maximum":1048575},"splitColumns":{"type":"integer","minimum":0,"maximum":16383}},"required":["workbookRef","contextId","targetRef","operation"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/workbooks/"},{"name":"ewbook_calculation","kind":"act","impl":"imperative","description":"Draft calculation mode.","inputSchema":{"type":"object","properties":{"workbookRef":{"type":"string","minLength":1,"maxLength":200},"contextId":{"type":"string","minLength":1,"maxLength":200},"targetRef":{"type":"string","minLength":1,"maxLength":200},"operation":{"const":"set-mode"},"mode":{"type":"string","enum":["automatic","automatic-except-data-tables","manual"]},"note":{"type":"string","maxLength":2000}},"required":["workbookRef","contextId","targetRef","operation","mode"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/workbooks/"},{"name":"ewbook_recalculate","kind":"act","impl":"imperative","description":"Recalculate without history.","inputSchema":{"type":"object","properties":{"workbookRef":{"type":"string","minLength":1,"maxLength":200},"contextId":{"type":"string","minLength":1,"maxLength":200},"targetRef":{"type":"string","minLength":1,"maxLength":200},"scope":{"type":"string","enum":["workbook","sheet"]}},"required":["workbookRef","contextId","targetRef","scope"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/workbooks/"},{"name":"ewbook_preview","kind":"act","impl":"imperative","description":"Preview effects.","inputSchema":{"type":"object","properties":{"workbookRef":{"type":"string","minLength":1,"maxLength":200},"changeSetId":{"type":"string","minLength":1,"maxLength":200}},"required":["workbookRef","changeSetId"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/workbooks/"},{"name":"ewbook_commit","kind":"act","impl":"imperative","description":"Approve and commit.","inputSchema":{"type":"object","properties":{"workbookRef":{"type":"string","minLength":1,"maxLength":200},"changeSetId":{"type":"string","minLength":1,"maxLength":200}},"required":["workbookRef","changeSetId"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/workbooks/"},{"name":"ewbook_discard","kind":"act","impl":"imperative","description":"Discard draft.","inputSchema":{"type":"object","properties":{"workbookRef":{"type":"string","minLength":1,"maxLength":200},"changeSetId":{"type":"string","minLength":1,"maxLength":200}},"required":["workbookRef","changeSetId"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/workbooks/"},{"name":"ewnotes_status","kind":"answer","impl":"imperative","description":"Read the active E-Worker Notes file, note, dirty state, bounded limits, and currently available semantic capabilities.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/notes/"},{"name":"ewnotes_read","kind":"answer","impl":"imperative","description":"Read bounded semantic Notes content from the active note or one exact opaque target returned by status, read, or search.","inputSchema":{"type":"object","properties":{"contextId":{"type":"string","minLength":40,"maxLength":80,"description":"Revision-bound context returned by a Notes semantic read."},"targetRef":{"type":"string","minLength":40,"maxLength":80,"description":"Exact Notes target returned in the matching context."},"maxItems":{"type":"integer","minimum":1,"maximum":80},"maxCharacters":{"type":"integer","minimum":1,"maximum":40000}},"required":[],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/notes/"},{"name":"ewnotes_search","kind":"answer","impl":"imperative","description":"Search bounded indexed Notes titles, content, checklists, tables, tags, images, or attachment metadata and return exact opaque targets.","inputSchema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":500},"scope":{"type":"string","enum":["page","section","notebook","all-open"]},"filter":{"type":"string","enum":["all","titles","text","checklists","tables","tags","images","files"]},"matchCase":{"type":"boolean"},"wholeWord":{"type":"boolean"},"maxResults":{"type":"integer","minimum":1,"maximum":100}},"required":["query"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/notes/"},{"name":"ewnotes_go_to","kind":"act","impl":"imperative","description":"Select and reveal one exact revision-bound Notes target without changing durable Notes content or history.","inputSchema":{"type":"object","properties":{"contextId":{"type":"string","minLength":40,"maxLength":80,"description":"Revision-bound context returned by status, read, or search."},"targetRef":{"type":"string","minLength":40,"maxLength":80,"description":"Exact target returned in the matching context."}},"required":["contextId","targetRef"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/notes/"},{"name":"ewnotes_new","kind":"act","impl":"imperative","description":"Create and activate one new unsaved local notebook. This does not save or create cloud content.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/notes/"},{"name":"ewnotes_switch","kind":"act","impl":"imperative","description":"Without notebookRef, list at most 100 opaque references for open local notebooks. With notebookRef, activate that exact notebook.","inputSchema":{"type":"object","properties":{"notebookRef":{"type":"string","minLength":40,"maxLength":80,"description":"Opaque notebook reference returned by this tool."}},"required":[],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/notes/"},{"name":"ewnotes_request_open","kind":"act","impl":"imperative","description":"Ask the user to choose one current .ewnotes file in the visible browser picker. Paths, URLs, cloud references, and raw bytes are rejected.","inputSchema":{"type":"object","properties":{"source":{"type":"object","properties":{"kind":{"type":"string","enum":["userPicker"]}},"required":["kind"],"additionalProperties":false}},"required":["source"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/notes/"},{"name":"ewnotes_request_save","kind":"act","impl":"imperative","description":"Request a host-governed local save or save-copy. The editor owns the destination and may require visible user action.","inputSchema":{"type":"object","properties":{"mode":{"type":"string","enum":["save","save-copy"]}},"required":["mode"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/notes/"},{"name":"ewnotes_compose","kind":"act","impl":"imperative","description":"Draft one complete notebook from a closed bounded notebook, section, note, text, checklist, and table recipe. Replaces the active notebook only after preview and approval as one Undo step.","inputSchema":{"type":"object","properties":{"contextRef":{"type":"string","minLength":40,"maxLength":80,"description":"Revision-bound context returned by ewnotes_status."},"steps":{"type":"array","minItems":2,"maxItems":24,"items":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["notebook"]},"title":{"type":"string","minLength":1,"maxLength":500}},"required":["kind","title"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["section"]},"title":{"type":"string","minLength":1,"maxLength":500},"notes":{"type":"array","minItems":1,"maxItems":100,"items":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":500},"blocks":{"type":"array","maxItems":200,"items":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["text"]},"title":{"type":"string","minLength":1,"maxLength":500},"text":{"type":"string","maxLength":20000},"style":{"type":"string","enum":["title","heading","body","quote","code"]}},"required":["kind","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["checklist"]},"title":{"type":"string","minLength":1,"maxLength":500},"text":{"type":"string","maxLength":20000},"checked":{"type":"boolean"}},"required":["kind","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["table"]},"title":{"type":"string","minLength":1,"maxLength":500},"cells":{"type":"array","minItems":1,"maxItems":100,"items":{"type":"array","minItems":1,"maxItems":32,"items":{"type":"string","maxLength":20000}}}},"required":["kind","cells"],"additionalProperties":false}]}}},"required":["title","blocks"],"additionalProperties":false}}},"required":["kind","title","notes"],"additionalProperties":false}]}}},"required":["contextRef","steps"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/notes/"},{"name":"ewnotes_structure","kind":"act","impl":"imperative","description":"Draft an exact notebook, section, note, or sub-note create, rename, delete, or ordering change without mutating the open notebook.","inputSchema":{"type":"object","properties":{"contextId":{"type":"string","minLength":40,"maxLength":80,"description":"Revision-bound Notes context."},"targetRef":{"type":"string","minLength":40,"maxLength":80,"description":"Exact structure target."},"operation":{"type":"string","enum":["rename","addNote","addSubNote","deleteNote","deleteSubNote","moveNoteBefore","moveSubNoteBefore"]},"label":{"type":"string","maxLength":500},"beforeContextId":{"type":"string","minLength":40,"maxLength":80,"description":"Context for the exact move destination."},"beforeTargetRef":{"type":"string","minLength":40,"maxLength":80,"description":"Exact move destination."}},"required":["contextId","targetRef","operation"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/notes/"},{"name":"ewnotes_blocks","kind":"act","impl":"imperative","description":"Draft bounded ordered text, checklist, table, code, or callout block changes against exact opaque targets.","inputSchema":{"type":"object","properties":{"contextId":{"type":"string","minLength":40,"maxLength":80,"description":"Revision-bound Notes context."},"targetRef":{"type":"string","minLength":40,"maxLength":80,"description":"Exact note or block target."},"operation":{"type":"string","enum":["add","replaceText","setTitle","moveBefore","delete"]},"blockKind":{"type":"string","enum":["text","checklist","table","code","callout"]},"title":{"type":"string","maxLength":500},"text":{"type":"string","maxLength":20000},"start":{"type":"integer","minimum":0,"maximum":20000},"end":{"type":"integer","minimum":0,"maximum":20000},"expectedText":{"type":"string","maxLength":20000},"beforeContextId":{"type":"string","minLength":40,"maxLength":80,"description":"Context for the exact block destination."},"beforeTargetRef":{"type":"string","minLength":40,"maxLength":80,"description":"Exact block destination."},"rows":{"type":"integer","minimum":1,"maximum":100},"columns":{"type":"integer","minimum":1,"maximum":32}},"required":["contextId","targetRef","operation"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/notes/"},{"name":"ewnotes_checklist","kind":"act","impl":"imperative","description":"Draft one exact checklist completion-state change.","inputSchema":{"type":"object","properties":{"contextId":{"type":"string","minLength":40,"maxLength":80,"description":"Revision-bound Notes context."},"targetRef":{"type":"string","minLength":40,"maxLength":80,"description":"Exact checklist target."},"operation":{"type":"string","enum":["setChecked"]},"checked":{"type":"boolean"}},"required":["contextId","targetRef","operation","checked"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/notes/"},{"name":"ewnotes_format","kind":"act","impl":"imperative","description":"Draft bounded block, text-range, or paragraph formatting on one exact block. Use camelCase format fields; preview and approval remain required.","inputSchema":{"type":"object","properties":{"contextId":{"type":"string","minLength":40,"maxLength":80,"description":"Revision-bound Notes context."},"targetRef":{"type":"string","minLength":40,"maxLength":80,"description":"Exact block target."},"operation":{"type":"string","enum":["setBlockFormat","setTextRangeFormat","setParagraphFormat"]},"start":{"type":"integer","minimum":0,"maximum":20000},"end":{"type":"integer","minimum":0,"maximum":20000},"format":{"type":"object","properties":{"style":{"type":"string","enum":["title","heading","body","quote","code"]},"fontFamily":{"type":"string","maxLength":200},"fontSize":{"type":"number","minimum":6,"maximum":200},"bold":{"type":"boolean"},"italic":{"type":"boolean"},"underline":{"type":"boolean"},"strikethrough":{"type":"boolean"},"baseline":{"type":"string","enum":["normal","subscript","superscript"]},"textColor":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"highlightColor":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"hyperlink":{"type":["string","null"],"maxLength":2048},"listKind":{"type":"string","enum":["none","bulleted","numbered"]},"indentLevel":{"type":"integer","minimum":0,"maximum":12},"alignment":{"type":"string","enum":["left","center","right","justify"]},"direction":{"type":"string","enum":["auto","ltr","rtl"]},"spaceBefore":{"type":"number","minimum":0,"maximum":500},"spaceAfter":{"type":"number","minimum":0,"maximum":500},"lineSpacing":{"type":"number","minimum":0.5,"maximum":10}},"required":[],"additionalProperties":false}},"required":["contextId","targetRef","operation","format"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/notes/"},{"name":"ewnotes_table","kind":"act","impl":"imperative","description":"Draft bounded table sizing, exact cell text, or rectangular table data changes.","inputSchema":{"type":"object","properties":{"contextId":{"type":"string","minLength":40,"maxLength":80,"description":"Revision-bound Notes context."},"targetRef":{"type":"string","minLength":40,"maxLength":80,"description":"Exact table target."},"operation":{"type":"string","enum":["configure","setCellText","setData"]},"rows":{"type":"integer","minimum":1,"maximum":100},"columns":{"type":"integer","minimum":1,"maximum":32},"row":{"type":"integer","minimum":1,"maximum":100},"column":{"type":"integer","minimum":1,"maximum":32},"expectedText":{"type":"string","maxLength":20000},"text":{"type":"string","maxLength":20000},"values":{"type":"array","maxItems":100,"items":{"type":"array","maxItems":32,"items":{"type":"string","maxLength":20000}}}},"required":["contextId","targetRef","operation"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/notes/"},{"name":"ewnotes_object","kind":"act","impl":"imperative","description":"Draft a shape change, or ask the user to choose one local image before drafting image insertion or replacement. Paths, URLs, and raw bytes are rejected.","inputSchema":{"type":"object","properties":{"contextId":{"type":"string","minLength":40,"maxLength":80,"description":"Revision-bound Notes context."},"targetRef":{"type":"string","minLength":40,"maxLength":80,"description":"Exact note or object block target."},"operation":{"type":"string","enum":["insertShape","updateShape","duplicateShape","insertImage","updateImage"]},"source":{"type":"string","enum":["userPicker"]},"text":{"type":"string","maxLength":20000},"accessibilityDescription":{"type":"string","maxLength":1000},"shapeKind":{"type":"string","enum":["rectangle","rounded-rectangle","oval","line","arrow","callout"]},"fillColor":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"fillTransparency":{"type":"number","minimum":0,"maximum":1},"outlineColor":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"outlineTransparency":{"type":"number","minimum":0,"maximum":1},"outlineWidth":{"type":"number","minimum":0,"maximum":20},"outlineStyle":{"type":"string","enum":["solid","dashed","dotted"]},"displayWidth":{"type":"number","minimum":24,"maximum":4096},"altText":{"type":"string","maxLength":1000}},"required":["contextId","targetRef","operation"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/notes/"},{"name":"ewnotes_tags","kind":"act","impl":"imperative","description":"Draft a custom tag definition or toggle an exact tag on one note or block. Use tagId values returned by ewnotes_read.","inputSchema":{"type":"object","properties":{"contextId":{"type":"string","minLength":40,"maxLength":80,"description":"Revision-bound Notes context."},"targetRef":{"type":"string","minLength":40,"maxLength":80,"description":"Exact notebook, note, or block target."},"operation":{"type":"string","enum":["createDefinition","updateDefinition","deleteDefinition","togglePage","toggleBlock"]},"tagId":{"type":"string","minLength":1,"maxLength":64},"label":{"type":"string","minLength":1,"maxLength":64},"icon":{"type":"string","enum":["task","important","question","remember","definition","highlight","contact","address","phone","custom"]},"color":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"shortcut":{"type":["string","null"],"pattern":"^Ctrl\\+[1-9]$"}},"required":["contextId","targetRef","operation"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/notes/"},{"name":"ewnotes_attachment","kind":"act","impl":"imperative","description":"Rename or delete one exact attachment, or ask the user to choose one local file before drafting add or replace. Paths, URLs, and raw bytes are rejected.","inputSchema":{"type":"object","properties":{"contextId":{"type":"string","minLength":40,"maxLength":80,"description":"Revision-bound Notes context."},"targetRef":{"type":"string","minLength":40,"maxLength":80,"description":"Exact note or attachment target."},"operation":{"type":"string","enum":["add","replace","rename","delete"]},"source":{"type":"string","enum":["userPicker"]},"label":{"type":"string","minLength":1,"maxLength":500}},"required":["contextId","targetRef","operation"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/notes/"},{"name":"ewnotes_layout","kind":"act","impl":"imperative","description":"Draft page appearance, section color, template creation, quick note creation, duplication, or exact same-notebook page copy/move.","inputSchema":{"type":"object","properties":{"contextId":{"type":"string","minLength":40,"maxLength":80,"description":"Revision-bound Notes context."},"targetRef":{"type":"string","minLength":40,"maxLength":80,"description":"Exact page or section target."},"operation":{"type":"string","enum":["setPageAppearance","setSectionColor","createFromTemplate","createQuickNote","duplicatePage","duplicateSection","copyPageToSection","movePageToSection"]},"ruleLines":{"type":"string","enum":["none","narrow","wide","grid"]},"pageColor":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"paperSize":{"type":"string","enum":["infinite","letter","legal","a4"]},"darkPage":{"type":"boolean"},"color":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"template":{"type":"string","enum":["blank","meeting-notes","project-plan","research"]},"destinationContextId":{"type":"string","minLength":40,"maxLength":80,"description":"Context for exact destination section."},"destinationTargetRef":{"type":"string","minLength":40,"maxLength":80,"description":"Exact destination section."}},"required":["contextId","targetRef","operation"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/notes/"},{"name":"ewnotes_preview","kind":"act","impl":"imperative","description":"Read the exact digest-bound before and after proposal before editor-policy authorization.","inputSchema":{"type":"object","properties":{"changeSetId":{"type":"string"}},"required":["changeSetId"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/notes/"},{"name":"ewnotes_commit","kind":"act","impl":"imperative","description":"Request visible approval and a verified restore point or explicit waiver, then commit one reversible Notes Undo action.","inputSchema":{"type":"object","properties":{"changeSetId":{"type":"string"}},"required":["changeSetId"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/notes/"},{"name":"ewnotes_discard","kind":"act","impl":"imperative","description":"Discard one exact Notes draft and any approval lease without changing the notebook.","inputSchema":{"type":"object","properties":{"changeSetId":{"type":"string"}},"required":["changeSetId"],"additionalProperties":false},"executable":true,"handlerField":"execute","page":"/apps/notes/"}],"category":"Productivity & Business","favicon":"/favicons/eworker.ca.png","apiSurface":"spec","toolCount":73}}