René's URL Explorer Experiment


Title: fix(notion): align integration with live API docs, add block retrieval coverage by waleedlatif1 · Pull Request #5491 · simstudioai/sim · GitHub

Open Graph Title: fix(notion): align integration with live API docs, add block retrieval coverage by waleedlatif1 · Pull Request #5491 · simstudioai/sim

X Title: fix(notion): align integration with live API docs, add block retrieval coverage by waleedlatif1 · Pull Request #5491 · simstudioai/sim

Description: Summary Fixed notion_update_page being registered and wired in tools.access/tools.config.tool but completely unreachable in the UI — no dropdown option or subBlocks existed for it Fixed legacy NotionBlock outputs only declaring content/metadata, leaving 9 of 17 operations (add row, append/retrieve/update/delete block, comments, users) with no matching outputs Added .trim() on ID params (pageId, databaseId, parentId) used directly in request URLs across 8 tool files to guard against copy-paste whitespace Removed incorrect required: true on content for notion_create_page — Notion allows title-only page creation Removed a dead, unused NotionReadDatabaseParams interface shadowed by the real one in read_database.ts Added notion_retrieve_block/notion_retrieve_block_v2 (GET /v1/blocks/{id}) — we had update/delete/append/retrieve-children for blocks but no way to fetch a single block's content directly No OAuth scope changes — Notion's OAuth model has no scopes (access is governed by page/database sharing + integration capabilities), confirmed scopes: [] is correct and unchanged Type of Change Bug fix Testing Tested manually — validated every tool against live Notion API docs, ran full validate-integration checklist (tool params, block↔tool alignment, conditions, outputs, OAuth scopes). Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Open Graph Description: Summary Fixed notion_update_page being registered and wired in tools.access/tools.config.tool but completely unreachable in the UI — no dropdown option or subBlocks existed for it Fixed legacy Not...

X Description: Summary Fixed notion_update_page being registered and wired in tools.access/tools.config.tool but completely unreachable in the UI — no dropdown option or subBlocks existed for it Fixed legacy Not...

