Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/wanda_web/controllers/info_controller.ex
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ defmodule WandaWeb.InfoController do
summary: "Wanda service information.",
tags: ["Checks/Operations Platform"],
description:
"This endpoint returns information about this Wanda instance for service discovery purposes, including name and version",
"This endpoint returns information about this Wanda instance for service discovery purposes, including name and version.",
security: [],
responses: [
ok:
Expand Down
6 changes: 5 additions & 1 deletion lib/wanda_web/controllers/v1/catalog_controller.ex
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ defmodule WandaWeb.V1.CatalogController do
deprecated: true,
description:
"Provides the catalog of checks that can be executed in the system for improved reliability and compliance.",
tags: ["Checks Engine", "MCP"],
tags: ["Checks Engine"],
parameters: [
env: [
in: :query,
Expand Down Expand Up @@ -54,6 +54,10 @@ defmodule WandaWeb.V1.CatalogController do
description:
"Provides a list of selectable checks for a specified group and environment, enabling targeted execution.",
tags: ["Checks Engine", "MCP"],
"x-ai-tool": %{
name: "selectable_checks",
display_text: "Selectable Checks"
},
parameters: [
group_id: [
in: :path,
Expand Down
6 changes: 3 additions & 3 deletions lib/wanda_web/controllers/v1/execution_controller.ex
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ defmodule WandaWeb.V1.ExecutionController do
deprecated: true,
description:
"Provides a paginated list of executions performed in the system, supporting monitoring and analysis.",
tags: ["Checks Engine", "MCP"],
tags: ["Checks Engine"],
parameters: [
group_id: [
in: :query,
Expand Down Expand Up @@ -73,7 +73,7 @@ defmodule WandaWeb.V1.ExecutionController do
summary: "Get an execution by ID.",
deprecated: true,
description: "Provides detailed information about a specific execution identified by its ID.",
tags: ["Checks Engine", "MCP"],
tags: ["Checks Engine"],
parameters: [
id: [
in: :path,
Expand Down Expand Up @@ -103,7 +103,7 @@ defmodule WandaWeb.V1.ExecutionController do
summary: "Get the last execution of a group.",
deprecated: true,
description: "Provides details about the most recent execution for a specified group.",
tags: ["Checks Engine", "MCP"],
tags: ["Checks Engine"],
parameters: [
id: [
in: :path,
Expand Down
8 changes: 8 additions & 0 deletions lib/wanda_web/controllers/v1/operation_controller.ex
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ defmodule WandaWeb.V1.OperationController do
description:
"Provides a paginated list of operations performed in the system, allowing for easy tracking and management.",
tags: ["Operations Engine", "MCP"],
"x-ai-tool": %{
name: "operations_list",
display_text: "Operations List"
},
parameters: [
group_id: [
in: :query,
Expand Down Expand Up @@ -78,6 +82,10 @@ defmodule WandaWeb.V1.OperationController do
description:
"Provides detailed information about a specific operation identified by its UUID.",
tags: ["Operations Engine", "MCP"],
"x-ai-tool": %{
name: "operations_details",
display_text: "Operation Details"
},
parameters: [
id: [
in: :path,
Expand Down
2 changes: 1 addition & 1 deletion lib/wanda_web/controllers/v2/catalog_controller.ex
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ defmodule WandaWeb.V2.CatalogController do
deprecated: true,
description:
"Provides the catalog of checks that can be executed in the system for improved reliability and compliance.",
tags: ["Checks Engine", "MCP"],
tags: ["Checks Engine"],
parameters: [
env: [
in: :query,
Expand Down
12 changes: 12 additions & 0 deletions lib/wanda_web/controllers/v2/execution_controller.ex
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ defmodule WandaWeb.V2.ExecutionController do
description:
"Provides a paginated list of executions performed in the system, supporting monitoring and analysis.",
tags: ["Checks Engine", "MCP"],
"x-ai-tool": %{
name: "checks_executions_list",
display_text: "List Checks Executions"
Comment thread
nelsonkopliku marked this conversation as resolved.
},
parameters: [
group_id: [
in: :query,
Expand Down Expand Up @@ -72,6 +76,10 @@ defmodule WandaWeb.V2.ExecutionController do
summary: "Get an execution by ID.",
description: "Provides detailed information about a specific execution identified by its ID.",
tags: ["Checks Engine", "MCP"],
"x-ai-tool": %{
name: "check_execution_details",
display_text: "Check Execution Details"
},
parameters: [
id: [
in: :path,
Expand Down Expand Up @@ -101,6 +109,10 @@ defmodule WandaWeb.V2.ExecutionController do
summary: "Get the last execution of a group.",
description: "Provides details about the most recent execution for a specified group.",
tags: ["Checks Engine", "MCP"],
"x-ai-tool": %{
name: "last_check_execution",
display_text: "Last Check Execution"
},
parameters: [
id: [
in: :path,
Expand Down
4 changes: 4 additions & 0 deletions lib/wanda_web/controllers/v3/catalog_controller.ex
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ defmodule WandaWeb.V3.CatalogController do
description:
"Provides the catalog of checks that can be executed in the system for improved reliability and compliance.",
tags: ["Checks Engine", "MCP"],
"x-ai-tool": %{
name: "catalog_list",
display_text: "Checks Catalog"
},
parameters: [
env: [
in: :query,
Expand Down
Loading