René's URL Explorer Experiment


Title: fix(onedrive): align tools with live Graph API docs, add missing endpoints by waleedlatif1 · Pull Request #5478 · simstudioai/sim · GitHub

Open Graph Title: fix(onedrive): align tools with live Graph API docs, add missing endpoints by waleedlatif1 · Pull Request #5478 · simstudioai/sim

X Title: fix(onedrive): align tools with live Graph API docs, add missing endpoints by waleedlatif1 · Pull Request #5478 · simstudioai/sim

Description: Summary Fixed a critical bug: search, move, copy, and create_share_link tools were registered but never wired into the block's operation switch/tools.access — selecting those operations in the UI would throw Invalid OneDrive operation Fixed tools.config.params to correctly remap the new canonical subBlock ids (moveFileId, copyDestinationFolderId, etc.) to the tool param names the tools actually expect Added onedrive_get_item and onedrive_get_drive_info tools (item metadata by id/path, drive quota) — both fully covered by the existing Files.Read scope, no new permissions needed Added missing block inputs/outputs for the new operations Alphabetized onedrive entries in tools/registry.ts Validated every tool's request/response shape against the live Microsoft Graph API docs (driveItem resource, copy/move/search/createLink endpoints) Constraint followed throughout: no new OAuth scopes added or proposed. Endpoints requiring broader scope (sharing-permission management beyond createLink, SharePoint-backed version history, cross-drive access) were identified and deliberately left out. Type of Change Bug fix Testing Tested manually. bun run lint, bunx tsc --noEmit, and existing onedrive/block/tool test suites all pass. 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 a critical bug: search, move, copy, and create_share_link tools were registered but never wired into the block's operation switch/tools.access — selecting those operations in the...

