Repository navigation
feat: support snapshot resource ids - #986
Merged
Merged
Conversation
Contributor
Author
This was referenced May 20, 2026
cameroncooke
marked this pull request as ready for review
May 21, 2026 09:07
Contributor
Author
|
@dcramer I'm doing some work on improving MCP support for snapshots, @NicoHinderling recommended I check with you regarding this one, he feels this might be a bit heavy handed. My angle was we were inconsistent not supporting resources by resource type/id. Be interested to get you view, either way I'm not that bothered, just would be good to get your thoughts on whether you think this is worth it. |
cameroncooke
force-pushed
the
snapshot-mcp-image-resolution
branch
from
May 21, 2026 11:12
2d54c77 to
1b1bf96
Compare
cameroncooke
force-pushed
the
snapshot-resource-type
branch
from
May 21, 2026 11:12
a831f14 to
18284d5
Compare
Member
|
I’m in favor - until we can safely expose hundreds of tools without losing all steering well to continue to be clever |
cameroncooke
force-pushed
the
snapshot-resource-type
branch
from
May 26, 2026 09:00
18284d5 to
b42f876
Compare
cameroncooke
force-pushed
the
snapshot-mcp-image-resolution
branch
from
May 26, 2026 09:00
1b1bf96 to
6e4b175
Compare
cameroncooke
changed the base branch from
snapshot-mcp-image-resolution
to
graphite-base/986
May 26, 2026 10:08
cameroncooke
force-pushed
the
snapshot-resource-type
branch
from
May 26, 2026 10:37
b42f876 to
8f82d04
Compare
cameroncooke
changed the base branch from
graphite-base/986
to
snapshot-mcp-image-resolution
May 26, 2026 10:37
This was referenced May 26, 2026
NicoHinderling
approved these changes
May 26, 2026
cameroncooke
force-pushed
the
snapshot-mcp-image-resolution
branch
from
May 27, 2026 11:18
99d219e to
663840f
Compare
cameroncooke
force-pushed
the
snapshot-resource-type
branch
from
May 27, 2026 11:18
8f82d04 to
7a50a46
Compare
4 tasks done
cameroncooke
changed the base branch from
snapshot-mcp-image-resolution
to
graphite-base/986
May 27, 2026 13:03
cameroncooke
force-pushed
the
snapshot-resource-type
branch
from
May 27, 2026 13:04
7a50a46 to
b6611e1
Compare
cameroncooke
force-pushed
the
graphite-base/986
branch
from
May 27, 2026 13:04
663840f to
6a2eed9
Compare
cameroncooke
changed the base branch from
graphite-base/986
to
snapshot-mcp-image-resolution
May 27, 2026 13:04
cameroncooke
force-pushed
the
snapshot-resource-type
branch
from
May 27, 2026 13:12
b6611e1 to
85db962
Compare
cameroncooke
force-pushed
the
snapshot-mcp-image-resolution
branch
from
May 27, 2026 13:12
6a2eed9 to
7678454
Compare
Contributor
Author
Merge activity
|
cameroncooke
changed the base branch from
snapshot-mcp-image-resolution
to
graphite-base/986
May 27, 2026 14:14
Allow get_sentry_resource to fetch preprod snapshots by resourceType='snapshot' and snapshot images by resourceType='snapshotImage' with resourceId '<snapshotId>:<image_file_name>'. Regenerate MCP definitions and cover explicit snapshot resource lookup paths. Co-Authored-By: Codex CLI <[email protected]>
cameroncooke
force-pushed
the
snapshot-resource-type
branch
from
May 27, 2026 14:16
85db962 to
a7f1d05
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Allow
get_sentry_resourceto fetch preprod snapshots through explicit resource IDs as well as URLs. This gives agents a canonical resource-type path for snapshot summaries and selected snapshot images without adding another MCP tool.Resource IDs
resourceType='snapshot'usesresourceId='<snapshotId>'resourceType='snapshotImage'usesresourceId='<snapshotId>:<image_file_name>'The snapshot image form preserves the full image file name after the first colon, so slash-containing image identifiers continue to work.
Generic Resource Tool Contract
This intentionally does not add snapshot-specific input fields to
get_sentry_resource. The explicitsnapshotImageresource form returns the default preview behavior. Full-resolution image reads remain available through URL mode by appending&imageResolution=fullto a selected-image snapshot URL.Generated Metadata
Regenerates MCP tool and skill definitions so the new
snapshotandsnapshotImageresource types are visible to MCP clients and agent routing metadata.Coverage
Adds tests for explicit snapshot summary lookup and explicit snapshot image lookup, including slash-containing image identifiers.
Co-Authored-By: Codex CLI [email protected]