-
Notifications
You must be signed in to change notification settings - Fork 16
mcp_get_solution_components
PhuocLe edited this page Jun 20, 2026
·
3 revisions
| Field | Value |
|---|---|
| Tool name | get_solution_components |
| MCP title | List all components inside a solution |
| Category | standard |
| Implementation | DynamicsCrm.DevKit.Cli/Mcp/Tools/GetSolutionComponentsTool.cs |
| Estimated token count | ~236 tokens (tools/list tool JSON, o200k_base, measured 2026-06-18) |
| Last verified | 2026-06-18 |
List components in a Dataverse solution. Returns: solution info + count-per-type summary + detail (componentType, objectId, name). Full Entity components (rootComponentBehavior=0) listed as-is — use get_tables for sub-components.
WHEN TO USE:
- Audit solution contents before packaging/deploying
- Find objectIds for plugins, web resources, workflows
- Identify unmanaged customizations before importing managed solutions
FUZZY/AMBIGUITY:
- solution_name resolves Display Name contains first, then unique name contains. Ambiguity returns IsError=true with candidates.
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
solution_name |
string |
Yes | - |
Solution unique/display name; multiple matches return choices. |
include_active_layers |
boolean |
No | false |
Add ActiveLayer (Yes/No) via msdyn_componentlayer. Active = unmanaged customization exists. |
active_layers_only |
boolean |
No | false |
Show only active-layer components; implies include_active_layers. |
{
"type": "object",
"properties": {
"solution_name": {
"type": "string",
"description": "Solution unique/display name; multiple matches return choices."
},
"include_active_layers": {
"type": "boolean",
"description": "Add ActiveLayer (Yes/No) via msdyn_componentlayer. Active = unmanaged customization exists.",
"default": false
},
"active_layers_only": {
"type": "boolean",
"description": "Show only active-layer components; implies include_active_layers.",
"default": false
}
},
"required": [
"solution_name"
]
}This tool does not require any MCP resources.
- Audit solution contents before packaging/deploying
- Find objectIds for plugins, web resources, workflows
- Identify unmanaged customizations before importing managed solutions
- FUZZY/AMBIGUITY: solution_name resolves Display Name contains first, then unique name contains. Ambiguity returns IsError=true with candidates.
{
"solution_name": "string"
}Returns CallToolResult from the MCP server. The response content and structured fields follow the tool implementation and model returned by GetSolutionComponentsTool.get_solution_components.