Opengraph URL: https://github.com/simstudioai/sim/pull/5491

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:9713d6ab-fb9f-7407-d04e-86111e4ed95a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC9B8:1BD5CA:7AFBF2:A9C580:6AFB4558
html-safe-nonce5f8d898c726441e4213a67320f20d220f6b40899e77b943338a23c1b2c4ee9a4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOUI4OjFCRDVDQTo3QUZCRjI6QTlDNTgwOjZBRkI0NTU4IiwidmlzaXRvcl9pZCI6IjEzNzUyMzg2NjQ0MzQxNzMyNzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7ffd1da6e8b507d59634ee973ccd45ac6931669043fb00cee02c8dcbd13da22e
hovercard-subject-tagpull_request:4009674297
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/5491/files
twitter:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
og:image:altSummary Fixed notion_update_page being registered and wired in tools.access/tools.config.tool but completely unreachable in the UI — no dropdown option or subBlocks existed for it Fixed legacy Not...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneacf7616d06cc051644705b379878c9bb13dc5e70ecf4ffd9b34140f8ac01d7e1
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release26504db649b58525278f77a52b80ba5f10d5f4de
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/5491/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5491%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5491%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/5491/files
Reloadhttps://github.com/simstudioai/sim/pull/5491/files
Reloadhttps://github.com/simstudioai/sim/pull/5491/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests199 (199)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
validate/notion-integrationhttps://github.com/simstudioai/sim/tree/validate/notion-integration
Conversation 11 https://github.com/simstudioai/sim/pull/5491
Commits 4 https://github.com/simstudioai/sim/pull/5491/commits
Checks 17 https://github.com/simstudioai/sim/pull/5491/checks
Files changed https://github.com/simstudioai/sim/pull/5491/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5491/files
fix(notion): align integration with live API docs, add block retrieval coverage https://github.com/simstudioai/sim/pull/5491/files#top
Show all changes 4 commits https://github.com/simstudioai/sim/pull/5491/files
bc26d1b fix(notion): align integration with live API docs, add block retrieva… waleedlatif1 Jul 7, 2026 https://github.com/simstudioai/sim/pull/5491/commits/bc26d1bd89bbc6cbee0e82fd5aaf6f551c8b3da6
8c918a5 fix(notion): second validation pass — pagination gaps, phantom output… waleedlatif1 Jul 7, 2026 https://github.com/simstudioai/sim/pull/5491/commits/8c918a538b10473666305fccdbe7ca8fc5762a4a
98cc1ef fix(notion): expose retrieve-block outputs in legacy block picker waleedlatif1 Jul 7, 2026 https://github.com/simstudioai/sim/pull/5491/commits/98cc1ef94982c353406a16bc8e908eb66c9b1d45
040d6e7 fix(notion): document type-specific content gap on retrieve_block output waleedlatif1 Jul 7, 2026 https://github.com/simstudioai/sim/pull/5491/commits/040d6e76774b4d6f291141869a4ec71e3f2aabad
Clear filters https://github.com/simstudioai/sim/pull/5491/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5491/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5491/files
notion.mdx https://github.com/simstudioai/sim/pull/5491/files#diff-c5533253e0f52a094bb858befef3b115cb3501746c59bd2d3acf83377b558e34
notion.ts https://github.com/simstudioai/sim/pull/5491/files#diff-91c87f367ea29ec44c3c22aa6b0dd69f8a53e7b48675e1ccac605752b210ec2a
add_database_row.ts https://github.com/simstudioai/sim/pull/5491/files#diff-a4271ecb7bf482a18f02aa0e852f2a175e34af2fa17b48205e2efd7a620de38a
create_database.ts https://github.com/simstudioai/sim/pull/5491/files#diff-f379433985ec2d27afdc575e72e5af30c2d4116f7d77d31d442679bdb47d27ae
create_page.ts https://github.com/simstudioai/sim/pull/5491/files#diff-6730c809badd1b98acd3583c6251f9f3204d10051df91a596373a2321d78ddaf
index.ts https://github.com/simstudioai/sim/pull/5491/files#diff-e86e8d618933c04829874e0d9856a92cbb9bf6e09af68423a9600538bc2474c4
query_database.ts https://github.com/simstudioai/sim/pull/5491/files#diff-37c999a96ad4fe0dca26964185c3e7069083598374b97e006be2b6aeb1b4cddb
read.ts https://github.com/simstudioai/sim/pull/5491/files#diff-af86019c7667f3ef21b4e74d9f513660c320fa73ccaee6a85896d894e4e7cd3f
read_database.ts https://github.com/simstudioai/sim/pull/5491/files#diff-96372ae98fefb552e68a41cf8fc2f9b832068d147b19f5ab33432d9c722b0305
retrieve_block.ts https://github.com/simstudioai/sim/pull/5491/files#diff-9803ba32c58ee67cb8e47cff25fb9fae6d4efc835ca8bfbbd096b324434aa83a
search.ts https://github.com/simstudioai/sim/pull/5491/files#diff-aaf75f42751935a2ef089e18cf89f8376b48b307d01d4f03f81c306f1ce167a1
types.ts https://github.com/simstudioai/sim/pull/5491/files#diff-383036834806c74439be6dfcb13bf4b595ca0c3a9ff14dd2e483eb28b9231d89
update_page.ts https://github.com/simstudioai/sim/pull/5491/files#diff-e40e81077001045cbdbc1c266c2d4bb29ea080991d1f0e5c230080b6fdd8f41a
write.ts https://github.com/simstudioai/sim/pull/5491/files#diff-00dc8095433ed66f23ad9f36908d96965eb09cf457c29947a8f36c879921014c
registry.ts https://github.com/simstudioai/sim/pull/5491/files#diff-a05e54887bf05477726b00df4183dd4a3fa0fd1f82b867bbf156e1b6a6d7e3fa
apps/docs/content/docs/en/integrations/notion.mdxhttps://github.com/simstudioai/sim/pull/5491/files#diff-c5533253e0f52a094bb858befef3b115cb3501746c59bd2d3acf83377b558e34
View file https://github.com/simstudioai/sim/blob/040d6e76774b4d6f291141869a4ec71e3f2aabad/apps/docs/content/docs/en/integrations/notion.mdx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5491/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5491/files#diff-c5533253e0f52a094bb858befef3b115cb3501746c59bd2d3acf83377b558e34
https://github.com/simstudioai/sim/pull/5491/files#diff-c5533253e0f52a094bb858befef3b115cb3501746c59bd2d3acf83377b558e34
https://github.com/simstudioai/sim/pull/5491/files#diff-c5533253e0f52a094bb858befef3b115cb3501746c59bd2d3acf83377b558e34
https://github.com/simstudioai/sim/pull/5491/files#diff-c5533253e0f52a094bb858befef3b115cb3501746c59bd2d3acf83377b558e34
https://github.com/simstudioai/sim/pull/5491/files#diff-c5533253e0f52a094bb858befef3b115cb3501746c59bd2d3acf83377b558e34
https://github.com/simstudioai/sim/pull/5491/files#diff-c5533253e0f52a094bb858befef3b115cb3501746c59bd2d3acf83377b558e34
https://github.com/simstudioai/sim/pull/5491/files#diff-c5533253e0f52a094bb858befef3b115cb3501746c59bd2d3acf83377b558e34
https://github.com/simstudioai/sim/pull/5491/files#diff-c5533253e0f52a094bb858befef3b115cb3501746c59bd2d3acf83377b558e34
https://github.com/simstudioai/sim/pull/5491/files#diff-c5533253e0f52a094bb858befef3b115cb3501746c59bd2d3acf83377b558e34
https://github.com/simstudioai/sim/pull/5491/files#diff-c5533253e0f52a094bb858befef3b115cb3501746c59bd2d3acf83377b558e34
https://github.com/simstudioai/sim/pull/5491/files#diff-c5533253e0f52a094bb858befef3b115cb3501746c59bd2d3acf83377b558e34
https://github.com/simstudioai/sim/pull/5491/files#diff-c5533253e0f52a094bb858befef3b115cb3501746c59bd2d3acf83377b558e34
https://github.com/simstudioai/sim/pull/5491/files#diff-c5533253e0f52a094bb858befef3b115cb3501746c59bd2d3acf83377b558e34
https://github.com/simstudioai/sim/pull/5491/files#diff-c5533253e0f52a094bb858befef3b115cb3501746c59bd2d3acf83377b558e34
https://github.com/simstudioai/sim/pull/5491/files#diff-c5533253e0f52a094bb858befef3b115cb3501746c59bd2d3acf83377b558e34
https://github.com/simstudioai/sim/pull/5491/files#diff-c5533253e0f52a094bb858befef3b115cb3501746c59bd2d3acf83377b558e34
https://github.com/simstudioai/sim/pull/5491/files#diff-c5533253e0f52a094bb858befef3b115cb3501746c59bd2d3acf83377b558e34
https://github.com/simstudioai/sim/pull/5491/files#diff-c5533253e0f52a094bb858befef3b115cb3501746c59bd2d3acf83377b558e34
https://github.com/simstudioai/sim/pull/5491/files#diff-c5533253e0f52a094bb858befef3b115cb3501746c59bd2d3acf83377b558e34
https://github.com/simstudioai/sim/pull/5491/files#diff-c5533253e0f52a094bb858befef3b115cb3501746c59bd2d3acf83377b558e34
Please reload this pagehttps://github.com/simstudioai/sim/pull/5491/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5491/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.