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
Copy file name to clipboardExpand all lines: src/cmd/root.go
+58Lines changed: 58 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -166,6 +166,56 @@ var rootCmd = &cobra.Command{
166
166
returnnewToolResult(resp, err)
167
167
})
168
168
169
+
// Register all documents, filtered by search term
170
+
s.AddTool(
171
+
mcp.NewTool("documents",
172
+
mcp.WithDescription("Get all the documents for the opslevel account. Documents are filterable by search term. Documents could be things like runbooks, integration documentation, api documentation, readme's, or other forms of documentation."),
mcp.WithDescription("Get document contents for the opslevel account, specified by id. Documents could be things like runbooks, integration documentation, api documentation, readme's, or other forms of documentation."),
189
+
mcp.WithString("id", mcp.Required(), mcp.Description("The id of the document to fetch.")),
// Register all documents, filtered by service id and search term
198
+
s.AddTool(
199
+
mcp.NewTool("documentsOnService",
200
+
mcp.WithDescription("Get all documents on a specified service for the opslevel account, specified by service id and filtered by search term. Documents could be things like runbooks, integration documentation, api documentation, readme's, or other forms of documentation."),
201
+
mcp.WithString("serviceId", mcp.Required(), mcp.Description("The id of the service which the documents are on.")),
0 commit comments