X Description: Summary Fixed a critical bug: search, move, copy, and create_share_link tools were registered but never wired into the block's operation switch/tools.access — selecting those operations in...

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

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:ad2f3d80-984f-5413-2767-d94d222b07cd
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id839A:858A:5A32C6:80C547:6AFB4361
html-safe-nonce3bc15fd28755a751b8095f685aab981ed2b84a13a4dcdfd26bc2c3dd48a8dc93
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzlBOjg1OEE6NUEzMkM2OjgwQzU0Nzo2QUZCNDM2MSIsInZpc2l0b3JfaWQiOiIzMDk2OTczMjQ2NzQyNjEwNzg1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacd2bd6ae813946cb78a1845b7d7c240112550f549e9f5bf332ba2ae8b06a95600
hovercard-subject-tagpull_request:4008580335
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/5478/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 a critical bug: search, move, copy, and create_share_link tools were registered but never wired into the block's operation switch/tools.access — selecting those operations in the...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noned849b928f455c800985398e7f1b659425adb312a5fa14fba5d9a14e62e9fe5dd
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
releasea6c2f87cbcb6414452377b4967858ed6a66f1109
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/5478/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5478%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%2F5478%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/5478/files
Reloadhttps://github.com/simstudioai/sim/pull/5478/files
Reloadhttps://github.com/simstudioai/sim/pull/5478/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests200 (200)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/onedrive-integrationhttps://github.com/simstudioai/sim/tree/validate/onedrive-integration
Conversation 28 https://github.com/simstudioai/sim/pull/5478
Commits 7 https://github.com/simstudioai/sim/pull/5478/commits
Checks 17 https://github.com/simstudioai/sim/pull/5478/checks
Files changed https://github.com/simstudioai/sim/pull/5478/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5478/files
fix(onedrive): align tools with live Graph API docs, add missing endpoints https://github.com/simstudioai/sim/pull/5478/files#top
Show all changes 7 commits https://github.com/simstudioai/sim/pull/5478/files
ba6627f fix(onedrive): align tools with live Graph API docs, add missing endp… waleedlatif1 Jul 7, 2026 https://github.com/simstudioai/sim/pull/5478/commits/ba6627fcfb10040138cba0ba3e5e2691a33e1a44
3e3cb9a fix(onedrive): escape single quotes in search query, document embed l… waleedlatif1 Jul 7, 2026 https://github.com/simstudioai/sim/pull/5478/commits/3e3cb9a989e1c2e45be137f4e7582ddf69fb4aa6
fb38f29 fix(onedrive): add real pagination continuation to search waleedlatif1 Jul 7, 2026 https://github.com/simstudioai/sim/pull/5478/commits/fb38f2946b1b28d5f51cbd7ca2b736b2357952c5
b6c14ae fix(onedrive): prevent SSRF/token exfiltration via search pageToken waleedlatif1 Jul 7, 2026 https://github.com/simstudioai/sim/pull/5478/commits/b6c14aee3f59f7fa6901a15c37af6ba621b19122
8a0c2c9 fix(onedrive): make search query optional for pageToken-only continua… waleedlatif1 Jul 7, 2026 https://github.com/simstudioai/sim/pull/5478/commits/8a0c2c9c24213de580809978c7ef516e5796b04c
64d3805 fix(onedrive): fix folder-targeting wiring, OData escaping, and downl… waleedlatif1 Jul 7, 2026 https://github.com/simstudioai/sim/pull/5478/commits/64d380525c7a6f84bca3e22aafe58c751d221341
5584abe fix(onedrive): reuse shared assertGraphNextPageUrl for page-token val… waleedlatif1 Jul 7, 2026 https://github.com/simstudioai/sim/pull/5478/commits/5584abee589c76674d1187da7a937836c238d045
Clear filters https://github.com/simstudioai/sim/pull/5478/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5478/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5478/files
onedrive.ts https://github.com/simstudioai/sim/pull/5478/files#diff-da68fbaab7d2d798174e2705d9047557594239003cfa129d41db0058bd0ad706
copy.ts https://github.com/simstudioai/sim/pull/5478/files#diff-1557cabdad2776bb26ed2857c37feadf485b54ac312bb3f4c7726a4b06da988a
create_folder.ts https://github.com/simstudioai/sim/pull/5478/files#diff-9e5e0f9f3310918f2e687fde52d4260e9ac78083929e90738639e8c9a8acab76
create_share_link.ts https://github.com/simstudioai/sim/pull/5478/files#diff-0f1022edf22e3d37f67ca54db07d7329f2098aa325adf5634f7643ee127e1fad
get_drive_info.ts https://github.com/simstudioai/sim/pull/5478/files#diff-6aaa34b4eb371cba2c5bf5f4120ccdee30f618739ecca84ccc86c5f3d5a11a9a
get_item.ts https://github.com/simstudioai/sim/pull/5478/files#diff-c6a46205225814e3bd4e91a47f2d13e1b82c0894e87d474c691b9c019ade96c9
index.ts https://github.com/simstudioai/sim/pull/5478/files#diff-d85194b14deead3a2a48ce089ff567093fd5f960ebd3b882cf58cc6f4d62f528
list.ts https://github.com/simstudioai/sim/pull/5478/files#diff-80f9cca8e85f9bf51db69581f5b73b9c78195e9705a53668458ad2f6b9730f4d
move.ts https://github.com/simstudioai/sim/pull/5478/files#diff-51ad05016b013136b39f4080d7963d16687adb9612a9abb79244f7194c9795a7
search.ts https://github.com/simstudioai/sim/pull/5478/files#diff-e917265d20ea773904f4fd6369ca38fee4f38586749631292850ab1e4d11992a
types.ts https://github.com/simstudioai/sim/pull/5478/files#diff-6d0194c7ba7fa93c8e538faac094f1da82bf9553b7f93dc3ec2701c979614cae
upload.ts https://github.com/simstudioai/sim/pull/5478/files#diff-3ad3b6947775c6dabd479da2404c0212b365962692a6147027e23c732dd0b1cb
utils.ts https://github.com/simstudioai/sim/pull/5478/files#diff-14ffac4689ef3395ffb46188f9cc06bd47383ed45ae32c863e558356ae4315a7
registry.ts https://github.com/simstudioai/sim/pull/5478/files#diff-a05e54887bf05477726b00df4183dd4a3fa0fd1f82b867bbf156e1b6a6d7e3fa
apps/sim/blocks/blocks/onedrive.tshttps://github.com/simstudioai/sim/pull/5478/files#diff-da68fbaab7d2d798174e2705d9047557594239003cfa129d41db0058bd0ad706
View file https://github.com/simstudioai/sim/blob/5584abee589c76674d1187da7a937836c238d045/apps/sim/blocks/blocks/onedrive.ts
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/simstudioai/sim/pull/5478/files
apps/sim/tools/onedrive/copy.tshttps://github.com/simstudioai/sim/pull/5478/files#diff-1557cabdad2776bb26ed2857c37feadf485b54ac312bb3f4c7726a4b06da988a
View file https://github.com/simstudioai/sim/blob/5584abee589c76674d1187da7a937836c238d045/apps/sim/tools/onedrive/copy.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5478/{{ revealButtonHref }}
apps/sim/tools/onedrive/create_folder.tshttps://github.com/simstudioai/sim/pull/5478/files#diff-9e5e0f9f3310918f2e687fde52d4260e9ac78083929e90738639e8c9a8acab76
View file https://github.com/simstudioai/sim/blob/5584abee589c76674d1187da7a937836c238d045/apps/sim/tools/onedrive/create_folder.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5478/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5478/files#diff-9e5e0f9f3310918f2e687fde52d4260e9ac78083929e90738639e8c9a8acab76
https://github.com/simstudioai/sim/pull/5478/files#diff-9e5e0f9f3310918f2e687fde52d4260e9ac78083929e90738639e8c9a8acab76
apps/sim/tools/onedrive/create_share_link.tshttps://github.com/simstudioai/sim/pull/5478/files#diff-0f1022edf22e3d37f67ca54db07d7329f2098aa325adf5634f7643ee127e1fad
View file https://github.com/simstudioai/sim/blob/5584abee589c76674d1187da7a937836c238d045/apps/sim/tools/onedrive/create_share_link.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5478/{{ revealButtonHref }}
Please reload this pagehttps://github.com/simstudioai/sim/pull/5478/files
apps/sim/tools/onedrive/get_drive_info.tshttps://github.com/simstudioai/sim/pull/5478/files#diff-6aaa34b4eb371cba2c5bf5f4120ccdee30f618739ecca84ccc86c5f3d5a11a9a
View file https://github.com/simstudioai/sim/blob/5584abee589c76674d1187da7a937836c238d045/apps/sim/tools/onedrive/get_drive_info.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5478/{{ revealButtonHref }}
apps/sim/tools/onedrive/get_item.tshttps://github.com/simstudioai/sim/pull/5478/files#diff-c6a46205225814e3bd4e91a47f2d13e1b82c0894e87d474c691b9c019ade96c9
View file https://github.com/simstudioai/sim/blob/5584abee589c76674d1187da7a937836c238d045/apps/sim/tools/onedrive/get_item.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5478/{{ revealButtonHref }}
apps/sim/tools/onedrive/index.tshttps://github.com/simstudioai/sim/pull/5478/files#diff-d85194b14deead3a2a48ce089ff567093fd5f960ebd3b882cf58cc6f4d62f528
View file https://github.com/simstudioai/sim/blob/5584abee589c76674d1187da7a937836c238d045/apps/sim/tools/onedrive/index.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5478/{{ revealButtonHref }}
Please reload this pagehttps://github.com/simstudioai/sim/pull/5478/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5478/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.