Files
sim/apps/docs
Waleed 69e3550a72 feat(integrations): extend Telegram, Outlook, and Notion tool depth (#5265)
* feat(telegram): add edit, forward, copy, location, contact, poll, pin, reaction, chat-action, and chat-info tools

* feat(outlook): add reply, reply-all, folders, attachments, search, and message-update tools

* feat(notion): add block children CRUD, comments, and users tools (v1 + v2)

* docs(integrations): regenerate docs + catalog for telegram, outlook, notion tools

* fix(notion): guard pageSize coercion with Number.isFinite so non-numeric input isn't forwarded as NaN

* fix(telegram): normalize send_poll options (array, JSON string, or newlines) so json-typed input can't crash on .map

* fix(integrations): harden outlook search quoting, notion archive default, and telegram poll options

- outlook: strip embedded double quotes from the $search term so they can't break the quoted KQL query
- notion: default the update_block Archive dropdown to 'Leave unchanged' so updates don't send an unintended archived:false restore flag
- telegram: pass raw poll options through to the tool's normalizePollOptions (handles array/JSON-string/newlines) so the block layer no longer mishandles JSON-string input

* fix(integrations): normalize outlook categories input and clamp notion pageSize

- outlook: normalize update_message categories (array, JSON string, or comma/newline) so a JSON-string value isn't silently dropped
- notion: clamp pageSize to Notion's 1-100 range (truncated) so out-of-range values don't hit an API error

* fix(outlook): pass raw categories to the tool's normalizeCategories so the block handles JSON-string input too

* fix(outlook): allow clearing message categories by passing an empty array

An explicit empty array now sends categories:[] to clear all labels, a non-empty value replaces, and an absent/empty value leaves them untouched — matching the documented replace semantics.

* fix(outlook): only clear categories on an explicit empty array, not a delimiter-only string

A string that normalizes to no categories (e.g. just commas) is now a no-op rather than clearing all labels; clearing requires an explicit empty array.

* fix(notion): clamp page_size to 1-100 at the tool layer for list comments/users and block children

Adds a shared clampNotionPageSize helper so the agent-direct path is bounded to Notion's range, not just the block path.

* fix(outlook): use consistent set/replace semantics for message categories

Categories are replaced with the provided non-empty list and left unchanged when empty, consistent across the block and agent paths. Drops the ambiguous empty-array clear (clearing all categories isn't expressible unambiguously from the comma-separated field) and updates the description to match.
2026-06-29 13:02:29 -07:00
..
2026-02-16 00:00:12 -08:00

docs

This is a Next.js application generated with Create Fumadocs.

Run development server:

bun run dev

Open http://localhost:3000 with your browser to see the result.

Learn More

To learn more about Next.js and Fumadocs, take a look at the following resources: