UNPKG

@flowfuse/flowfuse

Version:

An open source low-code development platform

47 lines (46 loc) 2.23 kB
module.exports = [ { name: 'platform_list_hosted_instance_types', title: 'List Hosted Instance Types', description: 'FlowFuse platform automation tool: List all available hosted instance types. Use this to find valid projectType values when creating a hosted instance.', annotations: { readOnlyHint: true, destructiveHint: false }, inputSchema: {}, handler: async (args, { inject }) => { const response = await inject({ method: 'GET', url: '/api/v1/project-types' }) return response } }, { name: 'platform_list_stacks', title: 'List Stacks', description: 'FlowFuse platform automation tool: List all available stacks (Node-RED versions). Use this to find valid stack values when creating a hosted instance.', annotations: { readOnlyHint: true, destructiveHint: false }, inputSchema: {}, handler: async (args, { inject }) => { const response = await inject({ method: 'GET', url: '/api/v1/stacks' }) return response } }, { name: 'platform_list_templates', title: 'List Templates', description: 'FlowFuse platform automation tool: List all available templates. When creating a hosted instance, if only one template exists, use it automatically. If multiple templates exist, ask the user which one to use.', annotations: { readOnlyHint: true, destructiveHint: false }, inputSchema: {}, handler: async (args, { inject }) => { const response = await inject({ method: 'GET', url: '/api/v1/templates' }) return response } }, { name: 'platform_list_blueprints', title: 'List Blueprints', description: 'FlowFuse platform automation tool: List all available flow blueprints. Blueprints provide starter flows that can be used when creating a new hosted instance.', annotations: { readOnlyHint: true, destructiveHint: false }, inputSchema: {}, handler: async (args, { inject }) => { const response = await inject({ method: 'GET', url: '/api/v1/flow-blueprints' }) return response } } ]