@nirvana-labs/nirvana-mcp 1.25.0 → 1.25.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/package.json +2 -2
  2. package/server.js +1 -1
  3. package/server.mjs +1 -1
  4. package/src/server.ts +1 -1
  5. package/src/tools/compute/vms/availability/create-vms-compute-availability.ts +7 -6
  6. package/src/tools/compute/vms/create-compute-vms.ts +7 -6
  7. package/src/tools/compute/vms/volumes/list-vms-compute-volumes.ts +1 -1
  8. package/src/tools/compute/volumes/availability/create-volumes-compute-availability.ts +8 -3
  9. package/src/tools/compute/volumes/create-compute-volumes.ts +8 -3
  10. package/src/tools/compute/volumes/get-compute-volumes.ts +1 -1
  11. package/src/tools/compute/volumes/list-compute-volumes.ts +1 -1
  12. package/tools/compute/vms/availability/create-vms-compute-availability.d.mts.map +1 -1
  13. package/tools/compute/vms/availability/create-vms-compute-availability.d.ts.map +1 -1
  14. package/tools/compute/vms/availability/create-vms-compute-availability.js +7 -6
  15. package/tools/compute/vms/availability/create-vms-compute-availability.js.map +1 -1
  16. package/tools/compute/vms/availability/create-vms-compute-availability.mjs +7 -6
  17. package/tools/compute/vms/availability/create-vms-compute-availability.mjs.map +1 -1
  18. package/tools/compute/vms/create-compute-vms.d.mts.map +1 -1
  19. package/tools/compute/vms/create-compute-vms.d.ts.map +1 -1
  20. package/tools/compute/vms/create-compute-vms.js +7 -6
  21. package/tools/compute/vms/create-compute-vms.js.map +1 -1
  22. package/tools/compute/vms/create-compute-vms.mjs +7 -6
  23. package/tools/compute/vms/create-compute-vms.mjs.map +1 -1
  24. package/tools/compute/vms/volumes/list-vms-compute-volumes.js +1 -1
  25. package/tools/compute/vms/volumes/list-vms-compute-volumes.mjs +1 -1
  26. package/tools/compute/volumes/availability/create-volumes-compute-availability.d.mts.map +1 -1
  27. package/tools/compute/volumes/availability/create-volumes-compute-availability.d.ts.map +1 -1
  28. package/tools/compute/volumes/availability/create-volumes-compute-availability.js +8 -3
  29. package/tools/compute/volumes/availability/create-volumes-compute-availability.js.map +1 -1
  30. package/tools/compute/volumes/availability/create-volumes-compute-availability.mjs +8 -3
  31. package/tools/compute/volumes/availability/create-volumes-compute-availability.mjs.map +1 -1
  32. package/tools/compute/volumes/create-compute-volumes.d.mts.map +1 -1
  33. package/tools/compute/volumes/create-compute-volumes.d.ts.map +1 -1
  34. package/tools/compute/volumes/create-compute-volumes.js +8 -3
  35. package/tools/compute/volumes/create-compute-volumes.js.map +1 -1
  36. package/tools/compute/volumes/create-compute-volumes.mjs +8 -3
  37. package/tools/compute/volumes/create-compute-volumes.mjs.map +1 -1
  38. package/tools/compute/volumes/get-compute-volumes.js +1 -1
  39. package/tools/compute/volumes/get-compute-volumes.mjs +1 -1
  40. package/tools/compute/volumes/list-compute-volumes.js +1 -1
  41. package/tools/compute/volumes/list-compute-volumes.mjs +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nirvana-labs/nirvana-mcp",
3
- "version": "1.25.0",
3
+ "version": "1.25.2",
4
4
  "description": "The official MCP Server for the Nirvana Labs API",
5
5
  "author": "Nirvana Labs <engineering@nirvanalabs.io>",
6
6
  "types": "./index.d.ts",
@@ -18,7 +18,7 @@
18
18
  "access": "public"
19
19
  },
20
20
  "dependencies": {
21
- "@nirvana-labs/nirvana": "^1.25.0",
21
+ "@nirvana-labs/nirvana": "^1.25.2",
22
22
  "@cloudflare/cabidela": "^0.2.4",
23
23
  "@modelcontextprotocol/sdk": "^1.11.5",
24
24
  "@valtown/deno-http-worker": "^0.0.21",
package/server.js CHANGED
@@ -22,7 +22,7 @@ var tools_2 = require("./tools.js");
22
22
  Object.defineProperty(exports, "endpoints", { enumerable: true, get: function () { return tools_2.endpoints; } });
23
23
  const newMcpServer = () => new mcp_js_1.McpServer({
24
24
  name: 'nirvana_labs_nirvana_api',
25
- version: '1.25.0',
25
+ version: '1.25.2',
26
26
  }, { capabilities: { tools: {}, logging: {} } });
27
27
  exports.newMcpServer = newMcpServer;
28
28
  // Create server instance
package/server.mjs CHANGED
@@ -11,7 +11,7 @@ export { ClientType } from "./compat.mjs";
11
11
  export { endpoints } from "./tools.mjs";
12
12
  export const newMcpServer = () => new McpServer({
13
13
  name: 'nirvana_labs_nirvana_api',
14
- version: '1.25.0',
14
+ version: '1.25.2',
15
15
  }, { capabilities: { tools: {}, logging: {} } });
16
16
  // Create server instance
17
17
  export const server = newMcpServer();
package/src/server.ts CHANGED
@@ -34,7 +34,7 @@ export const newMcpServer = () =>
34
34
  new McpServer(
35
35
  {
36
36
  name: 'nirvana_labs_nirvana_api',
37
- version: '1.25.0',
37
+ version: '1.25.2',
38
38
  },
39
39
  { capabilities: { tools: {}, logging: {} } },
40
40
  );
@@ -38,9 +38,7 @@ export const tool: Tool = {
38
38
  },
39
39
  },
40
40
  type: {
41
- type: 'string',
42
- description: 'Type of the Volume. Defaults to nvme if not provided.',
43
- enum: ['nvme', 'abs'],
41
+ $ref: '#/$defs/volume_type',
44
42
  },
45
43
  },
46
44
  required: ['size'],
@@ -96,9 +94,7 @@ export const tool: Tool = {
96
94
  },
97
95
  },
98
96
  type: {
99
- type: 'string',
100
- description: 'Type of the Volume. Defaults to nvme if not provided.',
101
- enum: ['nvme', 'abs'],
97
+ $ref: '#/$defs/volume_type',
102
98
  },
103
99
  },
104
100
  required: ['name', 'size'],
@@ -130,6 +126,11 @@ export const tool: Tool = {
130
126
  'subnet_id',
131
127
  ],
132
128
  $defs: {
129
+ volume_type: {
130
+ type: 'string',
131
+ description: 'Type of the Volume.',
132
+ enum: ['nvme', 'abs'],
133
+ },
133
134
  cpu_config_request: {
134
135
  type: 'object',
135
136
  description: 'CPU configuration for the VM.',
@@ -38,9 +38,7 @@ export const tool: Tool = {
38
38
  },
39
39
  },
40
40
  type: {
41
- type: 'string',
42
- description: 'Type of the Volume. Defaults to nvme if not provided.',
43
- enum: ['nvme', 'abs'],
41
+ $ref: '#/$defs/volume_type',
44
42
  },
45
43
  },
46
44
  required: ['size'],
@@ -96,9 +94,7 @@ export const tool: Tool = {
96
94
  },
97
95
  },
98
96
  type: {
99
- type: 'string',
100
- description: 'Type of the Volume. Defaults to nvme if not provided.',
101
- enum: ['nvme', 'abs'],
97
+ $ref: '#/$defs/volume_type',
102
98
  },
103
99
  },
104
100
  required: ['name', 'size'],
@@ -130,6 +126,11 @@ export const tool: Tool = {
130
126
  'subnet_id',
131
127
  ],
