Add list action to manage_ka and manage_mas MCP tools#273
Open
CheeYuTan wants to merge 1 commit intodatabricks-solutions:mainfrom
Open
Add list action to manage_ka and manage_mas MCP tools#273CheeYuTan wants to merge 1 commit intodatabricks-solutions:mainfrom
CheeYuTan wants to merge 1 commit intodatabricks-solutions:mainfrom
Conversation
Previously there was no way to discover existing Knowledge Assistants or Supervisor Agents without knowing their exact name or tile_id. The core library already had list_all_agent_bricks() but it wasn't exposed via MCP tools. Now manage_ka(action="list") and manage_mas(action="list") return all KAs/MAS in the workspace.
calreynolds
approved these changes
Mar 9, 2026
Collaborator
|
@CheeYuTan can you fix linting? |
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.
Summary
action="list"to bothmanage_kaandmanage_masMCP toolslist_all_agent_bricks()withTileTypefiltering but it wasn't exposed via MCP toolsmanage_ka(action="list")returns all KAs with tile_id, name, descriptionmanage_mas(action="list")returns all Supervisor Agents with tile_id, name, descriptionTest proof
Tested against live workspace (
e2-demo-field-eng):list_all_agent_bricks()returns all 306 tileslist_all_agent_bricks(tile_type=TileType.KA)filters to 133 KAslist_all_agent_bricks(tile_type=TileType.MAS)filters to 82 MAS