Repository navigation
feat(tool/looker-get-data-app-extension,tool/looker-get-dashboard): add get_data_app_extension tool and expose extension_id in get_dashboard - #4564
Open
brettguenther wants to merge 1 commit into
Conversation
…tool and extension_id in get_dashboard (googleapis#4549)
Contributor
|
/gcbrun |
Contributor
There was a problem hiding this comment.
Code Review
This pull request introduces the new get_data_app_extension tool (type looker-get-data-app-extension) to retrieve metadata and published JavaScript ES module source code for Looker Data App Extensions. It includes the tool implementation, unit and integration tests, prebuilt configurations, and comprehensive documentation. Additionally, the looker-get-dashboard tool has been updated to retrieve and expose folder_id, appearance, and extension_id fields. I have no feedback to provide as there are no review comments to evalu 8000 ate.
1 task done
This branch has not been deployed
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.
Description
Adds the MCP read-back path for Looker Data Applications so stateless agentic clients can inspect an existing Data App dashboard, resolve its mounted
db::<id>extension, and retrieve its metadata and published JavaScript ES module source code before applying incremental edits viaupdate_data_app_extension:looker-get-dashboard(get_dashboard): Includesfolder_id,appearance, anddashboard_elements(..., extension_id, ...)in the requested Looker API fields projection so extension tiles report their mountedextension_id(db::<id>/app::<id>) alongside dashboard container metadata.looker-get-data-app-extension(get_data_app_extension): New read-only tool (ReadOnlyAnnotations) acceptingdata_app_extension_id(<id>ordb::<id>) and optionalinclude_code(boolean, defaulttrue). Fetches metadata fromGET /api/4.0/data_app_extension/{id}and, wheninclude_codeistrue, fetches the published uncompressed JavaScript ES module source fromGET /api/4.0/inline_extension/{id}/bundle.jsviasdk.AuthSession.Do.internal/prebuiltconfigs/tools/looker.yaml,cmd/internal/imports.go,cmd/internal/config_test.go,internal/tools/looker/looker_annotations_test.go,tests/looker/looker_integration_test.go, and Looker tool/prebuilt documentation.PR Checklist
CONTRIBUTING.md
bug/issue
before writing your code! That way we can discuss the change, evaluate
designs, and agree on the general idea
review
!if this involve a breaking change🛠️ Fixes #4549