132
128
  $defs: {
129
+ volume_type: {
130
+ type: 'string',
131
+ description: 'Type of the Volume.',
132
+ enum: ['nvme', 'abs'],
133
+ },
133
134
  cpu_config_request: {
134
135
  type: 'object',
135
136
  description: 'CPU configuration for the VM.',
@@ -18,7 +18,7 @@ export const metadata: Metadata = {
18
18
  export const tool: Tool = {
19
19
  name: 'list_vms_compute_volumes',
20
20
  description:
21
- "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nList VM's Volumes\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/volume_list',\n $defs: {\n volume_list: {\n type: 'object',\n properties: {\n items: {\n type: 'array',\n items: {\n $ref: '#/$defs/volume'\n }\n },\n pagination: {\n $ref: '#/$defs/pagination'\n }\n },\n required: [ 'items',\n 'pagination'\n ]\n },\n volume: {\n type: 'object',\n description: 'Volume details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the Volume.'\n },\n created_at: {\n type: 'string',\n description: 'When the Volume was created.',\n format: 'date-time'\n },\n kind: {\n $ref: '#/$defs/volume_kind'\n },\n name: {\n type: 'string',\n description: 'Name of the Volume.'\n },\n size: {\n type: 'integer',\n description: 'Size of the Volume in GB.'\n },\n status: {\n $ref: '#/$defs/resource_status'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the Volume.',\n items: {\n type: 'string'\n }\n },\n type: {\n $ref: '#/$defs/storage_type'\n },\n updated_at: {\n type: 'string',\n description: 'When the Volume was updated.',\n format: 'date-time'\n },\n vm_id: {\n type: 'string',\n description: 'ID of the VM the Volume is attached to.'\n },\n vm_name: {\n type: 'string',\n description: 'Name of the VM the Volume is attached to.'\n }\n },\n required: [ 'id',\n 'created_at',\n 'kind',\n 'name',\n 'size',\n 'status',\n 'tags',\n 'type',\n 'updated_at',\n 'vm_id',\n 'vm_name'\n ]\n },\n volume_kind: {\n type: 'string',\n description: 'Volume kind.',\n enum: [ 'boot',\n 'data'\n ]\n },\n resource_status: {\n type: 'string',\n description: 'Status of the resource.',\n enum: [ 'pending',\n 'creating',\n 'updating',\n 'ready',\n 'deleting',\n 'deleted',\n 'error'\n ]\n },\n storage_type: {\n type: 'string',\n description: 'Storage type the Volume is using.',\n enum: [ 'nvme'\n ]\n },\n pagination: {\n type: 'object',\n description: 'Pagination response details.',\n properties: {\n next_cursor: {\n type: 'string'\n },\n previous_cursor: {\n type: 'string'\n },\n total_count: {\n type: 'integer'\n }\n },\n required: [ 'next_cursor',\n 'previous_cursor',\n 'total_count'\n ]\n }\n }\n}\n```",
21
+ "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nList VM's Volumes\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/volume_list',\n $defs: {\n volume_list: {\n type: 'object',\n properties: {\n items: {\n type: 'array',\n items: {\n $ref: '#/$defs/volume'\n }\n },\n pagination: {\n $ref: '#/$defs/pagination'\n }\n },\n required: [ 'items',\n 'pagination'\n ]\n },\n volume: {\n type: 'object',\n description: 'Volume details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the Volume.'\n },\n created_at: {\n type: 'string',\n description: 'When the Volume was created.',\n format: 'date-time'\n },\n kind: {\n $ref: '#/$defs/volume_kind'\n },\n name: {\n type: 'string',\n description: 'Name of the Volume.'\n },\n size: {\n type: 'integer',\n description: 'Size of the Volume in GB.'\n },\n status: {\n $ref: '#/$defs/resource_status'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the Volume.',\n items: {\n type: 'string'\n }\n },\n type: {\n $ref: '#/$defs/volume_type'\n },\n updated_at: {\n type: 'string',\n description: 'When the Volume was updated.',\n format: 'date-time'\n },\n vm_id: {\n type: 'string',\n description: 'ID of the VM the Volume is attached to.'\n },\n vm_name: {\n type: 'string',\n description: 'Name of the VM the Volume is attached to.'\n }\n },\n required: [ 'id',\n 'created_at',\n 'kind',\n 'name',\n 'size',\n 'status',\n 'tags',\n 'type',\n 'updated_at',\n 'vm_id',\n 'vm_name'\n ]\n },\n volume_kind: {\n type: 'string',\n description: 'Volume kind.',\n enum: [ 'boot',\n 'data'\n ]\n },\n resource_status: {\n type: 'string',\n description: 'Status of the resource.',\n enum: [ 'pending',\n 'creating',\n 'updating',\n 'ready',\n 'deleting',\n 'deleted',\n 'error'\n ]\n },\n volume_type: {\n type: 'string',\n description: 'Type of the Volume.',\n enum: [ 'nvme',\n 'abs'\n ]\n },\n pagination: {\n type: 'object',\n description: 'Pagination response details.',\n properties: {\n next_cursor: {\n type: 'string'\n },\n previous_cursor: {\n type: 'string'\n },\n total_count: {\n type: 'integer'\n }\n },\n required: [ 'next_cursor',\n 'previous_cursor',\n 'total_count'\n ]\n }\n }\n}\n```",
22
22
  inputSchema: {
23
23
  type: 'object',
24
24
  properties: {
@@ -42,9 +42,7 @@ export const tool: Tool = {
42
42
  },
43
43
  },
44
44
  type: {
45
- type: 'string',
46
- description: 'Type of the Volume. Defaults to nvme if not provided.',
47
- enum: ['nvme', 'abs'],
45
+ $ref: '#/$defs/volume_type',
48
46
  },
49
47
  jq_filter: {
50
48
  type: 'string',
@@ -54,6 +52,13 @@ export const tool: Tool = {
54
52
  },
55
53
  },
56
54
  required: ['name', 'size', 'vm_id'],
55
+ $defs: {
56
+ volume_type: {
57
+ type: 'string',
58
+ description: 'Type of the Volume.',
59
+ enum: ['nvme', 'abs'],
60
+ },
61
+ },
57
62
  },
58
63
  annotations: {},
59
64
  };
@@ -42,9 +42,7 @@ export const tool: Tool = {
42
42
  },
43
43
  },
44
44
  type: {
45
- type: 'string',
46
- description: 'Type of the Volume. Defaults to nvme if not provided.',
47
- enum: ['nvme', 'abs'],
45
+ $ref: '#/$defs/volume_type',
48
46
  },
49
47
  jq_filter: {
50
48
  type: 'string',
@@ -54,6 +52,13 @@ export const tool: Tool = {
54
52
  },
55
53
  },
56
54
  required: ['name', 'size', 'vm_id'],
55
+ $defs: {
56
+ volume_type: {
57
+ type: 'string',
58
+ description: 'Type of the Volume.',
59
+ enum: ['nvme', 'abs'],
60
+ },
61
+ },
57
62
  },
58
63
  annotations: {},
59
64
  };
