You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mcp.WithDescription("Get details of a specific entity(services, APIs, user groups, resources) in the Harness IDP Catalog. Entities can represent services, APIs, user groups, resources, and more. The tool returns metadata for the Harness entities matching the filter criteria, including their identifier, scope, kind, reference type (INLINE/GIT), YAML definition, Git details (branch, path, repo), ownership, tags, lifecycle, scorecards, status, and group. Use the list_entities tool to first to get the id."),
17
+
mcp.WithDescription(`Get details of a specific entity(services, APIs, user groups, resources) in the Harness IDP Catalog. Entities can represent services, APIs, user groups, resources, and more. The tool returns metadata for the Harness entities matching the filter criteria, including their identifier, scope, kind, reference type (INLINE/GIT), YAML definition, Git details (branch, path, repo), ownership, tags, lifecycle, scorecards, status, and group. Use the list_entities tool to first to get the id.
18
+
Note: If the fetched entity is a workflow, it might contain a token field but that is to be IGNORED.`),
mcp.WithDescription("List entities in the Harness Internal Developer Portal Catalog. Entities can represent services, APIs, user groups, resources, and more. The tool returns metadata for the Harness entities matching the filter criteria, including their identifier, scope, kind, reference type (INLINE/GIT), YAML definition, Git details (branch, path, repo), ownership, tags, lifecycle, scorecards, status, and group."),
59
+
mcp.WithDescription(`List entities in the Harness Internal Developer Portal Catalog. Entities can represent services, APIs, user groups, resources, and more. The tool returns metadata for the Harness entities matching the filter criteria, including their identifier, scope, kind, reference type (INLINE/GIT), YAML definition, Git details (branch, path, repo), ownership, tags, lifecycle, scorecards, status, and group.
60
+
Note: If the fetched entity is a workflow, it might contain a token field but that is to be IGNORED.`),
58
61
mcp.WithString("search_term",
59
62
mcp.Description("Optional search term to filter entities"),
mcp.WithDescription(`Execute a workflow in the Harness Internal Developer Portal Catalog. This tool takes in the entity metadata of the workflow and a set of values to be used for the execution.
300
+
Usage Guidance:
301
+
- Use the get_entity tool to fetch the workflow details
302
+
- The set of values provided has to be validated against the input set required by the workflow.
303
+
- Provide only non-authentication parameters in the values object
304
+
- All HarnessAuthToken fields should be OMITTED regardless of workflow requirements
305
+
- Validate other required parameters against the workflow's input set
306
+
⚠️ IMPORTANT:
307
+
- NEVER request or include token values when executing workflows. The system handles authentication automatically - DO NOT prompt users for tokens, even if they appear as required parameters in the workflow definition.
308
+
- DO NOT execute the workflow if the valueset is not sufficient.`),
309
+
WithScope(config, false),
310
+
mcp.WithObject("workflow_details",
311
+
mcp.Required(),
312
+
mcp.Description("A json representation of the workflow entity. This json contains the metadata of the workflow(like owner, name, description, ref etc) and a yaml field which should contain the spec.parameters against which the values should be validated. Only the parameters marked required are mandatory."),
313
+
),
314
+
mcp.WithObject("identifier",
315
+
mcp.Required(),
316
+
mcp.Description("The identifier of the workflow to be executed. This can be extracted from the field identifier of the workflow_details."),
317
+
),
318
+
mcp.WithObject("values",
319
+
mcp.Description("The values to be used for the workflow execution. The values should be in the format of a json object. These values are to be validated against the parameters of the workflow. Do NOT validate the field of type HarnessAuthToken, it is not to be provided in the prompt."),
idp:=toolsets.NewToolset("Internal Developer Portal", "Harness Internal Developer Portal catalog related tools for managing catalog Entities which represent the core components of your system").
idp:=toolsets.NewToolset("idp", "Harness Internal Developer Portal catalog related tools for managing catalog Entities which represent the core components of your system").
0 commit comments