Title: Reduce context usage for `create_or_update_file` tool · Issue #2028 · github/github-mcp-server · GitHub
Open Graph Title: Reduce context usage for `create_or_update_file` tool · Issue #2028 · github/github-mcp-server
X Title: Reduce context usage for `create_or_update_file` tool · Issue #2028 · github/github-mcp-server
Description: We need to use minimal type to ensure only the strictly relevant information is returned back to the model by the tool, thus optimizing context window usage. Currently, we're just sending to the model the entire payload that comes back f...
Open Graph Description: We need to use minimal type to ensure only the strictly relevant information is returned back to the model by the tool, thus optimizing context window usage. Currently, we're just sending to the mo...
X Description: We need to use minimal type to ensure only the strictly relevant information is returned back to the model by the tool, thus optimizing context window usage. Currently, we're just sending to th...
Opengraph URL: https://github.com/github/github-mcp-server/issues/2028
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Reduce context usage for `create_or_update_file` tool","articleBody":"We need to use minimal type to ensure only the strictly relevant information is returned back to the model by the tool, thus optimizing context window usage. Currently, we're just sending to the model the entire payload that comes back from the GitHub API which can be quite large.\n\nPR: https://github.com/github/github-mcp-server/pull/2027","author":{"url":"https://github.com/tommaso-moro","@type":"Person","name":"tommaso-moro"},"datePublished":"2026-02-17T16:19:38.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2028/github-mcp-server/issues/2028"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:71f33647-5b87-df8b-0e14-60c4d05b8201 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E456:3FE03B:1C7D40:28E33A:6A63655C |
| html-safe-nonce | b8e00c80fc774b630007864c4d0f4807e45a57d3a15cda3bd5c06e28b77d51a8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNDU2OjNGRTAzQjoxQzdENDA6MjhFMzNBOjZBNjM2NTVDIiwidmlzaXRvcl9pZCI6Ijc3NTczOTY1NDM5OTAzNTkzODgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 33c1a71fbcde18a66f6531d65c3509fa253ba29effe19b741bb6398583c2add2 |
| hovercard-subject-tag | issue:3953579281 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/github-mcp-server/2028/issue_layout |
| twitter:image | https://opengraph.githubassets.com/32b3aed21f6d1750abe7ca569e8056ad37417e968dfb6fc9d1082a596f0baaf5/github/github-mcp-server/issues/2028 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/32b3aed21f6d1750abe7ca569e8056ad37417e968dfb6fc9d1082a596f0baaf5/github/github-mcp-server/issues/2028 |
| og:image:alt | We need to use minimal type to ensure only the strictly relevant information is returned back to the model by the tool, thus optimizing context window usage. Currently, we're just sending to the mo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tommaso-moro |
| hostname | github.com |
| expected-hostname | github.com |
| None | 669d3fcd704a169521d2b6431762f95a6878a9e8ccaf0fd5f2d0802fc5b971f9 |
| turbo-cache-control | no-preview |
| go-import | github.com/github/github-mcp-server git https://github.com/github/github-mcp-server.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 942771284 |
| octolytics-dimension-repository_nwo | github/github-mcp-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 942771284 |
| octolytics-dimension-repository_network_root_nwo | github/github-mcp-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 20da292f132ff51328be50073854259f417052c1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width