@@ -18,7 +18,7 @@ export const metadata: Metadata = {
18
18
  export const tool: Tool = {
19
19
  name: 'get_compute_volumes',
20
20
  description:
21
- "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nGet a Volume.\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/volume',\n $defs: {\n volume: {\n type: 'object',\n description: 'Volume details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the Volume.'\n },\n created_at: {\n type: 'string',\n description: 'When the Volume was created.',\n format: 'date-time'\n },\n kind: {\n $ref: '#/$defs/volume_kind'\n },\n name: {\n type: 'string',\n description: 'Name of the Volume.'\n },\n size: {\n type: 'integer',\n description: 'Size of the Volume in GB.'\n },\n status: {\n $ref: '#/$defs/resource_status'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the Volume.',\n items: {\n type: 'string'\n }\n },\n type: {\n $ref: '#/$defs/storage_type'\n },\n updated_at: {\n type: 'string',\n description: 'When the Volume was updated.',\n format: 'date-time'\n },\n vm_id: {\n type: 'string',\n description: 'ID of the VM the Volume is attached to.'\n },\n vm_name: {\n type: 'string',\n description: 'Name of the VM the Volume is attached to.'\n }\n },\n required: [ 'id',\n 'created_at',\n 'kind',\n 'name',\n 'size',\n 'status',\n 'tags',\n 'type',\n 'updated_at',\n 'vm_id',\n 'vm_name'\n ]\n },\n volume_kind: {\n type: 'string',\n description: 'Volume kind.',\n enum: [ 'boot',\n 'data'\n ]\n },\n resource_status: {\n type: 'string',\n description: 'Status of the resource.',\n enum: [ 'pending',\n 'creating',\n 'updating',\n 'ready',\n 'deleting',\n 'deleted',\n 'error'\n ]\n },\n storage_type: {\n type: 'string',\n description: 'Storage type the Volume is using.',\n enum: [ 'nvme'\n ]\n }\n }\n}\n```",
21
+ "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nGet a Volume.\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/volume',\n $defs: {\n volume: {\n type: 'object',\n description: 'Volume details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the Volume.'\n },\n created_at: {\n type: 'string',\n description: 'When the Volume was created.',\n format: 'date-time'\n },\n kind: {\n $ref: '#/$defs/volume_kind'\n },\n name: {\n type: 'string',\n description: 'Name of the Volume.'\n },\n size: {\n type: 'integer',\n description: 'Size of the Volume in GB.'\n },\n status: {\n $ref: '#/$defs/resource_status'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the Volume.',\n items: {\n type: 'string'\n }\n },\n type: {\n $ref: '#/$defs/volume_type'\n },\n updated_at: {\n type: 'string',\n description: 'When the Volume was updated.',\n format: 'date-time'\n },\n vm_id: {\n type: 'string',\n description: 'ID of the VM the Volume is attached to.'\n },\n vm_name: {\n type: 'string',\n description: 'Name of the VM the Volume is attached to.'\n }\n },\n required: [ 'id',\n 'created_at',\n 'kind',\n 'name',\n 'size',\n 'status',\n 'tags',\n 'type',\n 'updated_at',\n 'vm_id',\n 'vm_name'\n ]\n },\n volume_kind: {\n type: 'string',\n description: 'Volume kind.',\n enum: [ 'boot',\n 'data'\n ]\n },\n resource_status: {\n type: 'string',\n description: 'Status of the resource.',\n enum: [ 'pending',\n 'creating',\n 'updating',\n 'ready',\n 'deleting',\n 'deleted',\n 'error'\n ]\n },\n volume_type: {\n type: 'string',\n description: 'Type of the Volume.',\n enum: [ 'nvme',\n 'abs'\n ]\n }\n }\n}\n```",
22
22
  inputSchema: {
23
23
  type: 'object',
24
24
  properties: {
@@ -18,7 +18,7 @@ export const metadata: Metadata = {
18
18
  export const tool: Tool = {
19
19
  name: 'list_compute_volumes',
20
20
  description:
21
- "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nList all volumes\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/volume_list',\n $defs: {\n volume_list: {\n type: 'object',\n properties: {\n items: {\n type: 'array',\n items: {\n $ref: '#/$defs/volume'\n }\n },\n pagination: {\n $ref: '#/$defs/pagination'\n }\n },\n required: [ 'items',\n 'pagination'\n ]\n },\n volume: {\n type: 'object',\n description: 'Volume details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the Volume.'\n },\n created_at: {\n type: 'string',\n description: 'When the Volume was created.',\n format: 'date-time'\n },\n kind: {\n $ref: '#/$defs/volume_kind'\n },\n name: {\n type: 'string',\n description: 'Name of the Volume.'\n },\n size: {\n type: 'integer',\n description: 'Size of the Volume in GB.'\n },\n status: {\n $ref: '#/$defs/resource_status'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the Volume.',\n items: {\n type: 'string'\n }\n },\n type: {\n $ref: '#/$defs/storage_type'\n },\n updated_at: {\n type: 'string',\n description: 'When the Volume was updated.',\n format: 'date-time'\n },\n vm_id: {\n type: 'string',\n description: 'ID of the VM the Volume is attached to.'\n },\n vm_name: {\n type: 'string',\n description: 'Name of the VM the Volume is attached to.'\n }\n },\n required: [ 'id',\n 'created_at',\n 'kind',\n 'name',\n 'size',\n 'status',\n 'tags',\n 'type',\n 'updated_at',\n 'vm_id',\n 'vm_name'\n ]\n },\n volume_kind: {\n type: 'string',\n description: 'Volume kind.',\n enum: [ 'boot',\n 'data'\n ]\n },\n resource_status: {\n type: 'string',\n description: 'Status of the resource.',\n enum: [ 'pending',\n 'creating',\n 'updating',\n 'ready',\n 'deleting',\n 'deleted',\n 'error'\n ]\n },\n storage_type: {\n type: 'string',\n description: 'Storage type the Volume is using.',\n enum: [ 'nvme'\n ]\n },\n pagination: {\n type: 'object',\n description: 'Pagination response details.',\n properties: {\n next_cursor: {\n type: 'string'\n },\n previous_cursor: {\n type: 'string'\n },\n total_count: {\n type: 'integer'\n }\n },\n required: [ 'next_cursor',\n 'previous_cursor',\n 'total_count'\n ]\n }\n }\n}\n```",
21
+ "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nList all volumes\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/volume_list',\n $defs: {\n volume_list: {\n type: 'object',\n properties: {\n items: {\n type: 'array',\n items: {\n $ref: '#/$defs/volume'\n }\n },\n pagination: {\n $ref: '#/$defs/pagination'\n }\n },\n required: [ 'items',\n 'pagination'\n ]\n },\n volume: {\n type: 'object',\n description: 'Volume details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the Volume.'\n },\n created_at: {\n type: 'string',\n description: 'When the Volume was created.',\n format: 'date-time'\n },\n kind: {\n $ref: '#/$defs/volume_kind'\n },\n name: {\n type: 'string',\n description: 'Name of the Volume.'\n },\n size: {\n type: 'integer',\n description: 'Size of the Volume in GB.'\n },\n status: {\n $ref: '#/$defs/resource_status'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the Volume.',\n items: {\n type: 'string'\n }\n },\n type: {\n $ref: '#/$defs/volume_type'\n },\n updated_at: {\n type: 'string',\n description: 'When the Volume was updated.',\n format: 'date-time'\n },\n vm_id: {\n type: 'string',\n description: 'ID of the VM the Volume is attached to.'\n },\n vm_name: {\n type: 'string',\n description: 'Name of the VM the Volume is attached to.'\n }\n },\n required: [ 'id',\n 'created_at',\n 'kind',\n 'name',\n 'size',\n 'status',\n 'tags',\n 'type',\n 'updated_at',\n 'vm_id',\n 'vm_name'\n ]\n },\n volume_kind: {\n type: 'string',\n description: 'Volume kind.',\n enum: [ 'boot',\n 'data'\n ]\n },\n resource_status: {\n type: 'string',\n description: 'Status of the resource.',\n enum: [ 'pending',\n 'creating',\n 'updating',\n 'ready',\n 'deleting',\n 'deleted',\n 'error'\n ]\n },\n volume_type: {\n type: 'string',\n description: 'Type of the Volume.',\n enum: [ 'nvme',\n 'abs'\n ]\n },\n pagination: {\n type: 'object',\n description: 'Pagination response details.',\n properties: {\n next_cursor: {\n type: 'string'\n },\n previous_cursor: {\n type: 'string'\n },\n total_count: {\n type: 'integer'\n }\n },\n required: [ 'next_cursor',\n 'previous_cursor',\n 'total_count'\n ]\n }\n }\n}\n```",
22
22
  inputSchema: {
23
23
  type: 'object',
24
24
  properties: {
@@ -1 +1 @@
1
- {"version":3,"file":"create-vms-compute-availability.d.mts","sourceRoot":"","sources":["../../../../src/tools/compute/vms/availability/create-vms-compute-availability.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,uCAAuC;OAE7F,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAsKlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,4EAY3F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAZoC,WAAW,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAc5F,wBAA2C"}
1
+ {"version":3,"file":"create-vms-compute-availability.d.mts","sourceRoot":"","sources":["../../../../src/tools/compute/vms/availability/create-vms-compute-availability.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,uCAAuC;OAE7F,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAuKlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,4EAY3F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAZoC,WAAW,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAc5F,wBAA2C"}
@@ -1 +1 @@
1
- {"version":3,"file":"create-vms-compute-availability.d.ts","sourceRoot":"","sources":["../../../../src/tools/compute/vms/availability/create-vms-compute-availability.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,uCAAuC;OAE7F,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAsKlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,4EAY3F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAZoC,WAAW,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAc5F,wBAA2C"}
1
+ {"version":3,"file":"create-vms-compute-availability.d.ts","sourceRoot":"","sources":["../../../../src/tools/compute/vms/availability/create-vms-compute-availability.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,uCAAuC;OAE7F,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAuKlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,4EAY3F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAZoC,WAAW,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAc5F,wBAA2C"}
@@ -34,9 +34,7 @@ exports.tool = {
34
34
  },
35
35
  },
36
36
  type: {
37
- type: 'string',
38
- description: 'Type of the Volume. Defaults to nvme if not provided.',
39
- enum: ['nvme', 'abs'],
37
+ $ref: '#/$defs/volume_type',
40
38
  },
41
39
  },
42
40
  required: ['size'],
@@ -92,9 +90,7 @@ exports.tool = {
92
90
  },
93
91
  },
94
92
  type: {
95
- type: 'string',
96
- description: 'Type of the Volume. Defaults to nvme if not provided.',
97
- enum: ['nvme', 'abs'],
93
+ $ref: '#/$defs/volume_type',
98
94
  },
99
95
  },
100
96
  required: ['name', 'size'],
@@ -125,6 +121,11 @@ exports.tool = {
125
121
  'subnet_id',
126
122
  ],
127
123
  $defs: {
124
+ volume_type: {
125
+ type: 'string',
126
+ description: 'Type of the Volume.',
127
+ enum: ['nvme', 'abs'],
128
+ },
128
129
  cpu_config_request: {
129
130
  type: 'object',
130
131
  description: 'CPU configuration for the VM.',
@@ -1 +1 @@
1
- {"version":3,"file":"create-vms-compute-availability.js","sourceRoot":"","sources":["../../../../src/tools/compute/vms/availability/create-vms-compute-availability.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,mEAA6E;AAC7E,iEAAqG;AAKxF,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,0BAA0B;IACpC,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,8BAA8B;IACxC,WAAW,EAAE,wBAAwB;CACtC,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,iCAAiC;IACvC,WAAW,EACT,mXAAmX;IACrX,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,U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,QAAQ;gBACd,WAAW,EAAE,4BAA4B;gBACzC,IAAI,EAAE;oBACJ,UAAU;oBACV,UAAU;oBACV,UAAU;oBACV,UAAU;oBACV,UAAU;oBACV,UAAU;oBACV,UAAU;oBACV,UAAU;oBACV,UAAU;iBACX;aACF;YACD,eAAe,EAAE;gBACf,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,0CAA0C;gBACvD,UAAU,EAAE;oBACV,UAAU,EAAE;wBACV,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,6CAA6C;qBAC3D;iBACF;gBACD,QAAQ,EAAE,CAAC,YAAY,CAAC;aACzB;SACF;KACF;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAmB,EAAE,IAAyC,EAAE,EAAE;IAC9F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,IAAI,CAAC;QACH,OAAO,IAAA,2BAAmB,EACxB,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CACjF,CAAC;IACJ,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,IAAA,qBAAS,EAAC,KAAK,CAAC,EAAE,CAAC;YACrB,OAAO,IAAA,qBAAa,EAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAZW,QAAA,OAAO,WAYlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"create-vms-compute-availability.js","sourceRoot":"","sources":["../../../../src/tools/compute/vms/availability/create-vms-compute-availability.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,mE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CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAZW,QAAA,OAAO,WAYlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
@@ -31,9 +31,7 @@ export const tool = {
31
31
  },
32
32
  },
33
33
  type: {
34
- type: 'string',
35
- description: 'Type of the Volume. Defaults to nvme if not provided.',
36
- enum: ['nvme', 'abs'],
34
+ $ref: '#/$defs/volume_type',
37
35
  },
38
36
  },
39
37
  required: ['size'],
@@ -89,9 +87,7 @@ export const tool = {
89
87
  },
90
88
  },
91
89
  type: {
92
- type: 'string',
93
- description: 'Type of the Volume. Defaults to nvme if not provided.',
94
- enum: ['nvme', 'abs'],
90
+ $ref: '#/$defs/volume_type',
95
91
  },
96
92
  },
97
93
  required: ['name', 'size'],
@@ -122,6 +118,11 @@ export const tool = {
122
118
  'subnet_id',
123
119
  ],
124
120
  $defs: {
121
+ volume_type: {
122
+ type: 'string',
123
+ description: 'Type of the Volume.',
124
+ enum: ['nvme', 'abs'],
125
+ },
125
126
  cpu_config_request: {
126
127
  type: 'object',
127
128
  description: 'CPU configuration for the VM.',
@@ -1 +1 @@
1
- {"version":3,"file":"create-vms-compute-availability.mjs","sourceRoot":"","sources":["../../../../src/tools/compute/vms/availability/create-vms-compute-availability.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,qCAAqC;OACrE,EAAY,aAAa,EAAE,mBAAmB,EAAE,MAAM,uCAAuC;AAKpG,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,0BAA0B;IACpC,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,8BAA8B;IACxC,WAAW,EAAE,wBAAwB;CACtC,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI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W,EAAE,2BAA2B;qBACzC;iBACF;gBACD,QAAQ,EAAE,CAAC,MAAM,CAAC;aACnB;YACD,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,4BAA4B;gBACzC,IAAI,EAAE;oBACJ,UAAU;oBACV,UAAU;oBACV,UAAU;oBACV,UAAU;oBACV,UAAU;oBACV,UAAU;oBACV,UAAU;oBACV,UAAU;oBACV,UAAU;iBACX;aACF;YACD,eAAe,EAAE;gBACf,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,0CAA0C;gBACvD,UAAU,EAAE;oBACV,UAAU,EAAE;wBACV,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,6CAA6C;qBAC3D;iBACF;gBACD,QAAQ,EAAE,CAAC,YAAY,CAAC;aACzB;SACF;KACF;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAmB,EAAE,IAAyC,EAAE,EAAE;IAC9F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,IAAI,CAAC;QACH,OAAO,mBAAmB,CACxB,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CACjF,CAAC;IACJ,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC;YACrB,OAAO,aAAa,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"create-vms-compute-availability.mjs","sourceRoot":"","sources":["../../../../src/tools/compute/vms/availability/create-vms-compute-availability.ts"],"names":[],"mappings":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QACf,IAAI,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC;YACrB,OAAO,aAAa,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"create-compute-vms.d.mts","sourceRoot":"","sources":["../../../src/tools/compute/vms/create-compute-vms.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,uCAAuC;OAE7F,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAsKlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,4EAU3F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAVoC,WAAW,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAY5F,wBAA2C"}
1
+ {"version":3,"file":"create-compute-vms.d.mts","sourceRoot":"","sources":["../../../src/tools/compute/vms/create-compute-vms.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,uCAAuC;OAE7F,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAuKlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,4EAU3F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAVoC,WAAW,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAY5F,wBAA2C"}
@@ -1 +1 @@
1
- {"version":3,"file":"create-compute-vms.d.ts","sourceRoot":"","sources":["../../../src/tools/compute/vms/create-compute-vms.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,uCAAuC;OAE7F,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAsKlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,4EAU3F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAVoC,WAAW,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAY5F,wBAA2C"}
1
+ {"version":3,"file":"create-compute-vms.d.ts","sourceRoot":"","sources":["../../../src/tools/compute/vms/create-compute-vms.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,uCAAuC;OAE7F,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAuKlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,4EAU3F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAVoC,WAAW,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAY5F,wBAA2C"}
@@ -34,9 +34,7 @@ exports.tool = {
34
34
  },
35
35
  },
36
36
  type: {
37
- type: 'string',
38
- description: 'Type of the Volume. Defaults to nvme if not provided.',
39
- enum: ['nvme', 'abs'],
37
+ $ref: '#/$defs/volume_type',
40
38
  },
41
39
  },
42
40
  required: ['size'],
@@ -92,9 +90,7 @@ exports.tool = {
92
90
  },
93
91
  },
94
92
  type: {
95
- type: 'string',
96
- description: 'Type of the Volume. Defaults to nvme if not provided.',
97
- enum: ['nvme', 'abs'],
93
+ $ref: '#/$defs/volume_type',
98
94
  },
99
95
  },
100
96
  required: ['name', 'size'],
@@ -125,6 +121,11 @@ exports.tool = {
125
121
  'subnet_id',
126
122
  ],
127
123
  $defs: {
124
+ volume_type: {
125
+ type: 'string',
126
+ description: 'Type of the Volume.',
127
+ enum: ['nvme', 'abs'],
128
+ },
128
129
  cpu_config_request: {
129
130
  type: 'object',
130
131
  description: 'CPU configuration for the VM.',
@@ -1 +1 @@
1
- {"version":3,"file":"create-compute-vms.js","sourceRoot":"","sources":["../../../src/tools/compute/vms/create-compute-vms.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,mEAA6E;AAC7E,iEAAqG;AAKxF,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,aAAa;IACvB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,iBAAiB;IAC3B,WAAW,EAAE,WAAW;CACzB,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,oBAAoB;IAC1B,WAAW,EACT,m5DAAm5D;IACr5D,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,yBAAyB;gBACtC,UAAU,EAAE;oBACV,IAAI,EAAE;wBACJ,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,2BAA2B;qBACzC;oBACD,IAAI,EAAE;wBACJ,IAAI,EA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- type: 'string',
35
- description: 'Type of the Volume. Defaults to nvme if not provided.',
36
- enum: ['nvme', 'abs'],
34
+ $ref: '#/$defs/volume_type',
37
35
  },
38
36
  },
39
37
  required: ['size'],
@@ -89,9 +87,7 @@ export const tool = {
89
87
  },
90
88
  },
91
89
  type: {
92
- type: 'string',
93
- description: 'Type of the Volume. Defaults to nvme if not provided.',
94
- enum: ['nvme', 'abs'],
90
+ $ref: '#/$defs/volume_type',
95
91
  },
96
92
  },
97
93
  required: ['name', 'size'],
@@ -122,6 +118,11 @@ export const tool = {
122
118
  'subnet_id',
123
119
  ],
124
120
  $defs: {
121
+ volume_type: {
122
+ type: 'string',
123
+ description: 'Type of the Volume.',
124
+ enum: ['nvme', 'abs'],
125
+ },
125
126
  cpu_config_request: {
126
127
  type: 'object',
127
128
  description: 'CPU configuration for the VM.',
@@ -1 +1 @@
1
- {"version":3,"file":"create-compute-vms.mjs","sourceRoot":"","sources":["../../../src/tools/compute/vms/create-compute-vms.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,qCAAqC;OACrE,EAAY,aAAa,EAAE,mBAAmB,EAAE,MAAM,uCAAuC;AAKpG,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,aAAa;IACvB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,iBAAiB;IAC3B,WAAW,EAAE,WAAW;CACzB,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,oBAAoB;IAC1B,WAAW,EACT,m5DAAm5D;IACr5D,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,yBAAyB;gBACtC,UAAU,EAAE;oBACV,IAAI,EAAE;wBACJ,IAAI,EAAE,SAAS;wBACf,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AU;oBACV,UAAU;iBACX;aACF;YACD,eAAe,EAAE;gBACf,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,0CAA0C;gBACvD,UAAU,EAAE;oBACV,UAAU,EAAE;wBACV,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,6CAA6C;qBAC3D;iBACF;gBACD,QAAQ,EAAE,CAAC,YAAY,CAAC;aACzB;SACF;KACF;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAmB,EAAE,IAAyC,EAAE,EAAE;IAC9F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,IAAI,CAAC;QACH,OAAO,mBAAmB,CAAC,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClG,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC;YACrB,OAAO,aAAa,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"create-compute-vms.mjs","sourceRoot":"","sources":["../../../src/tools/compute/vms/create-compute-vms.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,qCAAqC;OACrE,EAAY,aAAa,EAAE,mBAAmB,EAAE,MAAM,uCAAuC;AAKpG,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,aAAa;IACvB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,iBAA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 'list_vms_compute_volumes',
17
- description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nList VM's Volumes\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/volume_list',\n $defs: {\n volume_list: {\n type: 'object',\n properties: {\n items: {\n type: 'array',\n items: {\n $ref: '#/$defs/volume'\n }\n },\n pagination: {\n $ref: '#/$defs/pagination'\n }\n },\n required: [ 'items',\n 'pagination'\n ]\n },\n volume: {\n type: 'object',\n description: 'Volume details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the Volume.'\n },\n created_at: {\n type: 'string',\n description: 'When the Volume was created.',\n format: 'date-time'\n },\n kind: {\n $ref: '#/$defs/volume_kind'\n },\n name: {\n type: 'string',\n description: 'Name of the Volume.'\n },\n size: {\n type: 'integer',\n description: 'Size of the Volume in GB.'\n },\n status: {\n $ref: '#/$defs/resource_status'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the Volume.',\n items: {\n type: 'string'\n }\n },\n type: {\n $ref: '#/$defs/storage_type'\n },\n updated_at: {\n type: 'string',\n description: 'When the Volume was updated.',\n format: 'date-time'\n },\n vm_id: {\n type: 'string',\n description: 'ID of the VM the Volume is attached to.'\n },\n vm_name: {\n type: 'string',\n description: 'Name of the VM the Volume is attached to.'\n }\n },\n required: [ 'id',\n 'created_at',\n 'kind',\n 'name',\n 'size',\n 'status',\n 'tags',\n 'type',\n 'updated_at',\n 'vm_id',\n 'vm_name'\n ]\n },\n volume_kind: {\n type: 'string',\n description: 'Volume kind.',\n enum: [ 'boot',\n 'data'\n ]\n },\n resource_status: {\n type: 'string',\n description: 'Status of the resource.',\n enum: [ 'pending',\n 'creating',\n 'updating',\n 'ready',\n 'deleting',\n 'deleted',\n 'error'\n ]\n },\n storage_type: {\n type: 'string',\n description: 'Storage type the Volume is using.',\n enum: [ 'nvme'\n ]\n },\n pagination: {\n type: 'object',\n description: 'Pagination response details.',\n properties: {\n next_cursor: {\n type: 'string'\n },\n previous_cursor: {\n type: 'string'\n },\n total_count: {\n type: 'integer'\n }\n },\n required: [ 'next_cursor',\n 'previous_cursor',\n 'total_count'\n ]\n }\n }\n}\n```",
17
+ description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nList VM's Volumes\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/volume_list',\n $defs: {\n volume_list: {\n type: 'object',\n properties: {\n items: {\n type: 'array',\n items: {\n $ref: '#/$defs/volume'\n }\n },\n pagination: {\n $ref: '#/$defs/pagination'\n }\n },\n required: [ 'items',\n 'pagination'\n ]\n },\n volume: {\n type: 'object',\n description: 'Volume details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the Volume.'\n },\n created_at: {\n type: 'string',\n description: 'When the Volume was created.',\n format: 'date-time'\n },\n kind: {\n $ref: '#/$defs/volume_kind'\n },\n name: {\n type: 'string',\n description: 'Name of the Volume.'\n },\n size: {\n type: 'integer',\n description: 'Size of the Volume in GB.'\n },\n status: {\n $ref: '#/$defs/resource_status'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the Volume.',\n items: {\n type: 'string'\n }\n },\n type: {\n $ref: '#/$defs/volume_type'\n },\n updated_at: {\n type: 'string',\n description: 'When the Volume was updated.',\n format: 'date-time'\n },\n vm_id: {\n type: 'string',\n description: 'ID of the VM the Volume is attached to.'\n },\n vm_name: {\n type: 'string',\n description: 'Name of the VM the Volume is attached to.'\n }\n },\n required: [ 'id',\n 'created_at',\n 'kind',\n 'name',\n 'size',\n 'status',\n 'tags',\n 'type',\n 'updated_at',\n 'vm_id',\n 'vm_name'\n ]\n },\n volume_kind: {\n type: 'string',\n description: 'Volume kind.',\n enum: [ 'boot',\n 'data'\n ]\n },\n resource_status: {\n type: 'string',\n description: 'Status of the resource.',\n enum: [ 'pending',\n 'creating',\n 'updating',\n 'ready',\n 'deleting',\n 'deleted',\n 'error'\n ]\n },\n volume_type: {\n type: 'string',\n description: 'Type of the Volume.',\n enum: [ 'nvme',\n 'abs'\n ]\n },\n pagination: {\n type: 'object',\n description: 'Pagination response details.',\n properties: {\n next_cursor: {\n type: 'string'\n },\n previous_cursor: {\n type: 'string'\n },\n total_count: {\n type: 'integer'\n }\n },\n required: [ 'next_cursor',\n 'previous_cursor',\n 'total_count'\n ]\n }\n }\n}\n```",
18
18
  inputSchema: {
19
19
  type: 'object',
20
20
  properties: {
@@ -11,7 +11,7 @@ export const metadata = {
11
11
  };
12
12
  export const tool = {
13
13
  name: 'list_vms_compute_volumes',
14
- description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nList VM's Volumes\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/volume_list',\n $defs: {\n volume_list: {\n type: 'object',\n properties: {\n items: {\n type: 'array',\n items: {\n $ref: '#/$defs/volume'\n }\n },\n pagination: {\n $ref: '#/$defs/pagination'\n }\n },\n required: [ 'items',\n 'pagination'\n ]\n },\n volume: {\n type: 'object',\n description: 'Volume details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the Volume.'\n },\n created_at: {\n type: 'string',\n description: 'When the Volume was created.',\n format: 'date-time'\n },\n kind: {\n $ref: '#/$defs/volume_kind'\n },\n name: {\n type: 'string',\n description: 'Name of the Volume.'\n },\n size: {\n type: 'integer',\n description: 'Size of the Volume in GB.'\n },\n status: {\n $ref: '#/$defs/resource_status'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the Volume.',\n items: {\n type: 'string'\n }\n },\n type: {\n $ref: '#/$defs/storage_type'\n },\n updated_at: {\n type: 'string',\n description: 'When the Volume was updated.',\n format: 'date-time'\n },\n vm_id: {\n type: 'string',\n description: 'ID of the VM the Volume is attached to.'\n },\n vm_name: {\n type: 'string',\n description: 'Name of the VM the Volume is attached to.'\n }\n },\n required: [ 'id',\n 'created_at',\n 'kind',\n 'name',\n 'size',\n 'status',\n 'tags',\n 'type',\n 'updated_at',\n 'vm_id',\n 'vm_name'\n ]\n },\n volume_kind: {\n type: 'string',\n description: 'Volume kind.',\n enum: [ 'boot',\n 'data'\n ]\n },\n resource_status: {\n type: 'string',\n description: 'Status of the resource.',\n enum: [ 'pending',\n 'creating',\n 'updating',\n 'ready',\n 'deleting',\n 'deleted',\n 'error'\n ]\n },\n storage_type: {\n type: 'string',\n description: 'Storage type the Volume is using.',\n enum: [ 'nvme'\n ]\n },\n pagination: {\n type: 'object',\n description: 'Pagination response details.',\n properties: {\n next_cursor: {\n type: 'string'\n },\n previous_cursor: {\n type: 'string'\n },\n total_count: {\n type: 'integer'\n }\n },\n required: [ 'next_cursor',\n 'previous_cursor',\n 'total_count'\n ]\n }\n }\n}\n```",
14
+ description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nList VM's Volumes\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/volume_list',\n $defs: {\n volume_list: {\n type: 'object',\n properties: {\n items: {\n type: 'array',\n items: {\n $ref: '#/$defs/volume'\n }\n },\n pagination: {\n $ref: '#/$defs/pagination'\n }\n },\n required: [ 'items',\n 'pagination'\n ]\n },\n volume: {\n type: 'object',\n description: 'Volume details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the Volume.'\n },\n created_at: {\n type: 'string',\n description: 'When the Volume was created.',\n format: 'date-time'\n },\n kind: {\n $ref: '#/$defs/volume_kind'\n },\n name: {\n type: 'string',\n description: 'Name of the Volume.'\n },\n size: {\n type: 'integer',\n description: 'Size of the Volume in GB.'\n },\n status: {\n $ref: '#/$defs/resource_status'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the Volume.',\n items: {\n type: 'string'\n }\n },\n type: {\n $ref: '#/$defs/volume_type'\n },\n updated_at: {\n type: 'string',\n description: 'When the Volume was updated.',\n format: 'date-time'\n },\n vm_id: {\n type: 'string',\n description: 'ID of the VM the Volume is attached to.'\n },\n vm_name: {\n type: 'string',\n description: 'Name of the VM the Volume is attached to.'\n }\n },\n required: [ 'id',\n 'created_at',\n 'kind',\n 'name',\n 'size',\n 'status',\n 'tags',\n 'type',\n 'updated_at',\n 'vm_id',\n 'vm_name'\n ]\n },\n volume_kind: {\n type: 'string',\n description: 'Volume kind.',\n enum: [ 'boot',\n 'data'\n ]\n },\n resource_status: {\n type: 'string',\n description: 'Status of the resource.',\n enum: [ 'pending',\n 'creating',\n 'updating',\n 'ready',\n 'deleting',\n 'deleted',\n 'error'\n ]\n },\n volume_type: {\n type: 'string',\n description: 'Type of the Volume.',\n enum: [ 'nvme',\n 'abs'\n ]\n },\n pagination: {\n type: 'object',\n description: 'Pagination response details.',\n properties: {\n next_cursor: {\n type: 'string'\n },\n previous_cursor: {\n type: 'string'\n },\n total_count: {\n type: 'integer'\n }\n },\n required: [ 'next_cursor',\n 'previous_cursor',\n 'total_count'\n ]\n }\n }\n}\n```",
15
15
  inputSchema: {
16
16
  type: 'object',
17
17
  properties: {
@@ -1 +1 @@
1
- {"version":3,"file":"create-volumes-compute-availability.d.mts","sourceRoot":"","sources":["../../../../src/tools/compute/volumes/availability/create-volumes-compute-availability.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,uCAAuC;OAE7F,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAyClB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,4EAY3F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAZoC,WAAW,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAc5F,wBAA2C"}
1
+ {"version":3,"file":"create-volumes-compute-availability.d.mts","sourceRoot":"","sources":["../../../../src/tools/compute/volumes/availability/create-volumes-compute-availability.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,uCAAuC;OAE7F,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA8ClB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,4EAY3F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAZoC,WAAW,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAc5F,wBAA2C"}
@@ -1 +1 @@
1
- {"version":3,"file":"create-volumes-compute-availability.d.ts","sourceRoot":"","sources":["../../../../src/tools/compute/volumes/availability/create-volumes-compute-availability.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,uCAAuC;OAE7F,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAyClB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,4EAY3F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAZoC,WAAW,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAc5F,wBAA2C"}
1
+ {"version":3,"file":"create-volumes-compute-availability.d.ts","sourceRoot":"","sources":["../../../../src/tools/compute/volumes/availability/create-volumes-compute-availability.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,uCAAuC;OAE7F,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA8ClB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,4EAY3F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAZoC,WAAW,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAc5F,wBAA2C"}
@@ -38,9 +38,7 @@ exports.tool = {
38
38
  },
39
39
  },
40
40
  type: {
41
- type: 'string',
42
- description: 'Type of the Volume. Defaults to nvme if not provided.',
43
- enum: ['nvme', 'abs'],
41
+ $ref: '#/$defs/volume_type',
44
42
  },
45
43
  jq_filter: {
46
44
  type: 'string',
@@ -49,6 +47,13 @@ exports.tool = {
49
47
  },
50
48
  },
51
49
  required: ['name', 'size', 'vm_id'],
50
+ $defs: {
51
+ volume_type: {
52
+ type: 'string',
53
+ description: 'Type of the Volume.',
54
+ enum: ['nvme', 'abs'],
55
+ },
56
+ },
52
57
  },
53
58
  annotations: {},
54
59
  };
@@ -1 +1 @@
1
- {"version":3,"file":"create-volumes-compute-availability.js","sourceRoot":"","sources":["../../../../src/tools/compute/volumes/availability/create-volumes-compute-availability.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,mEAA6E;AAC7E,iEAAqG;AAKxF,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,8BAA8B;IACxC,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,kCAAkC;IAC5C,WAAW,EAAE,4BAA4B;CAC1C,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,qCAAqC;IAC3C,WAAW,EACT,uXA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;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAZW,QAAA,OAAO,WAYlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"create-volumes-compute-availability.js","sourceRoot":"","sources":["../../../../src/tools/compute/volumes/availability/create-volumes-compute-availability.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,mEAA6E;AAC7E,iEAAqG;AAKxF,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,8BAA8B;IACxC,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,kCAAkC;IAC5C,WAAW,EAAE,4BAA4B;CAC1C,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,qCAAqC;IAC3C,WAAW,EACT,uXAAuX;IACzX,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,qBAAqB;aACnC;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,2BAA2B;aACzC;YACD,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,yCAAyC;aACvD;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,OAAO;gBACb,WAAW,EAAE,+BAA+B;gBAC5C,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,qBAAqB;aAC5B;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC;QACnC,KAAK,EAAE;YACL,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,qBAAqB;gBAClC,IAAI,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC;aACtB;SACF;KACF;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAmB,EAAE,IAAyC,EAAE,EAAE;IAC9F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,IAAI,CAAC;QACH,OAAO,IAAA,2BAAmB,EACxB,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,YAAY,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CACrF,CAAC;IACJ,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,IAAA,qBAAS,EAAC,KAAK,CAAC,EAAE,CAAC;YACrB,OAAO,IAAA,qBAAa,EAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAZW,QAAA,OAAO,WAYlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
@@ -35,9 +35,7 @@ export const tool = {
35
35
  },
36
36
  },
37
37
  type: {
38
- type: 'string',
39
- description: 'Type of the Volume. Defaults to nvme if not provided.',
40
- enum: ['nvme', 'abs'],
38
+ $ref: '#/$defs/volume_type',
41
39
  },
42
40
  jq_filter: {
43
41
  type: 'string',
@@ -46,6 +44,13 @@ export const tool = {
46
44
  },
47
45
  },
48
46
  required: ['name', 'size', 'vm_id'],
47
+ $defs: {
48
+ volume_type: {
49
+ type: 'string',
50
+ description: 'Type of the Volume.',
51
+ enum: ['nvme', 'abs'],
52
+ },
53
+ },
49
54
  },
50
55
  annotations: {},
51
56
  };
@@ -1 +1 @@
1
- {"version":3,"file":"create-volumes-compute-availability.mjs","sourceRoot":"","sources":["../../../../src/tools/compute/volumes/availability/create-volumes-compute-availability.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,qCAAqC;OACrE,EAAY,aAAa,EAAE,mBAAmB,EAAE,MAAM,uCAAuC;AAKpG,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,8BAA8B;IACxC,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,kCAAkC;IAC5C,WAAW,EAAE,4BAA4B;CAC1C,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,qCAAqC;IAC3C,WAAW,EACT,uXAAuX;IACzX,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,qBAAqB;aACnC;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,2BAA2B;aACzC;YACD,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,yCAAyC;aACvD;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,OAAO;gBACb,WAAW,EAAE,+BAA+B;gBAC5C,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,uDAAuD;gBACpE,IAAI,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC;aACtB;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC;KACpC;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAmB,EAAE,IAAyC,EAAE,EAAE;IAC9F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,IAAI,CAAC;QACH,OAAO,mBAAmB,CACxB,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,YAAY,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CACrF,CAAC;IACJ,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC;YACrB,OAAO,aAAa,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"create-volumes-compute-availability.mjs","sourceRoot":"","sources":["../../../../src/tools/compute/volumes/availability/create-volumes-compute-availability.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,qCAAqC;OACrE,EAAY,aAAa,EAAE,mBAAmB,EAAE,MAAM,uCAAuC;AAKpG,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,8BAA8B;IACxC,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,kCAAkC;IAC5C,WAAW,EAAE,4BAA4B;CAC1C,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,qCAAqC;IAC3C,WAAW,EACT,uXAAuX;IACzX,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,IA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AK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"create-compute-volumes.d.mts","sourceRoot":"","sources":["../../../src/tools/compute/volumes/create-compute-volumes.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,uCAAuC;OAE7F,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAyClB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,4EAU3F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAVoC,WAAW,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAY5F,wBAA2C"}
1
+ {"version":3,"file":"create-compute-volumes.d.mts","sourceRoot":"","sources":["../../../src/tools/compute/volumes/create-compute-volumes.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,uCAAuC;OAE7F,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA8ClB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,4EAU3F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAVoC,WAAW,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAY5F,wBAA2C"}
@@ -1 +1 @@
1
- {"version":3,"file":"create-compute-volumes.d.ts","sourceRoot":"","sources":["../../../src/tools/compute/volumes/create-compute-volumes.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,uCAAuC;OAE7F,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAyClB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,4EAU3F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAVoC,WAAW,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAY5F,wBAA2C"}
1
+ {"version":3,"file":"create-compute-volumes.d.ts","sourceRoot":"","sources":["../../../src/tools/compute/volumes/create-compute-volumes.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,uCAAuC;OAE7F,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA8ClB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,4EAU3F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAVoC,WAAW,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAY5F,wBAA2C"}
@@ -38,9 +38,7 @@ exports.tool = {
38
38
  },
39
39
  },
40
40
  type: {
41
- type: 'string',
42
- description: 'Type of the Volume. Defaults to nvme if not provided.',
43
- enum: ['nvme', 'abs'],
41
+ $ref: '#/$defs/volume_type',
44
42
  },
45
43
  jq_filter: {
46
44
  type: 'string',
@@ -49,6 +47,13 @@ exports.tool = {
49
47
  },
50
48
  },
51
49
  required: ['name', 'size', 'vm_id'],
50
+ $defs: {
51
+ volume_type: {
52
+ type: 'string',
53
+ description: 'Type of the Volume.',
54
+ enum: ['nvme', 'abs'],
55
+ },
56
+ },
52
57
  },
53
58
  annotations: {},
54
59
  };
@@ -1 +1 @@
1
- {"version":3,"file":"create-compute-volumes.js","sourceRoot":"","sources":["../../../src/tools/compute/volumes/create-compute-volumes.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,mEAA6E;AAC7E,iEAAqG;AAKxF,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,iBAAiB;IAC3B,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,qBAAqB;IAC/B,WAAW,EAAE,eAAe;CAC7B,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,wBAAwB;IAC9B,WAAW,EACT,07DAA07D;IAC57D,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,qBAAqB;aACnC;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,2BAA2B;aACzC;YACD,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,yCAAyC;aACvD;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,OAAO;gBACb,WAAW,EAAE,+BAA+B;gBAC5C,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,uDAAuD;gBACpE,IAAI,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC;aACtB;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC;KACpC;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAmB,EAAE,IAAyC,EAAE,EAAE;IAC9F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,IAAI,CAAC;QACH,OAAO,IAAA,2BAAmB,EAAC,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACtG,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,IAAA,qBAAS,EAAC,KAAK,CAAC,EAAE,CAAC;YACrB,OAAO,IAAA,qBAAa,EAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAVW,QAAA,OAAO,WAUlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"create-compute-volumes.js","sourceRoot":"","sources":["../../../src/tools/compute/volumes/create-compute-volumes.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,mEAA6E;AAC7E,iEAAqG;AAKxF,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,iBAAiB;IAC3B,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,qBAAqB;IAC/B,WAAW,EAAE,eAAe;CAC7B,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,wBAAwB;IA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E,CAAC;YACrB,OAAO,IAAA,qBAAa,EAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAVW,QAAA,OAAO,WAUlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
@@ -35,9 +35,7 @@ export const tool = {
35
35
  },
36
36
  },
37
37
  type: {
38
- type: 'string',
39
- description: 'Type of the Volume. Defaults to nvme if not provided.',
40
- enum: ['nvme', 'abs'],
38
+ $ref: '#/$defs/volume_type',
41
39
  },
42
40
  jq_filter: {
43
41
  type: 'string',
@@ -46,6 +44,13 @@ export const tool = {
46
44
  },
47
45
  },
48
46
  required: ['name', 'size', 'vm_id'],
47
+ $defs: {
48
+ volume_type: {
49
+ type: 'string',
50
+ description: 'Type of the Volume.',
51
+ enum: ['nvme', 'abs'],
52
+ },
53
+ },
49
54
  },
50
55
  annotations: {},
51
56
  };
@@ -1 +1 @@
1
- {"version":3,"file":"create-compute-volumes.mjs","sourceRoot":"","sources":["../../../src/tools/compute/volumes/create-compute-volumes.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,qCAAqC;OACrE,EAAY,aAAa,EAAE,mBAAmB,EAAE,MAAM,uCAAuC;AAKpG,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,iBAAiB;IAC3B,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,qBAAqB;IAC/B,WAAW,EAAE,eAAe;CAC7B,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,wBAAwB;IAC9B,WAAW,EACT,07DAA07D;IAC57D,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,E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I,EAAE,OAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"create-compute-volumes.mjs","sourceRoot":"","sources":["../../../src/tools/compute/volumes/create-compute-volumes.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,qCAAqC;OACrE,EAAY,aAAa,EAAE,mBAAmB,EAAE,MAAM,uCAAuC;AAKpG,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,iBAAiB;IAC3B,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,qBAAqB;IAC/B,WAAW,EAAE,eAAe;CAC7B,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,wBAAwB;IAC9B,WAAW,EACT,07DAA07D;IAC57D,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,qBAAqB;aACnC;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,2BAA2B;aACzC;YACD,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,yCAAyC;aACvD;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,OAAO;gBACb,WAAW,EAAE,+BAA+B;gBAC5C,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,qBAAqB;aAC5B;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC;QACnC,KAAK,EAAE;YACL,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,qBAAqB;gBAClC,IAAI,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC;aACtB;SACF;KACF;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAmB,EAAE,IAAyC,EAAE,EAAE;IAC9F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,IAAI,CAAC;QACH,OAAO,mBAAmB,CAAC,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACtG,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC;YACrB,OAAO,aAAa,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
@@ -14,7 +14,7 @@ exports.metadata = {
14
14
  };
15
15
  exports.tool = {
16
16
  name: 'get_compute_volumes',
17
- description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nGet a Volume.\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/volume',\n $defs: {\n volume: {\n type: 'object',\n description: 'Volume details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the Volume.'\n },\n created_at: {\n type: 'string',\n description: 'When the Volume was created.',\n format: 'date-time'\n },\n kind: {\n $ref: '#/$defs/volume_kind'\n },\n name: {\n type: 'string',\n description: 'Name of the Volume.'\n },\n size: {\n type: 'integer',\n description: 'Size of the Volume in GB.'\n },\n status: {\n $ref: '#/$defs/resource_status'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the Volume.',\n items: {\n type: 'string'\n }\n },\n type: {\n $ref: '#/$defs/storage_type'\n },\n updated_at: {\n type: 'string',\n description: 'When the Volume was updated.',\n format: 'date-time'\n },\n vm_id: {\n type: 'string',\n description: 'ID of the VM the Volume is attached to.'\n },\n vm_name: {\n type: 'string',\n description: 'Name of the VM the Volume is attached to.'\n }\n },\n required: [ 'id',\n 'created_at',\n 'kind',\n 'name',\n 'size',\n 'status',\n 'tags',\n 'type',\n 'updated_at',\n 'vm_id',\n 'vm_name'\n ]\n },\n volume_kind: {\n type: 'string',\n description: 'Volume kind.',\n enum: [ 'boot',\n 'data'\n ]\n },\n resource_status: {\n type: 'string',\n description: 'Status of the resource.',\n enum: [ 'pending',\n 'creating',\n 'updating',\n 'ready',\n 'deleting',\n 'deleted',\n 'error'\n ]\n },\n storage_type: {\n type: 'string',\n description: 'Storage type the Volume is using.',\n enum: [ 'nvme'\n ]\n }\n }\n}\n```",
17
+ description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nGet a Volume.\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/volume',\n $defs: {\n volume: {\n type: 'object',\n description: 'Volume details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the Volume.'\n },\n created_at: {\n type: 'string',\n description: 'When the Volume was created.',\n format: 'date-time'\n },\n kind: {\n $ref: '#/$defs/volume_kind'\n },\n name: {\n type: 'string',\n description: 'Name of the Volume.'\n },\n size: {\n type: 'integer',\n description: 'Size of the Volume in GB.'\n },\n status: {\n $ref: '#/$defs/resource_status'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the Volume.',\n items: {\n type: 'string'\n }\n },\n type: {\n $ref: '#/$defs/volume_type'\n },\n updated_at: {\n type: 'string',\n description: 'When the Volume was updated.',\n format: 'date-time'\n },\n vm_id: {\n type: 'string',\n description: 'ID of the VM the Volume is attached to.'\n },\n vm_name: {\n type: 'string',\n description: 'Name of the VM the Volume is attached to.'\n }\n },\n required: [ 'id',\n 'created_at',\n 'kind',\n 'name',\n 'size',\n 'status',\n 'tags',\n 'type',\n 'updated_at',\n 'vm_id',\n 'vm_name'\n ]\n },\n volume_kind: {\n type: 'string',\n description: 'Volume kind.',\n enum: [ 'boot',\n 'data'\n ]\n },\n resource_status: {\n type: 'string',\n description: 'Status of the resource.',\n enum: [ 'pending',\n 'creating',\n 'updating',\n 'ready',\n 'deleting',\n 'deleted',\n 'error'\n ]\n },\n volume_type: {\n type: 'string',\n description: 'Type of the Volume.',\n enum: [ 'nvme',\n 'abs'\n ]\n }\n }\n}\n```",
18
18
  inputSchema: {
19
19
  type: 'object',
20
20
  properties: {
@@ -11,7 +11,7 @@ export const metadata = {
11
11
  };
12
12
  export const tool = {
13
13
  name: 'get_compute_volumes',
14
- description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nGet a Volume.\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/volume',\n $defs: {\n volume: {\n type: 'object',\n description: 'Volume details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the Volume.'\n },\n created_at: {\n type: 'string',\n description: 'When the Volume was created.',\n format: 'date-time'\n },\n kind: {\n $ref: '#/$defs/volume_kind'\n },\n name: {\n type: 'string',\n description: 'Name of the Volume.'\n },\n size: {\n type: 'integer',\n description: 'Size of the Volume in GB.'\n },\n status: {\n $ref: '#/$defs/resource_status'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the Volume.',\n items: {\n type: 'string'\n }\n },\n type: {\n $ref: '#/$defs/storage_type'\n },\n updated_at: {\n type: 'string',\n description: 'When the Volume was updated.',\n format: 'date-time'\n },\n vm_id: {\n type: 'string',\n description: 'ID of the VM the Volume is attached to.'\n },\n vm_name: {\n type: 'string',\n description: 'Name of the VM the Volume is attached to.'\n }\n },\n required: [ 'id',\n 'created_at',\n 'kind',\n 'name',\n 'size',\n 'status',\n 'tags',\n 'type',\n 'updated_at',\n 'vm_id',\n 'vm_name'\n ]\n },\n volume_kind: {\n type: 'string',\n description: 'Volume kind.',\n enum: [ 'boot',\n 'data'\n ]\n },\n resource_status: {\n type: 'string',\n description: 'Status of the resource.',\n enum: [ 'pending',\n 'creating',\n 'updating',\n 'ready',\n 'deleting',\n 'deleted',\n 'error'\n ]\n },\n storage_type: {\n type: 'string',\n description: 'Storage type the Volume is using.',\n enum: [ 'nvme'\n ]\n }\n }\n}\n```",
14
+ description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nGet a Volume.\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/volume',\n $defs: {\n volume: {\n type: 'object',\n description: 'Volume details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the Volume.'\n },\n created_at: {\n type: 'string',\n description: 'When the Volume was created.',\n format: 'date-time'\n },\n kind: {\n $ref: '#/$defs/volume_kind'\n },\n name: {\n type: 'string',\n description: 'Name of the Volume.'\n },\n size: {\n type: 'integer',\n description: 'Size of the Volume in GB.'\n },\n status: {\n $ref: '#/$defs/resource_status'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the Volume.',\n items: {\n type: 'string'\n }\n },\n type: {\n $ref: '#/$defs/volume_type'\n },\n updated_at: {\n type: 'string',\n description: 'When the Volume was updated.',\n format: 'date-time'\n },\n vm_id: {\n type: 'string',\n description: 'ID of the VM the Volume is attached to.'\n },\n vm_name: {\n type: 'string',\n description: 'Name of the VM the Volume is attached to.'\n }\n },\n required: [ 'id',\n 'created_at',\n 'kind',\n 'name',\n 'size',\n 'status',\n 'tags',\n 'type',\n 'updated_at',\n 'vm_id',\n 'vm_name'\n ]\n },\n volume_kind: {\n type: 'string',\n description: 'Volume kind.',\n enum: [ 'boot',\n 'data'\n ]\n },\n resource_status: {\n type: 'string',\n description: 'Status of the resource.',\n enum: [ 'pending',\n 'creating',\n 'updating',\n 'ready',\n 'deleting',\n 'deleted',\n 'error'\n ]\n },\n volume_type: {\n type: 'string',\n description: 'Type of the Volume.',\n enum: [ 'nvme',\n 'abs'\n ]\n }\n }\n}\n```",
15
15
  inputSchema: {
16
16
  type: 'object',
17
17
  properties: {
@@ -14,7 +14,7 @@ exports.metadata = {
14
14
  };
15
15
  exports.tool = {
16
16
  name: 'list_compute_volumes',
17
- description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nList all volumes\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/volume_list',\n $defs: {\n volume_list: {\n type: 'object',\n properties: {\n items: {\n type: 'array',\n items: {\n $ref: '#/$defs/volume'\n }\n },\n pagination: {\n $ref: '#/$defs/pagination'\n }\n },\n required: [ 'items',\n 'pagination'\n ]\n },\n volume: {\n type: 'object',\n description: 'Volume details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the Volume.'\n },\n created_at: {\n type: 'string',\n description: 'When the Volume was created.',\n format: 'date-time'\n },\n kind: {\n $ref: '#/$defs/volume_kind'\n },\n name: {\n type: 'string',\n description: 'Name of the Volume.'\n },\n size: {\n type: 'integer',\n description: 'Size of the Volume in GB.'\n },\n status: {\n $ref: '#/$defs/resource_status'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the Volume.',\n items: {\n type: 'string'\n }\n },\n type: {\n $ref: '#/$defs/storage_type'\n },\n updated_at: {\n type: 'string',\n description: 'When the Volume was updated.',\n format: 'date-time'\n },\n vm_id: {\n type: 'string',\n description: 'ID of the VM the Volume is attached to.'\n },\n vm_name: {\n type: 'string',\n description: 'Name of the VM the Volume is attached to.'\n }\n },\n required: [ 'id',\n 'created_at',\n 'kind',\n 'name',\n 'size',\n 'status',\n 'tags',\n 'type',\n 'updated_at',\n 'vm_id',\n 'vm_name'\n ]\n },\n volume_kind: {\n type: 'string',\n description: 'Volume kind.',\n enum: [ 'boot',\n 'data'\n ]\n },\n resource_status: {\n type: 'string',\n description: 'Status of the resource.',\n enum: [ 'pending',\n 'creating',\n 'updating',\n 'ready',\n 'deleting',\n 'deleted',\n 'error'\n ]\n },\n storage_type: {\n type: 'string',\n description: 'Storage type the Volume is using.',\n enum: [ 'nvme'\n ]\n },\n pagination: {\n type: 'object',\n description: 'Pagination response details.',\n properties: {\n next_cursor: {\n type: 'string'\n },\n previous_cursor: {\n type: 'string'\n },\n total_count: {\n type: 'integer'\n }\n },\n required: [ 'next_cursor',\n 'previous_cursor',\n 'total_count'\n ]\n }\n }\n}\n```",
17
+ description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nList all volumes\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/volume_list',\n $defs: {\n volume_list: {\n type: 'object',\n properties: {\n items: {\n type: 'array',\n items: {\n $ref: '#/$defs/volume'\n }\n },\n pagination: {\n $ref: '#/$defs/pagination'\n }\n },\n required: [ 'items',\n 'pagination'\n ]\n },\n volume: {\n type: 'object',\n description: 'Volume details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the Volume.'\n },\n created_at: {\n type: 'string',\n description: 'When the Volume was created.',\n format: 'date-time'\n },\n kind: {\n $ref: '#/$defs/volume_kind'\n },\n name: {\n type: 'string',\n description: 'Name of the Volume.'\n },\n size: {\n type: 'integer',\n description: 'Size of the Volume in GB.'\n },\n status: {\n $ref: '#/$defs/resource_status'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the Volume.',\n items: {\n type: 'string'\n }\n },\n type: {\n $ref: '#/$defs/volume_type'\n },\n updated_at: {\n type: 'string',\n description: 'When the Volume was updated.',\n format: 'date-time'\n },\n vm_id: {\n type: 'string',\n description: 'ID of the VM the Volume is attached to.'\n },\n vm_name: {\n type: 'string',\n description: 'Name of the VM the Volume is attached to.'\n }\n },\n required: [ 'id',\n 'created_at',\n 'kind',\n 'name',\n 'size',\n 'status',\n 'tags',\n 'type',\n 'updated_at',\n 'vm_id',\n 'vm_name'\n ]\n },\n volume_kind: {\n type: 'string',\n description: 'Volume kind.',\n enum: [ 'boot',\n 'data'\n ]\n },\n resource_status: {\n type: 'string',\n description: 'Status of the resource.',\n enum: [ 'pending',\n 'creating',\n 'updating',\n 'ready',\n 'deleting',\n 'deleted',\n 'error'\n ]\n },\n volume_type: {\n type: 'string',\n description: 'Type of the Volume.',\n enum: [ 'nvme',\n 'abs'\n ]\n },\n pagination: {\n type: 'object',\n description: 'Pagination response details.',\n properties: {\n next_cursor: {\n type: 'string'\n },\n previous_cursor: {\n type: 'string'\n },\n total_count: {\n type: 'integer'\n }\n },\n required: [ 'next_cursor',\n 'previous_cursor',\n 'total_count'\n ]\n }\n }\n}\n```",
18
18
  inputSchema: {
19
19
  type: 'object',
20
20
  properties: {
@@ -11,7 +11,7 @@ export const metadata = {
11
11
  };
12
12
  export const tool = {
13
13
  name: 'list_compute_volumes',
14
- description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nList all volumes\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/volume_list',\n $defs: {\n volume_list: {\n type: 'object',\n properties: {\n items: {\n type: 'array',\n items: {\n $ref: '#/$defs/volume'\n }\n },\n pagination: {\n $ref: '#/$defs/pagination'\n }\n },\n required: [ 'items',\n 'pagination'\n ]\n },\n volume: {\n type: 'object',\n description: 'Volume details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the Volume.'\n },\n created_at: {\n type: 'string',\n description: 'When the Volume was created.',\n format: 'date-time'\n },\n kind: {\n $ref: '#/$defs/volume_kind'\n },\n name: {\n type: 'string',\n description: 'Name of the Volume.'\n },\n size: {\n type: 'integer',\n description: 'Size of the Volume in GB.'\n },\n status: {\n $ref: '#/$defs/resource_status'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the Volume.',\n items: {\n type: 'string'\n }\n },\n type: {\n $ref: '#/$defs/storage_type'\n },\n updated_at: {\n type: 'string',\n description: 'When the Volume was updated.',\n format: 'date-time'\n },\n vm_id: {\n type: 'string',\n description: 'ID of the VM the Volume is attached to.'\n },\n vm_name: {\n type: 'string',\n description: 'Name of the VM the Volume is attached to.'\n }\n },\n required: [ 'id',\n 'created_at',\n 'kind',\n 'name',\n 'size',\n 'status',\n 'tags',\n 'type',\n 'updated_at',\n 'vm_id',\n 'vm_name'\n ]\n },\n volume_kind: {\n type: 'string',\n description: 'Volume kind.',\n enum: [ 'boot',\n 'data'\n ]\n },\n resource_status: {\n type: 'string',\n description: 'Status of the resource.',\n enum: [ 'pending',\n 'creating',\n 'updating',\n 'ready',\n 'deleting',\n 'deleted',\n 'error'\n ]\n },\n storage_type: {\n type: 'string',\n description: 'Storage type the Volume is using.',\n enum: [ 'nvme'\n ]\n },\n pagination: {\n type: 'object',\n description: 'Pagination response details.',\n properties: {\n next_cursor: {\n type: 'string'\n },\n previous_cursor: {\n type: 'string'\n },\n total_count: {\n type: 'integer'\n }\n },\n required: [ 'next_cursor',\n 'previous_cursor',\n 'total_count'\n ]\n }\n }\n}\n```",
14
+ description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nList all volumes\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/volume_list',\n $defs: {\n volume_list: {\n type: 'object',\n properties: {\n items: {\n type: 'array',\n items: {\n $ref: '#/$defs/volume'\n }\n },\n pagination: {\n $ref: '#/$defs/pagination'\n }\n },\n required: [ 'items',\n 'pagination'\n ]\n },\n volume: {\n type: 'object',\n description: 'Volume details.',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier for the Volume.'\n },\n created_at: {\n type: 'string',\n description: 'When the Volume was created.',\n format: 'date-time'\n },\n kind: {\n $ref: '#/$defs/volume_kind'\n },\n name: {\n type: 'string',\n description: 'Name of the Volume.'\n },\n size: {\n type: 'integer',\n description: 'Size of the Volume in GB.'\n },\n status: {\n $ref: '#/$defs/resource_status'\n },\n tags: {\n type: 'array',\n description: 'Tags to attach to the Volume.',\n items: {\n type: 'string'\n }\n },\n type: {\n $ref: '#/$defs/volume_type'\n },\n updated_at: {\n type: 'string',\n description: 'When the Volume was updated.',\n format: 'date-time'\n },\n vm_id: {\n type: 'string',\n description: 'ID of the VM the Volume is attached to.'\n },\n vm_name: {\n type: 'string',\n description: 'Name of the VM the Volume is attached to.'\n }\n },\n required: [ 'id',\n 'created_at',\n 'kind',\n 'name',\n 'size',\n 'status',\n 'tags',\n 'type',\n 'updated_at',\n 'vm_id',\n 'vm_name'\n ]\n },\n volume_kind: {\n type: 'string',\n description: 'Volume kind.',\n enum: [ 'boot',\n 'data'\n ]\n },\n resource_status: {\n type: 'string',\n description: 'Status of the resource.',\n enum: [ 'pending',\n 'creating',\n 'updating',\n 'ready',\n 'deleting',\n 'deleted',\n 'error'\n ]\n },\n volume_type: {\n type: 'string',\n description: 'Type of the Volume.',\n enum: [ 'nvme',\n 'abs'\n ]\n },\n pagination: {\n type: 'object',\n description: 'Pagination response details.',\n properties: {\n next_cursor: {\n type: 'string'\n },\n previous_cursor: {\n type: 'string'\n },\n total_count: {\n type: 'integer'\n }\n },\n required: [ 'next_cursor',\n 'previous_cursor',\n 'total_count'\n ]\n }\n }\n}\n```",
15
15
  inputSchema: {
16
16
  type: 'object',
17
17
  properties: {