langflow-mcp-server 3.1.0 → 4.11.0
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.
- package/README.md +228 -79
- package/dist/__tests__/fixtures/vertices.d.ts +1 -2
- package/dist/__tests__/fixtures/vertices.d.ts.map +1 -1
- package/dist/__tests__/fixtures/vertices.js +1 -5
- package/dist/__tests__/fixtures/vertices.js.map +1 -1
- package/dist/mcp/server-consolidated.d.ts +13 -0
- package/dist/mcp/server-consolidated.d.ts.map +1 -1
- package/dist/mcp/server-consolidated.js +713 -44
- package/dist/mcp/server-consolidated.js.map +1 -1
- package/dist/mcp/server.d.ts.map +1 -1
- package/dist/mcp/server.js +749 -50
- package/dist/mcp/server.js.map +1 -1
- package/dist/mcp/tools-consolidated.d.ts.map +1 -1
- package/dist/mcp/tools-consolidated.js +722 -43
- package/dist/mcp/tools-consolidated.js.map +1 -1
- package/dist/mcp/tools.d.ts.map +1 -1
- package/dist/mcp/tools.js +1701 -66
- package/dist/mcp/tools.js.map +1 -1
- package/dist/mcp/validation-consolidated.d.ts +681 -9
- package/dist/mcp/validation-consolidated.d.ts.map +1 -1
- package/dist/mcp/validation-consolidated.js +635 -15
- package/dist/mcp/validation-consolidated.js.map +1 -1
- package/dist/mcp/validation.d.ts +769 -11
- package/dist/mcp/validation.d.ts.map +1 -1
- package/dist/mcp/validation.js +600 -11
- package/dist/mcp/validation.js.map +1 -1
- package/dist/services/langflow-client.d.ts +133 -51
- package/dist/services/langflow-client.d.ts.map +1 -1
- package/dist/services/langflow-client.js +1102 -154
- package/dist/services/langflow-client.js.map +1 -1
- package/dist/types/index.d.ts +395 -4
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +16 -13
package/dist/mcp/tools.js
CHANGED
|
@@ -414,10 +414,13 @@ Parameters:
|
|
|
414
414
|
- flow_id_or_name (required, string): Flow identifier (UUID) or flow name (case-sensitive)
|
|
415
415
|
- input_request (required, object): Execution configuration containing:
|
|
416
416
|
- input_value (optional, string): Primary input data for the flow (e.g., user message, data to process)
|
|
417
|
+
- output_component (optional, string): Specific output component to return
|
|
417
418
|
- output_type (optional, string): Expected output format (e.g., "chat", "text", "json")
|
|
418
419
|
- input_type (optional, string): Type of input being provided (e.g., "chat", "text", "json")
|
|
420
|
+
- session_id (optional, string): Session ID for conversation continuity
|
|
419
421
|
- tweaks (optional, object): Component-specific parameter overrides (key: component_id, value: parameter object)
|
|
420
|
-
-
|
|
422
|
+
- context (optional, object): Request context passed alongside the input request
|
|
423
|
+
- stream (optional, boolean, default: false): Streaming is currently rejected by this MCP client because streamed responses are not JSON serializable
|
|
421
424
|
|
|
422
425
|
Returns: RunResponse object containing:
|
|
423
426
|
- outputs (array): Flow execution results from output components
|
|
@@ -427,13 +430,13 @@ Returns: RunResponse object containing:
|
|
|
427
430
|
Usage Examples:
|
|
428
431
|
1. Simple execution: { flow_id_or_name: "my-chatbot", input_request: { input_value: "Hello" } }
|
|
429
432
|
2. With output type: { flow_id_or_name: "data-processor", input_request: { input_value: "data", output_type: "json" } }
|
|
430
|
-
3. With
|
|
433
|
+
3. With context: { flow_id_or_name: "llm-chat", input_request: { input_value: "Explain AI" }, context: { tenant: "acme" } }
|
|
431
434
|
4. With tweaks: { flow_id_or_name: "flow-uuid", input_request: { input_value: "test", tweaks: { "component-id": { temperature: 0.7 } } } }
|
|
432
435
|
|
|
433
436
|
Best Practices:
|
|
434
437
|
- Use flow ID (UUID) for production; names may change or conflict
|
|
435
438
|
- Build flow first with build_flow to ensure it's valid before execution
|
|
436
|
-
-
|
|
439
|
+
- Leave stream false; this MCP client currently returns JSON tool responses only
|
|
437
440
|
- Cache session_id for multi-turn conversations to maintain context
|
|
438
441
|
- Set appropriate timeout values for long-running flows
|
|
439
442
|
- Test flows with various inputs before production deployment
|
|
@@ -468,6 +471,10 @@ Related Tools:
|
|
|
468
471
|
type: 'string',
|
|
469
472
|
description: 'Input value for the flow'
|
|
470
473
|
},
|
|
474
|
+
output_component: {
|
|
475
|
+
type: 'string',
|
|
476
|
+
description: 'Specific output component to return'
|
|
477
|
+
},
|
|
471
478
|
output_type: {
|
|
472
479
|
type: 'string',
|
|
473
480
|
description: 'Expected output type'
|
|
@@ -476,15 +483,23 @@ Related Tools:
|
|
|
476
483
|
type: 'string',
|
|
477
484
|
description: 'Type of input being provided'
|
|
478
485
|
},
|
|
486
|
+
session_id: {
|
|
487
|
+
type: 'string',
|
|
488
|
+
description: 'Session ID for conversation continuity'
|
|
489
|
+
},
|
|
479
490
|
tweaks: {
|
|
480
491
|
type: 'object',
|
|
481
492
|
description: 'Optional parameter tweaks'
|
|
482
493
|
}
|
|
483
494
|
}
|
|
484
495
|
},
|
|
496
|
+
context: {
|
|
497
|
+
type: 'object',
|
|
498
|
+
description: 'Request context passed alongside the input request'
|
|
499
|
+
},
|
|
485
500
|
stream: {
|
|
486
501
|
type: 'boolean',
|
|
487
|
-
description: '
|
|
502
|
+
description: 'Streaming is currently rejected by this MCP client'
|
|
488
503
|
}
|
|
489
504
|
},
|
|
490
505
|
required: ['flow_id_or_name', 'input_request']
|
|
@@ -1725,9 +1740,13 @@ Related Tools:
|
|
|
1725
1740
|
type: 'string',
|
|
1726
1741
|
description: 'Session ID for conversation continuity (required)'
|
|
1727
1742
|
},
|
|
1743
|
+
context: {
|
|
1744
|
+
type: 'object',
|
|
1745
|
+
description: 'Request context passed alongside the input request'
|
|
1746
|
+
},
|
|
1728
1747
|
stream: {
|
|
1729
1748
|
type: 'boolean',
|
|
1730
|
-
description: '
|
|
1749
|
+
description: 'Streaming is currently rejected by this MCP client'
|
|
1731
1750
|
}
|
|
1732
1751
|
},
|
|
1733
1752
|
required: ['flow_id_or_name', 'session_id']
|
|
@@ -2072,31 +2091,6 @@ Related Tools:
|
|
|
2072
2091
|
openWorldHint: true
|
|
2073
2092
|
}
|
|
2074
2093
|
},
|
|
2075
|
-
{
|
|
2076
|
-
name: 'get_vertex',
|
|
2077
|
-
description: '⚠️ DEPRECATED: This endpoint is deprecated in Langflow API 1.6.4 and will be removed in a future version. Use "build_flow" tool instead to build specific components, or "get_flow" to retrieve flow structure.\n\nGet detailed information about a specific vertex (component) in a flow. Retrieves vertex configuration, state, and metadata. Essential for inspecting individual component details, debugging component issues, and understanding flow structure at the component level.',
|
|
2078
|
-
inputSchema: {
|
|
2079
|
-
type: 'object',
|
|
2080
|
-
properties: {
|
|
2081
|
-
flow_id: {
|
|
2082
|
-
type: 'string',
|
|
2083
|
-
format: 'uuid',
|
|
2084
|
-
description: 'Flow ID (UUID) containing the vertex'
|
|
2085
|
-
},
|
|
2086
|
-
vertex_id: {
|
|
2087
|
-
type: 'string',
|
|
2088
|
-
description: 'Vertex ID to retrieve details for'
|
|
2089
|
-
}
|
|
2090
|
-
},
|
|
2091
|
-
required: ['flow_id', 'vertex_id']
|
|
2092
|
-
},
|
|
2093
|
-
annotations: {
|
|
2094
|
-
readOnlyHint: true,
|
|
2095
|
-
destructiveHint: false,
|
|
2096
|
-
idempotentHint: true,
|
|
2097
|
-
openWorldHint: true
|
|
2098
|
-
}
|
|
2099
|
-
},
|
|
2100
2094
|
{
|
|
2101
2095
|
name: 'stream_vertex_build',
|
|
2102
2096
|
description: '⚠️ DEPRECATED: This endpoint is deprecated in Langflow API 1.6.4 and will be removed in a future version. Use "get_build_status" tool with event_delivery="streaming" to monitor build progress.\n\nStream real-time build events for a specific vertex. Provides live updates during vertex build process using server-sent events (SSE). Essential for monitoring long-running component builds, debugging build failures in real-time, and providing live build status to users.',
|
|
@@ -2172,27 +2166,6 @@ Related Tools:
|
|
|
2172
2166
|
openWorldHint: true
|
|
2173
2167
|
}
|
|
2174
2168
|
},
|
|
2175
|
-
{
|
|
2176
|
-
name: 'get_user',
|
|
2177
|
-
description: 'Get details about a specific user by ID. Returns user profile information including username, email, active status, and profile picture.',
|
|
2178
|
-
inputSchema: {
|
|
2179
|
-
type: 'object',
|
|
2180
|
-
properties: {
|
|
2181
|
-
user_id: {
|
|
2182
|
-
type: 'string',
|
|
2183
|
-
format: 'uuid',
|
|
2184
|
-
description: 'User ID (UUID)'
|
|
2185
|
-
}
|
|
2186
|
-
},
|
|
2187
|
-
required: ['user_id']
|
|
2188
|
-
},
|
|
2189
|
-
annotations: {
|
|
2190
|
-
readOnlyHint: true,
|
|
2191
|
-
destructiveHint: false,
|
|
2192
|
-
idempotentHint: true,
|
|
2193
|
-
openWorldHint: true
|
|
2194
|
-
}
|
|
2195
|
-
},
|
|
2196
2169
|
{
|
|
2197
2170
|
name: 'update_user',
|
|
2198
2171
|
description: 'Update user profile information. Can modify username, password, or profile image. Returns updated user object.',
|
|
@@ -2306,20 +2279,6 @@ Related Tools:
|
|
|
2306
2279
|
openWorldHint: true
|
|
2307
2280
|
}
|
|
2308
2281
|
},
|
|
2309
|
-
{
|
|
2310
|
-
name: 'list_custom_components',
|
|
2311
|
-
description: 'List all custom components created by the user. Returns array of custom component objects with code, name, description, and return type.',
|
|
2312
|
-
inputSchema: {
|
|
2313
|
-
type: 'object',
|
|
2314
|
-
properties: {}
|
|
2315
|
-
},
|
|
2316
|
-
annotations: {
|
|
2317
|
-
readOnlyHint: true,
|
|
2318
|
-
destructiveHint: false,
|
|
2319
|
-
idempotentHint: true,
|
|
2320
|
-
openWorldHint: true
|
|
2321
|
-
}
|
|
2322
|
-
},
|
|
2323
2282
|
{
|
|
2324
2283
|
name: 'create_custom_component',
|
|
2325
2284
|
description: 'Create a new custom component with Python code. Requires component code, name, and optional description and return_type. Returns created component object.',
|
|
@@ -2559,7 +2518,7 @@ Related Tools:
|
|
|
2559
2518
|
},
|
|
2560
2519
|
{
|
|
2561
2520
|
name: 'upload_knowledge_base',
|
|
2562
|
-
description: '
|
|
2521
|
+
description: 'Ingest a file into an existing knowledge base for RAG. Provide knowledge base name, base64-encoded file content, and filename.',
|
|
2563
2522
|
inputSchema: {
|
|
2564
2523
|
type: 'object',
|
|
2565
2524
|
properties: {
|
|
@@ -2631,6 +2590,1682 @@ Related Tools:
|
|
|
2631
2590
|
idempotentHint: true,
|
|
2632
2591
|
openWorldHint: true
|
|
2633
2592
|
}
|
|
2593
|
+
},
|
|
2594
|
+
{
|
|
2595
|
+
name: 'replace_flow',
|
|
2596
|
+
description: 'Replace an entire flow (PUT) with new content. Overwrites name, description, data, and folder for the given flow ID.',
|
|
2597
|
+
inputSchema: {
|
|
2598
|
+
type: 'object',
|
|
2599
|
+
properties: {
|
|
2600
|
+
flow_id: { type: 'string', description: 'Flow ID (UUID) to replace' },
|
|
2601
|
+
name: { type: 'string', description: 'New flow name' },
|
|
2602
|
+
description: { type: 'string', description: 'Optional flow description' },
|
|
2603
|
+
data: { type: 'object', description: 'Optional flow data/configuration' },
|
|
2604
|
+
folder_id: { type: 'string', description: 'Optional folder ID (UUID)' }
|
|
2605
|
+
},
|
|
2606
|
+
required: ['flow_id', 'name']
|
|
2607
|
+
},
|
|
2608
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
2609
|
+
},
|
|
2610
|
+
{
|
|
2611
|
+
name: 'expand_flows',
|
|
2612
|
+
description: 'Expand flows by resolving component references into full flow definitions. Pass the expansion request payload as the body object.',
|
|
2613
|
+
inputSchema: {
|
|
2614
|
+
type: 'object',
|
|
2615
|
+
properties: {
|
|
2616
|
+
body: { type: 'object', description: 'Flow expansion request payload' }
|
|
2617
|
+
},
|
|
2618
|
+
required: ['body']
|
|
2619
|
+
},
|
|
2620
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
2621
|
+
},
|
|
2622
|
+
{
|
|
2623
|
+
name: 'get_flow_events',
|
|
2624
|
+
description: 'Get the event stream/history for a flow. Optionally filter to events since a given cursor/timestamp.',
|
|
2625
|
+
inputSchema: {
|
|
2626
|
+
type: 'object',
|
|
2627
|
+
properties: {
|
|
2628
|
+
flow_id: { type: 'string', description: 'Flow ID (UUID)' },
|
|
2629
|
+
since: { type: 'number', description: 'Optional cursor: only events since this value' }
|
|
2630
|
+
},
|
|
2631
|
+
required: ['flow_id']
|
|
2632
|
+
},
|
|
2633
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
2634
|
+
},
|
|
2635
|
+
{
|
|
2636
|
+
name: 'create_flow_event',
|
|
2637
|
+
description: 'Create a new event for a flow (e.g. deployment or lifecycle event).',
|
|
2638
|
+
inputSchema: {
|
|
2639
|
+
type: 'object',
|
|
2640
|
+
properties: {
|
|
2641
|
+
flow_id: { type: 'string', description: 'Flow ID (UUID)' },
|
|
2642
|
+
type: { type: 'string', description: 'Event type' },
|
|
2643
|
+
summary: { type: 'string', description: 'Optional event summary' }
|
|
2644
|
+
},
|
|
2645
|
+
required: ['flow_id', 'type']
|
|
2646
|
+
},
|
|
2647
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
2648
|
+
},
|
|
2649
|
+
{
|
|
2650
|
+
name: 'list_flow_versions',
|
|
2651
|
+
description: 'List saved versions of a flow with optional pagination and deployment provider filter.',
|
|
2652
|
+
inputSchema: {
|
|
2653
|
+
type: 'object',
|
|
2654
|
+
properties: {
|
|
2655
|
+
flow_id: { type: 'string', description: 'Flow ID (UUID)' },
|
|
2656
|
+
limit: { type: 'number', description: 'Max number of versions to return' },
|
|
2657
|
+
offset: { type: 'number', description: 'Number of versions to skip' },
|
|
2658
|
+
deployment_provider_id: { type: 'string', description: 'Optional deployment provider filter' }
|
|
2659
|
+
},
|
|
2660
|
+
required: ['flow_id']
|
|
2661
|
+
},
|
|
2662
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
2663
|
+
},
|
|
2664
|
+
{
|
|
2665
|
+
name: 'create_flow_version',
|
|
2666
|
+
description: 'Create a new saved version (snapshot) of a flow. Optionally provide a body with version metadata.',
|
|
2667
|
+
inputSchema: {
|
|
2668
|
+
type: 'object',
|
|
2669
|
+
properties: {
|
|
2670
|
+
flow_id: { type: 'string', description: 'Flow ID (UUID)' },
|
|
2671
|
+
body: { type: 'object', description: 'Optional version creation payload' }
|
|
2672
|
+
},
|
|
2673
|
+
required: ['flow_id']
|
|
2674
|
+
},
|
|
2675
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
2676
|
+
},
|
|
2677
|
+
{
|
|
2678
|
+
name: 'get_flow_version',
|
|
2679
|
+
description: 'Get a specific saved version of a flow by version ID.',
|
|
2680
|
+
inputSchema: {
|
|
2681
|
+
type: 'object',
|
|
2682
|
+
properties: {
|
|
2683
|
+
flow_id: { type: 'string', description: 'Flow ID (UUID)' },
|
|
2684
|
+
version_id: { type: 'string', description: 'Version ID' }
|
|
2685
|
+
},
|
|
2686
|
+
required: ['flow_id', 'version_id']
|
|
2687
|
+
},
|
|
2688
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
2689
|
+
},
|
|
2690
|
+
{
|
|
2691
|
+
name: 'delete_flow_version',
|
|
2692
|
+
description: 'Delete a specific saved version of a flow.',
|
|
2693
|
+
inputSchema: {
|
|
2694
|
+
type: 'object',
|
|
2695
|
+
properties: {
|
|
2696
|
+
flow_id: { type: 'string', description: 'Flow ID (UUID)' },
|
|
2697
|
+
version_id: { type: 'string', description: 'Version ID to delete' }
|
|
2698
|
+
},
|
|
2699
|
+
required: ['flow_id', 'version_id']
|
|
2700
|
+
},
|
|
2701
|
+
annotations: { readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: true }
|
|
2702
|
+
},
|
|
2703
|
+
{
|
|
2704
|
+
name: 'activate_flow_version',
|
|
2705
|
+
description: 'Activate a specific saved version of a flow, making it the current version. Optionally save the current state as a draft first.',
|
|
2706
|
+
inputSchema: {
|
|
2707
|
+
type: 'object',
|
|
2708
|
+
properties: {
|
|
2709
|
+
flow_id: { type: 'string', description: 'Flow ID (UUID)' },
|
|
2710
|
+
version_id: { type: 'string', description: 'Version ID to activate' },
|
|
2711
|
+
save_draft: { type: 'boolean', description: 'Save current state as draft before activating' }
|
|
2712
|
+
},
|
|
2713
|
+
required: ['flow_id', 'version_id']
|
|
2714
|
+
},
|
|
2715
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
2716
|
+
},
|
|
2717
|
+
{
|
|
2718
|
+
name: 'detect_variables',
|
|
2719
|
+
description: 'Detect global variables referenced by one or more flow versions.',
|
|
2720
|
+
inputSchema: {
|
|
2721
|
+
type: 'object',
|
|
2722
|
+
properties: {
|
|
2723
|
+
flow_version_ids: { type: 'array', items: { type: 'string' }, description: 'Flow version IDs to scan' }
|
|
2724
|
+
},
|
|
2725
|
+
required: ['flow_version_ids']
|
|
2726
|
+
},
|
|
2727
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
2728
|
+
},
|
|
2729
|
+
{
|
|
2730
|
+
name: 'save_store_api_key',
|
|
2731
|
+
description: 'Save the Langflow Store API key for the current user so store operations are authenticated.',
|
|
2732
|
+
inputSchema: {
|
|
2733
|
+
type: 'object',
|
|
2734
|
+
properties: {
|
|
2735
|
+
api_key: { type: 'string', description: 'Langflow Store API key' }
|
|
2736
|
+
},
|
|
2737
|
+
required: ['api_key']
|
|
2738
|
+
},
|
|
2739
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
2740
|
+
},
|
|
2741
|
+
{
|
|
2742
|
+
name: 'update_custom_component',
|
|
2743
|
+
description: 'Update a custom component template field, recomputing the frontend node based on the provided code and field changes.',
|
|
2744
|
+
inputSchema: {
|
|
2745
|
+
type: 'object',
|
|
2746
|
+
properties: {
|
|
2747
|
+
code: { type: 'string', description: 'Custom component source code' },
|
|
2748
|
+
field: { type: 'string', description: 'Template field being updated' },
|
|
2749
|
+
template: { type: 'object', description: 'Current component template' },
|
|
2750
|
+
field_value: { type: ['string', 'number', 'boolean', 'object', 'array', 'null'], description: 'New value for the field (any JSON type)' },
|
|
2751
|
+
frontend_node: { type: 'object', description: 'Optional current frontend node definition' },
|
|
2752
|
+
tool_mode: { type: 'boolean', description: 'Optional tool-mode flag' }
|
|
2753
|
+
},
|
|
2754
|
+
required: ['code', 'field', 'template']
|
|
2755
|
+
},
|
|
2756
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
2757
|
+
},
|
|
2758
|
+
{
|
|
2759
|
+
name: 'create_store_component',
|
|
2760
|
+
description: 'Publish a new component to the Langflow Store.',
|
|
2761
|
+
inputSchema: {
|
|
2762
|
+
type: 'object',
|
|
2763
|
+
properties: {
|
|
2764
|
+
name: { type: 'string', description: 'Component name' },
|
|
2765
|
+
description: { type: 'string', description: 'Optional component description' },
|
|
2766
|
+
data: { type: 'object', description: 'Component data/definition' },
|
|
2767
|
+
tags: { type: 'array', items: { type: 'string' }, description: 'Optional tags' },
|
|
2768
|
+
is_component: { type: 'boolean', description: 'Whether this is a component (vs a flow)' },
|
|
2769
|
+
parent: { type: 'string', description: 'Optional parent component ID' },
|
|
2770
|
+
last_tested_version: { type: 'string', description: 'Optional last tested Langflow version' },
|
|
2771
|
+
private: { type: 'boolean', description: 'Whether the component is private' }
|
|
2772
|
+
},
|
|
2773
|
+
required: ['name', 'data']
|
|
2774
|
+
},
|
|
2775
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
2776
|
+
},
|
|
2777
|
+
{
|
|
2778
|
+
name: 'like_store_component',
|
|
2779
|
+
description: 'Like (or toggle like on) a Langflow Store component.',
|
|
2780
|
+
inputSchema: {
|
|
2781
|
+
type: 'object',
|
|
2782
|
+
properties: {
|
|
2783
|
+
component_id: { type: 'string', description: 'Store component ID' }
|
|
2784
|
+
},
|
|
2785
|
+
required: ['component_id']
|
|
2786
|
+
},
|
|
2787
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
2788
|
+
},
|
|
2789
|
+
{
|
|
2790
|
+
name: 'create_response',
|
|
2791
|
+
description: 'Create a response via the OpenAI-compatible /responses endpoint using a model and input.',
|
|
2792
|
+
inputSchema: {
|
|
2793
|
+
type: 'object',
|
|
2794
|
+
properties: {
|
|
2795
|
+
model: { type: 'string', description: 'Model identifier' },
|
|
2796
|
+
input: { type: 'string', description: 'Input text' },
|
|
2797
|
+
stream: { type: 'boolean', description: 'Stream the response' },
|
|
2798
|
+
background: { type: 'boolean', description: 'Run in background' },
|
|
2799
|
+
previous_response_id: { type: 'string', description: 'Optional previous response ID for chaining' },
|
|
2800
|
+
include: { type: 'array', items: { type: 'string' }, description: 'Optional include fields' },
|
|
2801
|
+
tools: { type: 'array', items: { type: 'object' }, description: 'Optional tool definitions' }
|
|
2802
|
+
},
|
|
2803
|
+
required: ['model', 'input']
|
|
2804
|
+
},
|
|
2805
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
2806
|
+
},
|
|
2807
|
+
{
|
|
2808
|
+
name: 'get_session',
|
|
2809
|
+
description: 'Get the current authenticated session information.',
|
|
2810
|
+
inputSchema: { type: 'object', properties: {} },
|
|
2811
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
2812
|
+
},
|
|
2813
|
+
{
|
|
2814
|
+
name: 'create_user',
|
|
2815
|
+
description: 'Create a new Langflow user account.',
|
|
2816
|
+
inputSchema: {
|
|
2817
|
+
type: 'object',
|
|
2818
|
+
properties: {
|
|
2819
|
+
username: { type: 'string', description: 'Username' },
|
|
2820
|
+
password: { type: 'string', description: 'Password' },
|
|
2821
|
+
optins: { type: 'object', description: 'Optional opt-in preferences' }
|
|
2822
|
+
},
|
|
2823
|
+
required: ['username', 'password']
|
|
2824
|
+
},
|
|
2825
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
2826
|
+
},
|
|
2827
|
+
{
|
|
2828
|
+
name: 'get_webhook_events',
|
|
2829
|
+
description: 'Get webhook events for a flow by ID or name. Optionally filter by user ID.',
|
|
2830
|
+
inputSchema: {
|
|
2831
|
+
type: 'object',
|
|
2832
|
+
properties: {
|
|
2833
|
+
flow_id_or_name: { type: 'string', description: 'Flow ID (UUID) or name' },
|
|
2834
|
+
user_id: { type: 'string', description: 'Optional user ID filter' }
|
|
2835
|
+
},
|
|
2836
|
+
required: ['flow_id_or_name']
|
|
2837
|
+
},
|
|
2838
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
2839
|
+
},
|
|
2840
|
+
{
|
|
2841
|
+
name: 'get_health_check',
|
|
2842
|
+
description: 'Get the detailed health check report from the Langflow server root /health_check endpoint.',
|
|
2843
|
+
inputSchema: { type: 'object', properties: {} },
|
|
2844
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
2845
|
+
},
|
|
2846
|
+
{
|
|
2847
|
+
name: 'list_files_v2',
|
|
2848
|
+
description: 'List user-scoped files via the /api/v2/files endpoint.',
|
|
2849
|
+
inputSchema: { type: 'object', properties: {} },
|
|
2850
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
2851
|
+
},
|
|
2852
|
+
{
|
|
2853
|
+
name: 'upload_file_v2',
|
|
2854
|
+
description: 'Upload a user-scoped file via /api/v2/files. Provide base64 file content and filename; optionally append or mark ephemeral.',
|
|
2855
|
+
inputSchema: {
|
|
2856
|
+
type: 'object',
|
|
2857
|
+
properties: {
|
|
2858
|
+
file_content: { type: 'string', description: 'Base64 encoded file content' },
|
|
2859
|
+
file_name: { type: 'string', description: 'Name of the file to upload' },
|
|
2860
|
+
append: { type: 'boolean', description: 'Append to an existing file' },
|
|
2861
|
+
ephemeral: { type: 'boolean', description: 'Mark the file as ephemeral' }
|
|
2862
|
+
},
|
|
2863
|
+
required: ['file_content', 'file_name']
|
|
2864
|
+
},
|
|
2865
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
2866
|
+
},
|
|
2867
|
+
{
|
|
2868
|
+
name: 'get_file_v2',
|
|
2869
|
+
description: 'Get a user-scoped file by ID via /api/v2/files. Optionally return the file content.',
|
|
2870
|
+
inputSchema: {
|
|
2871
|
+
type: 'object',
|
|
2872
|
+
properties: {
|
|
2873
|
+
file_id: { type: 'string', description: 'File ID' },
|
|
2874
|
+
return_content: { type: 'boolean', description: 'Return file content in the response' }
|
|
2875
|
+
},
|
|
2876
|
+
required: ['file_id']
|
|
2877
|
+
},
|
|
2878
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
2879
|
+
},
|
|
2880
|
+
{
|
|
2881
|
+
name: 'rename_file_v2',
|
|
2882
|
+
description: 'Rename a user-scoped file via /api/v2/files.',
|
|
2883
|
+
inputSchema: {
|
|
2884
|
+
type: 'object',
|
|
2885
|
+
properties: {
|
|
2886
|
+
file_id: { type: 'string', description: 'File ID' },
|
|
2887
|
+
name: { type: 'string', description: 'New file name' }
|
|
2888
|
+
},
|
|
2889
|
+
required: ['file_id', 'name']
|
|
2890
|
+
},
|
|
2891
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
2892
|
+
},
|
|
2893
|
+
{
|
|
2894
|
+
name: 'delete_file_v2',
|
|
2895
|
+
description: 'Delete a user-scoped file by ID via /api/v2/files.',
|
|
2896
|
+
inputSchema: {
|
|
2897
|
+
type: 'object',
|
|
2898
|
+
properties: {
|
|
2899
|
+
file_id: { type: 'string', description: 'File ID to delete' }
|
|
2900
|
+
},
|
|
2901
|
+
required: ['file_id']
|
|
2902
|
+
},
|
|
2903
|
+
annotations: { readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: true }
|
|
2904
|
+
},
|
|
2905
|
+
{
|
|
2906
|
+
name: 'delete_all_files_v2',
|
|
2907
|
+
description: 'Delete ALL user-scoped files via /api/v2/files. This is irreversible.',
|
|
2908
|
+
inputSchema: { type: 'object', properties: {} },
|
|
2909
|
+
annotations: { readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: true }
|
|
2910
|
+
},
|
|
2911
|
+
{
|
|
2912
|
+
name: 'batch_download_files_v2',
|
|
2913
|
+
description: 'Batch download multiple user-scoped files via /api/v2/files by their IDs.',
|
|
2914
|
+
inputSchema: {
|
|
2915
|
+
type: 'object',
|
|
2916
|
+
properties: {
|
|
2917
|
+
file_ids: { type: 'array', items: { type: 'string' }, description: 'File IDs to download' }
|
|
2918
|
+
},
|
|
2919
|
+
required: ['file_ids']
|
|
2920
|
+
},
|
|
2921
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
2922
|
+
},
|
|
2923
|
+
{
|
|
2924
|
+
name: 'batch_delete_files_v2',
|
|
2925
|
+
description: 'Batch delete multiple user-scoped files via /api/v2/files by their IDs.',
|
|
2926
|
+
inputSchema: {
|
|
2927
|
+
type: 'object',
|
|
2928
|
+
properties: {
|
|
2929
|
+
file_ids: { type: 'array', items: { type: 'string' }, description: 'File IDs to delete' }
|
|
2930
|
+
},
|
|
2931
|
+
required: ['file_ids']
|
|
2932
|
+
},
|
|
2933
|
+
annotations: { readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: true }
|
|
2934
|
+
},
|
|
2935
|
+
{
|
|
2936
|
+
name: 'list_knowledge_bases_detailed',
|
|
2937
|
+
description: 'List knowledge bases with detailed metadata (embedding config, chunk counts, etc.).',
|
|
2938
|
+
inputSchema: { type: 'object', properties: {} },
|
|
2939
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
2940
|
+
},
|
|
2941
|
+
{
|
|
2942
|
+
name: 'create_knowledge_base',
|
|
2943
|
+
description: 'Create a new knowledge base with an embedding provider/model and optional column configuration.',
|
|
2944
|
+
inputSchema: {
|
|
2945
|
+
type: 'object',
|
|
2946
|
+
properties: {
|
|
2947
|
+
name: { type: 'string', description: 'Knowledge base name' },
|
|
2948
|
+
embedding_provider: { type: 'string', description: 'Embedding provider' },
|
|
2949
|
+
embedding_model: { type: 'string', description: 'Embedding model' },
|
|
2950
|
+
column_config: { type: 'array', items: { type: 'object' }, description: 'Optional column configuration' }
|
|
2951
|
+
},
|
|
2952
|
+
required: ['name', 'embedding_provider', 'embedding_model']
|
|
2953
|
+
},
|
|
2954
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
2955
|
+
},
|
|
2956
|
+
{
|
|
2957
|
+
name: 'preview_knowledge_base_chunks',
|
|
2958
|
+
description: 'Preview how a file would be chunked for knowledge base ingestion. Provide base64 file content, filename, and optional chunking params.',
|
|
2959
|
+
inputSchema: {
|
|
2960
|
+
type: 'object',
|
|
2961
|
+
properties: {
|
|
2962
|
+
file_content: { type: 'string', description: 'Base64 encoded file content' },
|
|
2963
|
+
file_name: { type: 'string', description: 'Name of the file' },
|
|
2964
|
+
params: { type: 'object', description: 'Optional chunking parameters' }
|
|
2965
|
+
},
|
|
2966
|
+
required: ['file_content', 'file_name']
|
|
2967
|
+
},
|
|
2968
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
2969
|
+
},
|
|
2970
|
+
{
|
|
2971
|
+
name: 'list_knowledge_base_chunks',
|
|
2972
|
+
description: 'List chunks stored in a knowledge base with optional pagination and search.',
|
|
2973
|
+
inputSchema: {
|
|
2974
|
+
type: 'object',
|
|
2975
|
+
properties: {
|
|
2976
|
+
kb_name: { type: 'string', description: 'Knowledge base name' },
|
|
2977
|
+
page: { type: 'number', description: 'Page number' },
|
|
2978
|
+
limit: { type: 'number', description: 'Chunks per page' },
|
|
2979
|
+
search: { type: 'string', description: 'Optional search query' }
|
|
2980
|
+
},
|
|
2981
|
+
required: ['kb_name']
|
|
2982
|
+
},
|
|
2983
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
2984
|
+
},
|
|
2985
|
+
{
|
|
2986
|
+
name: 'ingest_knowledge_base',
|
|
2987
|
+
description: 'Ingest a file into an existing knowledge base. Provide base64 file content, filename, and optional ingestion params.',
|
|
2988
|
+
inputSchema: {
|
|
2989
|
+
type: 'object',
|
|
2990
|
+
properties: {
|
|
2991
|
+
kb_name: { type: 'string', description: 'Knowledge base name' },
|
|
2992
|
+
file_content: { type: 'string', description: 'Base64 encoded file content' },
|
|
2993
|
+
file_name: { type: 'string', description: 'Name of the file' },
|
|
2994
|
+
params: { type: 'object', description: 'Optional ingestion parameters' }
|
|
2995
|
+
},
|
|
2996
|
+
required: ['kb_name', 'file_content', 'file_name']
|
|
2997
|
+
},
|
|
2998
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
2999
|
+
},
|
|
3000
|
+
{
|
|
3001
|
+
name: 'cancel_knowledge_base_ingest',
|
|
3002
|
+
description: 'Cancel an in-progress knowledge base ingestion job.',
|
|
3003
|
+
inputSchema: {
|
|
3004
|
+
type: 'object',
|
|
3005
|
+
properties: {
|
|
3006
|
+
kb_name: { type: 'string', description: 'Knowledge base name' }
|
|
3007
|
+
},
|
|
3008
|
+
required: ['kb_name']
|
|
3009
|
+
},
|
|
3010
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
3011
|
+
},
|
|
3012
|
+
{
|
|
3013
|
+
name: 'update_monitor_message',
|
|
3014
|
+
description: 'Update a stored monitor message (text, sender, session, files, or properties).',
|
|
3015
|
+
inputSchema: {
|
|
3016
|
+
type: 'object',
|
|
3017
|
+
properties: {
|
|
3018
|
+
message_id: { type: 'string', description: 'Message ID' },
|
|
3019
|
+
text: { type: 'string', description: 'Updated message text' },
|
|
3020
|
+
sender: { type: 'string', description: 'Updated sender' },
|
|
3021
|
+
sender_name: { type: 'string', description: 'Updated sender name' },
|
|
3022
|
+
session_id: { type: 'string', description: 'Updated session ID' },
|
|
3023
|
+
files: { type: 'array', items: { type: 'string' }, description: 'Updated file references' },
|
|
3024
|
+
properties: { type: 'object', description: 'Updated message properties' }
|
|
3025
|
+
},
|
|
3026
|
+
required: ['message_id']
|
|
3027
|
+
},
|
|
3028
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
3029
|
+
},
|
|
3030
|
+
{
|
|
3031
|
+
name: 'delete_monitor_session_messages',
|
|
3032
|
+
description: 'Delete all monitor messages for a given session.',
|
|
3033
|
+
inputSchema: {
|
|
3034
|
+
type: 'object',
|
|
3035
|
+
properties: {
|
|
3036
|
+
session_id: { type: 'string', description: 'Session ID' }
|
|
3037
|
+
},
|
|
3038
|
+
required: ['session_id']
|
|
3039
|
+
},
|
|
3040
|
+
annotations: { readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: true }
|
|
3041
|
+
},
|
|
3042
|
+
{
|
|
3043
|
+
name: 'delete_monitor_sessions',
|
|
3044
|
+
description: 'Delete multiple monitor sessions by their IDs.',
|
|
3045
|
+
inputSchema: {
|
|
3046
|
+
type: 'object',
|
|
3047
|
+
properties: {
|
|
3048
|
+
session_ids: { type: 'array', items: { type: 'string' }, description: 'Session IDs to delete' }
|
|
3049
|
+
},
|
|
3050
|
+
required: ['session_ids']
|
|
3051
|
+
},
|
|
3052
|
+
annotations: { readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: true }
|
|
3053
|
+
},
|
|
3054
|
+
{
|
|
3055
|
+
name: 'get_shared_messages',
|
|
3056
|
+
description: 'Get shared (playground) messages for a source flow, optionally filtered by session and ordered.',
|
|
3057
|
+
inputSchema: {
|
|
3058
|
+
type: 'object',
|
|
3059
|
+
properties: {
|
|
3060
|
+
source_flow_id: { type: 'string', description: 'Source flow ID' },
|
|
3061
|
+
session_id: { type: 'string', description: 'Optional session ID filter' },
|
|
3062
|
+
order_by: { type: 'string', description: 'Optional order-by field' }
|
|
3063
|
+
},
|
|
3064
|
+
required: ['source_flow_id']
|
|
3065
|
+
},
|
|
3066
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3067
|
+
},
|
|
3068
|
+
{
|
|
3069
|
+
name: 'get_shared_sessions',
|
|
3070
|
+
description: 'Get the list of shared session IDs for a source flow.',
|
|
3071
|
+
inputSchema: {
|
|
3072
|
+
type: 'object',
|
|
3073
|
+
properties: {
|
|
3074
|
+
source_flow_id: { type: 'string', description: 'Source flow ID' }
|
|
3075
|
+
},
|
|
3076
|
+
required: ['source_flow_id']
|
|
3077
|
+
},
|
|
3078
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3079
|
+
},
|
|
3080
|
+
{
|
|
3081
|
+
name: 'update_shared_message',
|
|
3082
|
+
description: 'Update a shared (playground) message for a source flow.',
|
|
3083
|
+
inputSchema: {
|
|
3084
|
+
type: 'object',
|
|
3085
|
+
properties: {
|
|
3086
|
+
message_id: { type: 'string', description: 'Message ID' },
|
|
3087
|
+
source_flow_id: { type: 'string', description: 'Source flow ID' },
|
|
3088
|
+
text: { type: 'string', description: 'Updated message text' },
|
|
3089
|
+
sender: { type: 'string', description: 'Updated sender' },
|
|
3090
|
+
sender_name: { type: 'string', description: 'Updated sender name' },
|
|
3091
|
+
session_id: { type: 'string', description: 'Updated session ID' },
|
|
3092
|
+
files: { type: 'array', items: { type: 'string' }, description: 'Updated file references' },
|
|
3093
|
+
properties: { type: 'object', description: 'Updated message properties' }
|
|
3094
|
+
},
|
|
3095
|
+
required: ['message_id', 'source_flow_id']
|
|
3096
|
+
},
|
|
3097
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
3098
|
+
},
|
|
3099
|
+
{
|
|
3100
|
+
name: 'migrate_shared_session',
|
|
3101
|
+
description: 'Migrate a shared session to a new session ID within a source flow.',
|
|
3102
|
+
inputSchema: {
|
|
3103
|
+
type: 'object',
|
|
3104
|
+
properties: {
|
|
3105
|
+
session_id: { type: 'string', description: 'Existing session ID' },
|
|
3106
|
+
new_session_id: { type: 'string', description: 'New session ID' },
|
|
3107
|
+
source_flow_id: { type: 'string', description: 'Source flow ID' }
|
|
3108
|
+
},
|
|
3109
|
+
required: ['session_id', 'new_session_id', 'source_flow_id']
|
|
3110
|
+
},
|
|
3111
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
3112
|
+
},
|
|
3113
|
+
{
|
|
3114
|
+
name: 'delete_shared_session',
|
|
3115
|
+
description: 'Delete a shared session within a source flow.',
|
|
3116
|
+
inputSchema: {
|
|
3117
|
+
type: 'object',
|
|
3118
|
+
properties: {
|
|
3119
|
+
session_id: { type: 'string', description: 'Session ID to delete' },
|
|
3120
|
+
source_flow_id: { type: 'string', description: 'Source flow ID' }
|
|
3121
|
+
},
|
|
3122
|
+
required: ['session_id', 'source_flow_id']
|
|
3123
|
+
},
|
|
3124
|
+
annotations: { readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: true }
|
|
3125
|
+
},
|
|
3126
|
+
{
|
|
3127
|
+
name: 'list_traces',
|
|
3128
|
+
description: 'List execution traces with optional filters (flow, session, status, query, time range) and pagination.',
|
|
3129
|
+
inputSchema: {
|
|
3130
|
+
type: 'object',
|
|
3131
|
+
properties: {
|
|
3132
|
+
flow_id: { type: 'string', description: 'Optional flow ID filter' },
|
|
3133
|
+
session_id: { type: 'string', description: 'Optional session ID filter' },
|
|
3134
|
+
status: { type: 'string', description: 'Optional status filter' },
|
|
3135
|
+
query: { type: 'string', description: 'Optional search query' },
|
|
3136
|
+
start_time: { type: 'string', description: 'Optional start time (ISO)' },
|
|
3137
|
+
end_time: { type: 'string', description: 'Optional end time (ISO)' },
|
|
3138
|
+
page: { type: 'number', description: 'Page number' },
|
|
3139
|
+
size: { type: 'number', description: 'Page size (max 100)' }
|
|
3140
|
+
}
|
|
3141
|
+
},
|
|
3142
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3143
|
+
},
|
|
3144
|
+
{
|
|
3145
|
+
name: 'delete_traces',
|
|
3146
|
+
description: 'Delete all traces associated with a flow.',
|
|
3147
|
+
inputSchema: {
|
|
3148
|
+
type: 'object',
|
|
3149
|
+
properties: {
|
|
3150
|
+
flow_id: { type: 'string', description: 'Flow ID' }
|
|
3151
|
+
},
|
|
3152
|
+
required: ['flow_id']
|
|
3153
|
+
},
|
|
3154
|
+
annotations: { readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: true }
|
|
3155
|
+
},
|
|
3156
|
+
{
|
|
3157
|
+
name: 'get_trace',
|
|
3158
|
+
description: 'Get a single execution trace by ID.',
|
|
3159
|
+
inputSchema: {
|
|
3160
|
+
type: 'object',
|
|
3161
|
+
properties: {
|
|
3162
|
+
trace_id: { type: 'string', description: 'Trace ID' }
|
|
3163
|
+
},
|
|
3164
|
+
required: ['trace_id']
|
|
3165
|
+
},
|
|
3166
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3167
|
+
},
|
|
3168
|
+
{
|
|
3169
|
+
name: 'delete_trace',
|
|
3170
|
+
description: 'Delete a single execution trace by ID.',
|
|
3171
|
+
inputSchema: {
|
|
3172
|
+
type: 'object',
|
|
3173
|
+
properties: {
|
|
3174
|
+
trace_id: { type: 'string', description: 'Trace ID to delete' }
|
|
3175
|
+
},
|
|
3176
|
+
required: ['trace_id']
|
|
3177
|
+
},
|
|
3178
|
+
annotations: { readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: true }
|
|
3179
|
+
},
|
|
3180
|
+
{
|
|
3181
|
+
name: 'list_models',
|
|
3182
|
+
description: 'List available models with optional filters (provider, name, type, capabilities, search).',
|
|
3183
|
+
inputSchema: {
|
|
3184
|
+
type: 'object',
|
|
3185
|
+
properties: {
|
|
3186
|
+
provider: { type: 'string', description: 'Filter by provider' },
|
|
3187
|
+
model_name: { type: 'string', description: 'Filter by model name' },
|
|
3188
|
+
model_type: { type: 'string', description: 'Filter by model type' },
|
|
3189
|
+
include_unsupported: { type: 'boolean', description: 'Include unsupported models' },
|
|
3190
|
+
include_deprecated: { type: 'boolean', description: 'Include deprecated models' },
|
|
3191
|
+
tool_calling: { type: 'boolean', description: 'Filter to tool-calling models' },
|
|
3192
|
+
reasoning: { type: 'boolean', description: 'Filter to reasoning models' },
|
|
3193
|
+
search: { type: 'string', description: 'Search query' }
|
|
3194
|
+
}
|
|
3195
|
+
},
|
|
3196
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3197
|
+
},
|
|
3198
|
+
{
|
|
3199
|
+
name: 'list_model_providers',
|
|
3200
|
+
description: 'List all known model providers.',
|
|
3201
|
+
inputSchema: { type: 'object', properties: {} },
|
|
3202
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3203
|
+
},
|
|
3204
|
+
{
|
|
3205
|
+
name: 'list_enabled_providers',
|
|
3206
|
+
description: 'List enabled model providers, optionally restricted to a given set of provider names.',
|
|
3207
|
+
inputSchema: {
|
|
3208
|
+
type: 'object',
|
|
3209
|
+
properties: {
|
|
3210
|
+
providers: { type: 'array', items: { type: 'string' }, description: 'Optional provider names to check' }
|
|
3211
|
+
}
|
|
3212
|
+
},
|
|
3213
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3214
|
+
},
|
|
3215
|
+
{
|
|
3216
|
+
name: 'list_enabled_models',
|
|
3217
|
+
description: 'List enabled models, optionally restricted to a given set of model names.',
|
|
3218
|
+
inputSchema: {
|
|
3219
|
+
type: 'object',
|
|
3220
|
+
properties: {
|
|
3221
|
+
model_names: { type: 'array', items: { type: 'string' }, description: 'Optional model names to check' }
|
|
3222
|
+
}
|
|
3223
|
+
},
|
|
3224
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3225
|
+
},
|
|
3226
|
+
{
|
|
3227
|
+
name: 'set_enabled_models',
|
|
3228
|
+
description: 'Enable or disable specific models by provider and model ID.',
|
|
3229
|
+
inputSchema: {
|
|
3230
|
+
type: 'object',
|
|
3231
|
+
properties: {
|
|
3232
|
+
models: {
|
|
3233
|
+
type: 'array',
|
|
3234
|
+
description: 'Array of model status updates',
|
|
3235
|
+
items: {
|
|
3236
|
+
type: 'object',
|
|
3237
|
+
properties: {
|
|
3238
|
+
provider: { type: 'string', description: 'Provider' },
|
|
3239
|
+
model_id: { type: 'string', description: 'Model ID' },
|
|
3240
|
+
enabled: { type: 'boolean', description: 'Enabled flag' }
|
|
3241
|
+
},
|
|
3242
|
+
required: ['provider', 'model_id', 'enabled']
|
|
3243
|
+
}
|
|
3244
|
+
}
|
|
3245
|
+
},
|
|
3246
|
+
required: ['models']
|
|
3247
|
+
},
|
|
3248
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
3249
|
+
},
|
|
3250
|
+
{
|
|
3251
|
+
name: 'get_default_model',
|
|
3252
|
+
description: 'Get the default model for a given model type.',
|
|
3253
|
+
inputSchema: {
|
|
3254
|
+
type: 'object',
|
|
3255
|
+
properties: {
|
|
3256
|
+
model_type: { type: 'string', description: 'Model type' }
|
|
3257
|
+
},
|
|
3258
|
+
required: ['model_type']
|
|
3259
|
+
},
|
|
3260
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3261
|
+
},
|
|
3262
|
+
{
|
|
3263
|
+
name: 'set_default_model',
|
|
3264
|
+
description: 'Set the default model (provider + model name) for a given model type.',
|
|
3265
|
+
inputSchema: {
|
|
3266
|
+
type: 'object',
|
|
3267
|
+
properties: {
|
|
3268
|
+
provider: { type: 'string', description: 'Provider' },
|
|
3269
|
+
model_name: { type: 'string', description: 'Model name' },
|
|
3270
|
+
model_type: { type: 'string', description: 'Model type' }
|
|
3271
|
+
},
|
|
3272
|
+
required: ['provider', 'model_name', 'model_type']
|
|
3273
|
+
},
|
|
3274
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
3275
|
+
},
|
|
3276
|
+
{
|
|
3277
|
+
name: 'delete_default_model',
|
|
3278
|
+
description: 'Delete (clear) the default model for a given model type.',
|
|
3279
|
+
inputSchema: {
|
|
3280
|
+
type: 'object',
|
|
3281
|
+
properties: {
|
|
3282
|
+
model_type: { type: 'string', description: 'Model type' }
|
|
3283
|
+
},
|
|
3284
|
+
required: ['model_type']
|
|
3285
|
+
},
|
|
3286
|
+
annotations: { readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: true }
|
|
3287
|
+
},
|
|
3288
|
+
{
|
|
3289
|
+
name: 'get_provider_variable_mapping',
|
|
3290
|
+
description: 'Get the mapping between model providers and their required global variables.',
|
|
3291
|
+
inputSchema: { type: 'object', properties: {} },
|
|
3292
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3293
|
+
},
|
|
3294
|
+
{
|
|
3295
|
+
name: 'validate_model_provider',
|
|
3296
|
+
description: 'Validate a model provider configuration with the provided variables (e.g. API keys).',
|
|
3297
|
+
inputSchema: {
|
|
3298
|
+
type: 'object',
|
|
3299
|
+
properties: {
|
|
3300
|
+
provider: { type: 'string', description: 'Provider to validate' },
|
|
3301
|
+
variables: { type: 'object', description: 'Provider variables (e.g. API keys)' }
|
|
3302
|
+
},
|
|
3303
|
+
required: ['provider', 'variables']
|
|
3304
|
+
},
|
|
3305
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
3306
|
+
},
|
|
3307
|
+
{
|
|
3308
|
+
name: 'get_language_model_options',
|
|
3309
|
+
description: 'Get available language (LLM) model options.',
|
|
3310
|
+
inputSchema: { type: 'object', properties: {} },
|
|
3311
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3312
|
+
},
|
|
3313
|
+
{
|
|
3314
|
+
name: 'get_embedding_model_options',
|
|
3315
|
+
description: 'Get available embedding model options.',
|
|
3316
|
+
inputSchema: { type: 'object', properties: {} },
|
|
3317
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3318
|
+
},
|
|
3319
|
+
{
|
|
3320
|
+
name: 'agentic_assist',
|
|
3321
|
+
description: 'Request agentic assistance for building or editing a flow component.',
|
|
3322
|
+
inputSchema: {
|
|
3323
|
+
type: 'object',
|
|
3324
|
+
properties: {
|
|
3325
|
+
flow_id: { type: 'string', description: 'Flow ID' },
|
|
3326
|
+
input_value: { type: 'string', description: 'User input/instruction' },
|
|
3327
|
+
session_id: { type: 'string', description: 'Optional session ID' },
|
|
3328
|
+
component_id: { type: 'string', description: 'Optional target component ID' },
|
|
3329
|
+
field_name: { type: 'string', description: 'Optional target field name' },
|
|
3330
|
+
model_name: { type: 'string', description: 'Optional model name' },
|
|
3331
|
+
provider: { type: 'string', description: 'Optional provider' },
|
|
3332
|
+
max_retries: { type: 'number', description: 'Optional max retries' }
|
|
3333
|
+
},
|
|
3334
|
+
required: ['flow_id']
|
|
3335
|
+
},
|
|
3336
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
3337
|
+
},
|
|
3338
|
+
{
|
|
3339
|
+
name: 'agentic_check_config',
|
|
3340
|
+
description: 'Check whether the agentic assistant is configured and available.',
|
|
3341
|
+
inputSchema: { type: 'object', properties: {} },
|
|
3342
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3343
|
+
},
|
|
3344
|
+
{
|
|
3345
|
+
name: 'agentic_execute',
|
|
3346
|
+
description: 'Execute an agentic assistant flow by name with the given assist request fields.',
|
|
3347
|
+
inputSchema: {
|
|
3348
|
+
type: 'object',
|
|
3349
|
+
properties: {
|
|
3350
|
+
flow_name: { type: 'string', description: 'Agentic flow name to execute' },
|
|
3351
|
+
flow_id: { type: 'string', description: 'Flow ID' },
|
|
3352
|
+
input_value: { type: 'string', description: 'User input/instruction' },
|
|
3353
|
+
session_id: { type: 'string', description: 'Optional session ID' },
|
|
3354
|
+
component_id: { type: 'string', description: 'Optional target component ID' },
|
|
3355
|
+
field_name: { type: 'string', description: 'Optional target field name' },
|
|
3356
|
+
model_name: { type: 'string', description: 'Optional model name' },
|
|
3357
|
+
provider: { type: 'string', description: 'Optional provider' },
|
|
3358
|
+
max_retries: { type: 'number', description: 'Optional max retries' }
|
|
3359
|
+
},
|
|
3360
|
+
required: ['flow_name', 'flow_id']
|
|
3361
|
+
},
|
|
3362
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
3363
|
+
},
|
|
3364
|
+
{
|
|
3365
|
+
name: 'get_workflow_result',
|
|
3366
|
+
description: 'Get the result of a workflow run, optionally by job ID.',
|
|
3367
|
+
inputSchema: {
|
|
3368
|
+
type: 'object',
|
|
3369
|
+
properties: {
|
|
3370
|
+
job_id: { type: 'string', description: 'Optional workflow job ID' }
|
|
3371
|
+
}
|
|
3372
|
+
},
|
|
3373
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3374
|
+
},
|
|
3375
|
+
{
|
|
3376
|
+
name: 'run_workflow',
|
|
3377
|
+
description: 'Run a workflow (V2) for a flow with inputs. Supports streaming and background execution.',
|
|
3378
|
+
inputSchema: {
|
|
3379
|
+
type: 'object',
|
|
3380
|
+
properties: {
|
|
3381
|
+
flow_id: { type: 'string', description: 'Flow ID' },
|
|
3382
|
+
inputs: { type: 'object', description: 'Workflow inputs' },
|
|
3383
|
+
stream: { type: 'boolean', description: 'Stream the run' },
|
|
3384
|
+
background: { type: 'boolean', description: 'Run in background' },
|
|
3385
|
+
globals: { type: 'object', description: 'Request-level global variables (Langflow 1.10.0)' }
|
|
3386
|
+
},
|
|
3387
|
+
required: ['flow_id']
|
|
3388
|
+
},
|
|
3389
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
3390
|
+
},
|
|
3391
|
+
{
|
|
3392
|
+
name: 'stop_workflow',
|
|
3393
|
+
description: 'Stop a running workflow job by job ID.',
|
|
3394
|
+
inputSchema: {
|
|
3395
|
+
type: 'object',
|
|
3396
|
+
properties: {
|
|
3397
|
+
job_id: { type: 'string', description: 'Workflow job ID to stop' }
|
|
3398
|
+
},
|
|
3399
|
+
required: ['job_id']
|
|
3400
|
+
},
|
|
3401
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
3402
|
+
},
|
|
3403
|
+
{
|
|
3404
|
+
name: 'list_mcp_servers',
|
|
3405
|
+
description: 'List configured MCP servers. Optionally include action counts.',
|
|
3406
|
+
inputSchema: {
|
|
3407
|
+
type: 'object',
|
|
3408
|
+
properties: {
|
|
3409
|
+
action_count: { type: 'boolean', description: 'Include action counts per server' }
|
|
3410
|
+
}
|
|
3411
|
+
},
|
|
3412
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3413
|
+
},
|
|
3414
|
+
{
|
|
3415
|
+
name: 'get_mcp_server',
|
|
3416
|
+
description: 'Get the configuration of a specific MCP server by name.',
|
|
3417
|
+
inputSchema: {
|
|
3418
|
+
type: 'object',
|
|
3419
|
+
properties: {
|
|
3420
|
+
server_name: { type: 'string', description: 'MCP server name' }
|
|
3421
|
+
},
|
|
3422
|
+
required: ['server_name']
|
|
3423
|
+
},
|
|
3424
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3425
|
+
},
|
|
3426
|
+
{
|
|
3427
|
+
name: 'create_mcp_server',
|
|
3428
|
+
description: 'Create an MCP server configuration (stdio command or remote URL based).',
|
|
3429
|
+
inputSchema: {
|
|
3430
|
+
type: 'object',
|
|
3431
|
+
properties: {
|
|
3432
|
+
server_name: { type: 'string', description: 'MCP server name' },
|
|
3433
|
+
config: {
|
|
3434
|
+
type: 'object',
|
|
3435
|
+
description: 'MCP server config',
|
|
3436
|
+
properties: {
|
|
3437
|
+
command: { type: 'string', description: 'Command for stdio servers' },
|
|
3438
|
+
args: { type: 'array', items: { type: 'string' }, description: 'Command arguments' },
|
|
3439
|
+
env: { type: 'object', description: 'Environment variables' },
|
|
3440
|
+
url: { type: 'string', description: 'URL for remote servers' },
|
|
3441
|
+
headers: { type: 'object', description: 'HTTP headers for remote servers' }
|
|
3442
|
+
}
|
|
3443
|
+
}
|
|
3444
|
+
},
|
|
3445
|
+
required: ['server_name', 'config']
|
|
3446
|
+
},
|
|
3447
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
3448
|
+
},
|
|
3449
|
+
{
|
|
3450
|
+
name: 'update_mcp_server',
|
|
3451
|
+
description: 'Update an existing MCP server configuration by name.',
|
|
3452
|
+
inputSchema: {
|
|
3453
|
+
type: 'object',
|
|
3454
|
+
properties: {
|
|
3455
|
+
server_name: { type: 'string', description: 'MCP server name' },
|
|
3456
|
+
config: {
|
|
3457
|
+
type: 'object',
|
|
3458
|
+
description: 'MCP server config',
|
|
3459
|
+
properties: {
|
|
3460
|
+
command: { type: 'string', description: 'Command for stdio servers' },
|
|
3461
|
+
args: { type: 'array', items: { type: 'string' }, description: 'Command arguments' },
|
|
3462
|
+
env: { type: 'object', description: 'Environment variables' },
|
|
3463
|
+
url: { type: 'string', description: 'URL for remote servers' },
|
|
3464
|
+
headers: { type: 'object', description: 'HTTP headers for remote servers' }
|
|
3465
|
+
}
|
|
3466
|
+
}
|
|
3467
|
+
},
|
|
3468
|
+
required: ['server_name', 'config']
|
|
3469
|
+
},
|
|
3470
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3471
|
+
},
|
|
3472
|
+
{
|
|
3473
|
+
name: 'delete_mcp_server',
|
|
3474
|
+
description: 'Delete an MCP server configuration by name.',
|
|
3475
|
+
inputSchema: {
|
|
3476
|
+
type: 'object',
|
|
3477
|
+
properties: {
|
|
3478
|
+
server_name: { type: 'string', description: 'MCP server name to delete' }
|
|
3479
|
+
},
|
|
3480
|
+
required: ['server_name']
|
|
3481
|
+
},
|
|
3482
|
+
annotations: { readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: true }
|
|
3483
|
+
},
|
|
3484
|
+
{
|
|
3485
|
+
name: 'get_mcp_project_config',
|
|
3486
|
+
description: 'Get the MCP configuration for a project. Optionally filter to only MCP-enabled flows.',
|
|
3487
|
+
inputSchema: {
|
|
3488
|
+
type: 'object',
|
|
3489
|
+
properties: {
|
|
3490
|
+
project_id: { type: 'string', description: 'Project ID (UUID)' },
|
|
3491
|
+
mcp_enabled: { type: 'boolean', description: 'Only return MCP-enabled flows' }
|
|
3492
|
+
},
|
|
3493
|
+
required: ['project_id']
|
|
3494
|
+
},
|
|
3495
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3496
|
+
},
|
|
3497
|
+
{
|
|
3498
|
+
name: 'update_mcp_project_config',
|
|
3499
|
+
description: 'Update the MCP configuration (settings and auth settings) for a project.',
|
|
3500
|
+
inputSchema: {
|
|
3501
|
+
type: 'object',
|
|
3502
|
+
properties: {
|
|
3503
|
+
project_id: { type: 'string', description: 'Project ID (UUID)' },
|
|
3504
|
+
settings: { type: 'array', items: { type: 'object' }, description: 'Per-flow MCP settings' },
|
|
3505
|
+
auth_settings: { type: 'object', description: 'Optional auth settings' }
|
|
3506
|
+
},
|
|
3507
|
+
required: ['project_id', 'settings']
|
|
3508
|
+
},
|
|
3509
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3510
|
+
},
|
|
3511
|
+
{
|
|
3512
|
+
name: 'get_mcp_project_installed',
|
|
3513
|
+
description: 'Get the installation status of a project as an MCP server across clients.',
|
|
3514
|
+
inputSchema: {
|
|
3515
|
+
type: 'object',
|
|
3516
|
+
properties: {
|
|
3517
|
+
project_id: { type: 'string', description: 'Project ID (UUID)' }
|
|
3518
|
+
},
|
|
3519
|
+
required: ['project_id']
|
|
3520
|
+
},
|
|
3521
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3522
|
+
},
|
|
3523
|
+
{
|
|
3524
|
+
name: 'install_mcp_project',
|
|
3525
|
+
description: 'Install a project as an MCP server into a target client, optionally specifying transport.',
|
|
3526
|
+
inputSchema: {
|
|
3527
|
+
type: 'object',
|
|
3528
|
+
properties: {
|
|
3529
|
+
project_id: { type: 'string', description: 'Project ID (UUID)' },
|
|
3530
|
+
client: { type: 'string', description: 'Target client (e.g. cursor, claude)' },
|
|
3531
|
+
transport: { type: 'string', description: 'Optional transport' }
|
|
3532
|
+
},
|
|
3533
|
+
required: ['project_id', 'client']
|
|
3534
|
+
},
|
|
3535
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
3536
|
+
},
|
|
3537
|
+
{
|
|
3538
|
+
name: 'get_mcp_project_composer_url',
|
|
3539
|
+
description: 'Get the MCP Composer URL for a project.',
|
|
3540
|
+
inputSchema: {
|
|
3541
|
+
type: 'object',
|
|
3542
|
+
properties: {
|
|
3543
|
+
project_id: { type: 'string', description: 'Project ID (UUID)' }
|
|
3544
|
+
},
|
|
3545
|
+
required: ['project_id']
|
|
3546
|
+
},
|
|
3547
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3548
|
+
},
|
|
3549
|
+
{
|
|
3550
|
+
name: 'list_authz_roles',
|
|
3551
|
+
description: 'List authorization roles. Optionally filter by system flag or name with pagination.',
|
|
3552
|
+
inputSchema: {
|
|
3553
|
+
type: 'object',
|
|
3554
|
+
properties: {
|
|
3555
|
+
is_system: { type: 'boolean', description: 'Filter by system roles' },
|
|
3556
|
+
name: { type: 'string', description: 'Filter by role name' },
|
|
3557
|
+
limit: { type: 'number', description: 'Maximum number of results' },
|
|
3558
|
+
offset: { type: 'number', description: 'Result offset for pagination' }
|
|
3559
|
+
}
|
|
3560
|
+
},
|
|
3561
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3562
|
+
},
|
|
3563
|
+
{
|
|
3564
|
+
name: 'get_authz_role',
|
|
3565
|
+
description: 'Get a single authorization role by ID.',
|
|
3566
|
+
inputSchema: {
|
|
3567
|
+
type: 'object',
|
|
3568
|
+
properties: {
|
|
3569
|
+
role_id: { type: 'string', description: 'Role ID' }
|
|
3570
|
+
},
|
|
3571
|
+
required: ['role_id']
|
|
3572
|
+
},
|
|
3573
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3574
|
+
},
|
|
3575
|
+
{
|
|
3576
|
+
name: 'create_authz_role',
|
|
3577
|
+
description: 'Create an authorization role with optional permissions and a parent role.',
|
|
3578
|
+
inputSchema: {
|
|
3579
|
+
type: 'object',
|
|
3580
|
+
properties: {
|
|
3581
|
+
name: { type: 'string', description: 'Role name' },
|
|
3582
|
+
description: { type: 'string', description: 'Role description' },
|
|
3583
|
+
permissions: { type: 'array', items: { type: 'string' }, description: 'Permission identifiers' },
|
|
3584
|
+
parent_role_id: { type: 'string', description: 'Parent role ID for inheritance' }
|
|
3585
|
+
},
|
|
3586
|
+
required: ['name']
|
|
3587
|
+
},
|
|
3588
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
3589
|
+
},
|
|
3590
|
+
{
|
|
3591
|
+
name: 'update_authz_role',
|
|
3592
|
+
description: 'Update an existing authorization role by ID.',
|
|
3593
|
+
inputSchema: {
|
|
3594
|
+
type: 'object',
|
|
3595
|
+
properties: {
|
|
3596
|
+
role_id: { type: 'string', description: 'Role ID' },
|
|
3597
|
+
name: { type: 'string', description: 'Role name' },
|
|
3598
|
+
description: { type: 'string', description: 'Role description' },
|
|
3599
|
+
permissions: { type: 'array', items: { type: 'string' }, description: 'Permission identifiers' },
|
|
3600
|
+
parent_role_id: { type: 'string', description: 'Parent role ID for inheritance' }
|
|
3601
|
+
},
|
|
3602
|
+
required: ['role_id']
|
|
3603
|
+
},
|
|
3604
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3605
|
+
},
|
|
3606
|
+
{
|
|
3607
|
+
name: 'delete_authz_role',
|
|
3608
|
+
description: 'Delete an authorization role by ID.',
|
|
3609
|
+
inputSchema: {
|
|
3610
|
+
type: 'object',
|
|
3611
|
+
properties: {
|
|
3612
|
+
role_id: { type: 'string', description: 'Role ID to delete' }
|
|
3613
|
+
},
|
|
3614
|
+
required: ['role_id']
|
|
3615
|
+
},
|
|
3616
|
+
annotations: { readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: true }
|
|
3617
|
+
},
|
|
3618
|
+
{
|
|
3619
|
+
name: 'list_authz_role_assignments',
|
|
3620
|
+
description: 'List role assignments, optionally filtered by user, role, or domain.',
|
|
3621
|
+
inputSchema: {
|
|
3622
|
+
type: 'object',
|
|
3623
|
+
properties: {
|
|
3624
|
+
user_id: { type: 'string', description: 'Filter by user ID' },
|
|
3625
|
+
role_id: { type: 'string', description: 'Filter by role ID' },
|
|
3626
|
+
domain_type: { type: 'string', description: 'Filter by domain type' },
|
|
3627
|
+
domain_id: { type: 'string', description: 'Filter by domain ID' },
|
|
3628
|
+
limit: { type: 'number', description: 'Maximum number of results' },
|
|
3629
|
+
offset: { type: 'number', description: 'Result offset for pagination' }
|
|
3630
|
+
}
|
|
3631
|
+
},
|
|
3632
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3633
|
+
},
|
|
3634
|
+
{
|
|
3635
|
+
name: 'create_authz_role_assignment',
|
|
3636
|
+
description: 'Assign a role to a user, optionally scoped to a domain.',
|
|
3637
|
+
inputSchema: {
|
|
3638
|
+
type: 'object',
|
|
3639
|
+
properties: {
|
|
3640
|
+
user_id: { type: 'string', description: 'User ID' },
|
|
3641
|
+
role_id: { type: 'string', description: 'Role ID' },
|
|
3642
|
+
domain_type: { type: 'string', description: 'Domain type: global, org, workspace, or project' },
|
|
3643
|
+
domain_id: { type: 'string', description: 'Domain ID for the scope' }
|
|
3644
|
+
},
|
|
3645
|
+
required: ['user_id', 'role_id']
|
|
3646
|
+
},
|
|
3647
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
3648
|
+
},
|
|
3649
|
+
{
|
|
3650
|
+
name: 'delete_authz_role_assignment',
|
|
3651
|
+
description: 'Delete a role assignment from a user by its assignment ID.',
|
|
3652
|
+
inputSchema: {
|
|
3653
|
+
type: 'object',
|
|
3654
|
+
properties: {
|
|
3655
|
+
assignment_id: { type: 'string', description: 'Role assignment ID to delete' }
|
|
3656
|
+
},
|
|
3657
|
+
required: ['assignment_id']
|
|
3658
|
+
},
|
|
3659
|
+
annotations: { readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: true }
|
|
3660
|
+
},
|
|
3661
|
+
{
|
|
3662
|
+
name: 'list_authz_teams',
|
|
3663
|
+
description: 'List authorization teams, optionally filtered by search term or active flag.',
|
|
3664
|
+
inputSchema: {
|
|
3665
|
+
type: 'object',
|
|
3666
|
+
properties: {
|
|
3667
|
+
search: { type: 'string', description: 'Search term for team names' },
|
|
3668
|
+
is_active: { type: 'boolean', description: 'Filter by active teams' },
|
|
3669
|
+
limit: { type: 'number', description: 'Maximum number of results' },
|
|
3670
|
+
offset: { type: 'number', description: 'Result offset for pagination' }
|
|
3671
|
+
}
|
|
3672
|
+
},
|
|
3673
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3674
|
+
},
|
|
3675
|
+
{
|
|
3676
|
+
name: 'get_authz_team',
|
|
3677
|
+
description: 'Get a single authorization team by ID.',
|
|
3678
|
+
inputSchema: {
|
|
3679
|
+
type: 'object',
|
|
3680
|
+
properties: {
|
|
3681
|
+
team_id: { type: 'string', description: 'Team ID' }
|
|
3682
|
+
},
|
|
3683
|
+
required: ['team_id']
|
|
3684
|
+
},
|
|
3685
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3686
|
+
},
|
|
3687
|
+
{
|
|
3688
|
+
name: 'create_authz_team',
|
|
3689
|
+
description: 'Create an authorization team within an administrative domain.',
|
|
3690
|
+
inputSchema: {
|
|
3691
|
+
type: 'object',
|
|
3692
|
+
properties: {
|
|
3693
|
+
team_name: { type: 'string', description: 'Team name' },
|
|
3694
|
+
adom_name: { type: 'string', description: 'Administrative domain name' },
|
|
3695
|
+
description: { type: 'string', description: 'Team description' },
|
|
3696
|
+
is_active: { type: 'boolean', description: 'Whether the team is active' }
|
|
3697
|
+
},
|
|
3698
|
+
required: ['team_name', 'adom_name']
|
|
3699
|
+
},
|
|
3700
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
3701
|
+
},
|
|
3702
|
+
{
|
|
3703
|
+
name: 'update_authz_team',
|
|
3704
|
+
description: 'Update an existing authorization team by ID.',
|
|
3705
|
+
inputSchema: {
|
|
3706
|
+
type: 'object',
|
|
3707
|
+
properties: {
|
|
3708
|
+
team_id: { type: 'string', description: 'Team ID' },
|
|
3709
|
+
team_name: { type: 'string', description: 'Team name' },
|
|
3710
|
+
adom_name: { type: 'string', description: 'Administrative domain name' },
|
|
3711
|
+
description: { type: 'string', description: 'Team description' },
|
|
3712
|
+
is_active: { type: 'boolean', description: 'Whether the team is active' }
|
|
3713
|
+
},
|
|
3714
|
+
required: ['team_id']
|
|
3715
|
+
},
|
|
3716
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3717
|
+
},
|
|
3718
|
+
{
|
|
3719
|
+
name: 'delete_authz_team',
|
|
3720
|
+
description: 'Delete an authorization team by ID.',
|
|
3721
|
+
inputSchema: {
|
|
3722
|
+
type: 'object',
|
|
3723
|
+
properties: {
|
|
3724
|
+
team_id: { type: 'string', description: 'Team ID to delete' }
|
|
3725
|
+
},
|
|
3726
|
+
required: ['team_id']
|
|
3727
|
+
},
|
|
3728
|
+
annotations: { readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: true }
|
|
3729
|
+
},
|
|
3730
|
+
{
|
|
3731
|
+
name: 'list_authz_team_members',
|
|
3732
|
+
description: 'List members of an authorization team with pagination.',
|
|
3733
|
+
inputSchema: {
|
|
3734
|
+
type: 'object',
|
|
3735
|
+
properties: {
|
|
3736
|
+
team_id: { type: 'string', description: 'Team ID' },
|
|
3737
|
+
limit: { type: 'number', description: 'Maximum number of results' },
|
|
3738
|
+
offset: { type: 'number', description: 'Result offset for pagination' }
|
|
3739
|
+
},
|
|
3740
|
+
required: ['team_id']
|
|
3741
|
+
},
|
|
3742
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3743
|
+
},
|
|
3744
|
+
{
|
|
3745
|
+
name: 'add_authz_team_member',
|
|
3746
|
+
description: 'Add a user to an authorization team.',
|
|
3747
|
+
inputSchema: {
|
|
3748
|
+
type: 'object',
|
|
3749
|
+
properties: {
|
|
3750
|
+
team_id: { type: 'string', description: 'Team ID' },
|
|
3751
|
+
user_id: { type: 'string', description: 'User ID to add' },
|
|
3752
|
+
source: { type: 'string', description: 'Membership source: manual or sso' }
|
|
3753
|
+
},
|
|
3754
|
+
required: ['team_id', 'user_id']
|
|
3755
|
+
},
|
|
3756
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
3757
|
+
},
|
|
3758
|
+
{
|
|
3759
|
+
name: 'remove_authz_team_member',
|
|
3760
|
+
description: 'Remove a user from an authorization team.',
|
|
3761
|
+
inputSchema: {
|
|
3762
|
+
type: 'object',
|
|
3763
|
+
properties: {
|
|
3764
|
+
team_id: { type: 'string', description: 'Team ID' },
|
|
3765
|
+
user_id: { type: 'string', description: 'User ID to remove' }
|
|
3766
|
+
},
|
|
3767
|
+
required: ['team_id', 'user_id']
|
|
3768
|
+
},
|
|
3769
|
+
annotations: { readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: true }
|
|
3770
|
+
},
|
|
3771
|
+
{
|
|
3772
|
+
name: 'list_authz_shares',
|
|
3773
|
+
description: 'List resource shares, optionally filtered by resource, target, or scope.',
|
|
3774
|
+
inputSchema: {
|
|
3775
|
+
type: 'object',
|
|
3776
|
+
properties: {
|
|
3777
|
+
resource_type: { type: 'string', description: 'Filter by resource type' },
|
|
3778
|
+
resource_id: { type: 'string', description: 'Filter by resource ID' },
|
|
3779
|
+
target_id: { type: 'string', description: 'Filter by target ID' },
|
|
3780
|
+
scope: { type: 'string', description: 'Filter by share scope' },
|
|
3781
|
+
limit: { type: 'number', description: 'Maximum number of results' },
|
|
3782
|
+
offset: { type: 'number', description: 'Result offset for pagination' }
|
|
3783
|
+
}
|
|
3784
|
+
},
|
|
3785
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3786
|
+
},
|
|
3787
|
+
{
|
|
3788
|
+
name: 'get_authz_share',
|
|
3789
|
+
description: 'Get a single resource share by ID.',
|
|
3790
|
+
inputSchema: {
|
|
3791
|
+
type: 'object',
|
|
3792
|
+
properties: {
|
|
3793
|
+
share_id: { type: 'string', description: 'Share ID' }
|
|
3794
|
+
},
|
|
3795
|
+
required: ['share_id']
|
|
3796
|
+
},
|
|
3797
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3798
|
+
},
|
|
3799
|
+
{
|
|
3800
|
+
name: 'create_authz_share',
|
|
3801
|
+
description: 'Share a resource with a scope and optional target and permission level.',
|
|
3802
|
+
inputSchema: {
|
|
3803
|
+
type: 'object',
|
|
3804
|
+
properties: {
|
|
3805
|
+
resource_type: { type: 'string', description: 'Resource type: flow, deployment, project, knowledge_base, variable, or file' },
|
|
3806
|
+
resource_id: { type: 'string', description: 'Resource ID to share' },
|
|
3807
|
+
scope: { type: 'string', description: 'Share scope: private, team, user, or public' },
|
|
3808
|
+
target_id: { type: 'string', description: 'Target ID for the share' },
|
|
3809
|
+
permission_level: { type: 'string', description: 'Permission level: read, write, execute, or admin' }
|
|
3810
|
+
},
|
|
3811
|
+
required: ['resource_type', 'resource_id', 'scope']
|
|
3812
|
+
},
|
|
3813
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
3814
|
+
},
|
|
3815
|
+
{
|
|
3816
|
+
name: 'update_authz_share',
|
|
3817
|
+
description: 'Update the permission level of a resource share.',
|
|
3818
|
+
inputSchema: {
|
|
3819
|
+
type: 'object',
|
|
3820
|
+
properties: {
|
|
3821
|
+
share_id: { type: 'string', description: 'Share ID' },
|
|
3822
|
+
permission_level: { type: 'string', description: 'Permission level: read, write, execute, or admin' }
|
|
3823
|
+
},
|
|
3824
|
+
required: ['share_id', 'permission_level']
|
|
3825
|
+
},
|
|
3826
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3827
|
+
},
|
|
3828
|
+
{
|
|
3829
|
+
name: 'delete_authz_share',
|
|
3830
|
+
description: 'Delete a resource share by ID.',
|
|
3831
|
+
inputSchema: {
|
|
3832
|
+
type: 'object',
|
|
3833
|
+
properties: {
|
|
3834
|
+
share_id: { type: 'string', description: 'Share ID to delete' }
|
|
3835
|
+
},
|
|
3836
|
+
required: ['share_id']
|
|
3837
|
+
},
|
|
3838
|
+
annotations: { readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: true }
|
|
3839
|
+
},
|
|
3840
|
+
{
|
|
3841
|
+
name: 'get_authz_audit',
|
|
3842
|
+
description: 'Query the authorization audit log with filters and pagination.',
|
|
3843
|
+
inputSchema: {
|
|
3844
|
+
type: 'object',
|
|
3845
|
+
properties: {
|
|
3846
|
+
user_id: { type: 'string', description: 'Filter by user ID' },
|
|
3847
|
+
resource_type: { type: 'string', description: 'Filter by resource type' },
|
|
3848
|
+
resource_id: { type: 'string', description: 'Filter by resource ID' },
|
|
3849
|
+
action: { type: 'string', description: 'Filter by audit action' },
|
|
3850
|
+
result: { type: 'string', description: 'Filter by result outcome' },
|
|
3851
|
+
since: { type: 'string', description: 'Start timestamp (ISO 8601)' },
|
|
3852
|
+
until: { type: 'string', description: 'End timestamp (ISO 8601)' },
|
|
3853
|
+
page: { type: 'number', description: 'Page number' },
|
|
3854
|
+
size: { type: 'number', description: 'Page size' }
|
|
3855
|
+
}
|
|
3856
|
+
},
|
|
3857
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3858
|
+
},
|
|
3859
|
+
{
|
|
3860
|
+
name: 'get_my_permissions',
|
|
3861
|
+
description: 'Get the calling user effective permissions for a set of resources.',
|
|
3862
|
+
inputSchema: {
|
|
3863
|
+
type: 'object',
|
|
3864
|
+
properties: {
|
|
3865
|
+
resource_type: { type: 'string', description: 'Resource type: flow, deployment, project, knowledge_base, variable, file, or component' },
|
|
3866
|
+
resource_ids: { type: 'array', items: { type: 'string' }, description: 'Resource IDs to check' },
|
|
3867
|
+
actions: { type: 'array', items: { type: 'string' }, description: 'Specific actions to evaluate' },
|
|
3868
|
+
domain: { type: 'string', description: 'Domain scope for the check' }
|
|
3869
|
+
},
|
|
3870
|
+
required: ['resource_type', 'resource_ids']
|
|
3871
|
+
},
|
|
3872
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3873
|
+
},
|
|
3874
|
+
{
|
|
3875
|
+
name: 'create_memory_base',
|
|
3876
|
+
description: 'Create a memory base for a flow (experimental, hidden in Langflow OpenAPI).',
|
|
3877
|
+
inputSchema: {
|
|
3878
|
+
type: 'object',
|
|
3879
|
+
properties: {
|
|
3880
|
+
name: { type: 'string', description: 'Memory base name' },
|
|
3881
|
+
flow_id: { type: 'string', description: 'Associated flow ID' },
|
|
3882
|
+
threshold: { type: 'number', description: 'Capture threshold' },
|
|
3883
|
+
auto_capture: { type: 'boolean', description: 'Automatically capture memories' },
|
|
3884
|
+
embedding_model: { type: 'string', description: 'Embedding model name' },
|
|
3885
|
+
preprocessing: { type: 'boolean', description: 'Enable preprocessing' },
|
|
3886
|
+
preproc_model: { type: 'string', description: 'Preprocessing model name' },
|
|
3887
|
+
preproc_instructions: { type: 'string', description: 'Preprocessing instructions' },
|
|
3888
|
+
preproc_kill_phrase: { type: 'string', description: 'Preprocessing kill phrase' }
|
|
3889
|
+
},
|
|
3890
|
+
required: ['name', 'flow_id']
|
|
3891
|
+
},
|
|
3892
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
3893
|
+
},
|
|
3894
|
+
{
|
|
3895
|
+
name: 'list_memory_bases',
|
|
3896
|
+
description: 'List memory bases, optionally filtered by flow with pagination.',
|
|
3897
|
+
inputSchema: {
|
|
3898
|
+
type: 'object',
|
|
3899
|
+
properties: {
|
|
3900
|
+
flow_id: { type: 'string', description: 'Filter by flow ID' },
|
|
3901
|
+
page: { type: 'number', description: 'Page number' },
|
|
3902
|
+
size: { type: 'number', description: 'Page size' }
|
|
3903
|
+
}
|
|
3904
|
+
},
|
|
3905
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3906
|
+
},
|
|
3907
|
+
{
|
|
3908
|
+
name: 'get_memory_base',
|
|
3909
|
+
description: 'Get a single memory base by ID.',
|
|
3910
|
+
inputSchema: {
|
|
3911
|
+
type: 'object',
|
|
3912
|
+
properties: {
|
|
3913
|
+
memory_base_id: { type: 'string', description: 'Memory base ID' }
|
|
3914
|
+
},
|
|
3915
|
+
required: ['memory_base_id']
|
|
3916
|
+
},
|
|
3917
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3918
|
+
},
|
|
3919
|
+
{
|
|
3920
|
+
name: 'list_memory_base_sessions',
|
|
3921
|
+
description: 'List sessions stored in a memory base with pagination.',
|
|
3922
|
+
inputSchema: {
|
|
3923
|
+
type: 'object',
|
|
3924
|
+
properties: {
|
|
3925
|
+
memory_base_id: { type: 'string', description: 'Memory base ID' },
|
|
3926
|
+
page: { type: 'number', description: 'Page number' },
|
|
3927
|
+
size: { type: 'number', description: 'Page size' }
|
|
3928
|
+
},
|
|
3929
|
+
required: ['memory_base_id']
|
|
3930
|
+
},
|
|
3931
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3932
|
+
},
|
|
3933
|
+
{
|
|
3934
|
+
name: 'list_memory_base_messages',
|
|
3935
|
+
description: 'List messages stored in a memory base, optionally filtered by session.',
|
|
3936
|
+
inputSchema: {
|
|
3937
|
+
type: 'object',
|
|
3938
|
+
properties: {
|
|
3939
|
+
memory_base_id: { type: 'string', description: 'Memory base ID' },
|
|
3940
|
+
session_id: { type: 'string', description: 'Filter by session ID' },
|
|
3941
|
+
page: { type: 'number', description: 'Page number' },
|
|
3942
|
+
size: { type: 'number', description: 'Page size' }
|
|
3943
|
+
},
|
|
3944
|
+
required: ['memory_base_id']
|
|
3945
|
+
},
|
|
3946
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3947
|
+
},
|
|
3948
|
+
{
|
|
3949
|
+
name: 'update_memory_base',
|
|
3950
|
+
description: 'Update an existing memory base by ID.',
|
|
3951
|
+
inputSchema: {
|
|
3952
|
+
type: 'object',
|
|
3953
|
+
properties: {
|
|
3954
|
+
memory_base_id: { type: 'string', description: 'Memory base ID' },
|
|
3955
|
+
name: { type: 'string', description: 'Memory base name' },
|
|
3956
|
+
threshold: { type: 'number', description: 'Capture threshold' },
|
|
3957
|
+
auto_capture: { type: 'boolean', description: 'Automatically capture memories' }
|
|
3958
|
+
},
|
|
3959
|
+
required: ['memory_base_id']
|
|
3960
|
+
},
|
|
3961
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3962
|
+
},
|
|
3963
|
+
{
|
|
3964
|
+
name: 'delete_memory_base',
|
|
3965
|
+
description: 'Delete a memory base and its stored memories by ID.',
|
|
3966
|
+
inputSchema: {
|
|
3967
|
+
type: 'object',
|
|
3968
|
+
properties: {
|
|
3969
|
+
memory_base_id: { type: 'string', description: 'Memory base ID to delete' }
|
|
3970
|
+
},
|
|
3971
|
+
required: ['memory_base_id']
|
|
3972
|
+
},
|
|
3973
|
+
annotations: { readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: true }
|
|
3974
|
+
},
|
|
3975
|
+
{
|
|
3976
|
+
name: 'flush_memory_base',
|
|
3977
|
+
description: 'Flush a memory base session, persisting captured memories.',
|
|
3978
|
+
inputSchema: {
|
|
3979
|
+
type: 'object',
|
|
3980
|
+
properties: {
|
|
3981
|
+
memory_base_id: { type: 'string', description: 'Memory base ID' },
|
|
3982
|
+
session_id: { type: 'string', description: 'Session ID to flush' }
|
|
3983
|
+
},
|
|
3984
|
+
required: ['memory_base_id', 'session_id']
|
|
3985
|
+
},
|
|
3986
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
3987
|
+
},
|
|
3988
|
+
{
|
|
3989
|
+
name: 'check_memory_base_mismatch',
|
|
3990
|
+
description: 'Check a memory base for configuration or embedding mismatches.',
|
|
3991
|
+
inputSchema: {
|
|
3992
|
+
type: 'object',
|
|
3993
|
+
properties: {
|
|
3994
|
+
memory_base_id: { type: 'string', description: 'Memory base ID' }
|
|
3995
|
+
},
|
|
3996
|
+
required: ['memory_base_id']
|
|
3997
|
+
},
|
|
3998
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3999
|
+
},
|
|
4000
|
+
{
|
|
4001
|
+
name: 'regenerate_memory_base',
|
|
4002
|
+
description: 'Regenerate a memory base, rebuilding its stored memories.',
|
|
4003
|
+
inputSchema: {
|
|
4004
|
+
type: 'object',
|
|
4005
|
+
properties: {
|
|
4006
|
+
memory_base_id: { type: 'string', description: 'Memory base ID' }
|
|
4007
|
+
},
|
|
4008
|
+
required: ['memory_base_id']
|
|
4009
|
+
},
|
|
4010
|
+
annotations: { readOnlyHint: false, destructiveHint: true, idempotentHint: false, openWorldHint: true }
|
|
4011
|
+
},
|
|
4012
|
+
{
|
|
4013
|
+
name: 'test_knowledge_base_connection',
|
|
4014
|
+
description: 'Test a connection to a knowledge base backend.',
|
|
4015
|
+
inputSchema: {
|
|
4016
|
+
type: 'object',
|
|
4017
|
+
properties: {
|
|
4018
|
+
backend_type: { type: 'string', description: 'Backend type to test' },
|
|
4019
|
+
backend_config: { type: 'object', description: 'Backend connection configuration' }
|
|
4020
|
+
},
|
|
4021
|
+
required: ['backend_type']
|
|
4022
|
+
},
|
|
4023
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
4024
|
+
},
|
|
4025
|
+
{
|
|
4026
|
+
name: 'list_knowledge_base_connectors',
|
|
4027
|
+
description: 'List available knowledge base ingestion connectors.',
|
|
4028
|
+
inputSchema: {
|
|
4029
|
+
type: 'object',
|
|
4030
|
+
properties: {}
|
|
4031
|
+
},
|
|
4032
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
4033
|
+
},
|
|
4034
|
+
{
|
|
4035
|
+
name: 'ingest_knowledge_base_folder',
|
|
4036
|
+
description: 'Ingest a local folder into a knowledge base with chunking options.',
|
|
4037
|
+
inputSchema: {
|
|
4038
|
+
type: 'object',
|
|
4039
|
+
properties: {
|
|
4040
|
+
kb_name: { type: 'string', description: 'Knowledge base name' },
|
|
4041
|
+
path: { type: 'string', description: 'Folder path to ingest' },
|
|
4042
|
+
recursive: { type: 'boolean', description: 'Recurse into subfolders' },
|
|
4043
|
+
extensions: { type: 'array', items: { type: 'string' }, description: 'File extensions to include' },
|
|
4044
|
+
max_file_size_bytes: { type: 'number', description: 'Maximum file size in bytes' },
|
|
4045
|
+
source_name: { type: 'string', description: 'Source name label' },
|
|
4046
|
+
chunk_size: { type: 'number', description: 'Chunk size' },
|
|
4047
|
+
chunk_overlap: { type: 'number', description: 'Chunk overlap' },
|
|
4048
|
+
separator: { type: 'string', description: 'Chunk separator' },
|
|
4049
|
+
metadata: { type: 'object', description: 'Metadata applied to all files' },
|
|
4050
|
+
per_file_metadata: { type: 'object', description: 'Per-file metadata overrides' }
|
|
4051
|
+
},
|
|
4052
|
+
required: ['kb_name', 'path']
|
|
4053
|
+
},
|
|
4054
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
4055
|
+
},
|
|
4056
|
+
{
|
|
4057
|
+
name: 'ingest_knowledge_base_connector',
|
|
4058
|
+
description: 'Ingest content into a knowledge base from a configured connector source.',
|
|
4059
|
+
inputSchema: {
|
|
4060
|
+
type: 'object',
|
|
4061
|
+
properties: {
|
|
4062
|
+
kb_name: { type: 'string', description: 'Knowledge base name' },
|
|
4063
|
+
source_type: { type: 'string', description: 'Connector source type' },
|
|
4064
|
+
source_config: { type: 'object', description: 'Connector source configuration' },
|
|
4065
|
+
source_name: { type: 'string', description: 'Source name label' },
|
|
4066
|
+
chunk_size: { type: 'number', description: 'Chunk size' },
|
|
4067
|
+
chunk_overlap: { type: 'number', description: 'Chunk overlap' },
|
|
4068
|
+
separator: { type: 'string', description: 'Chunk separator' }
|
|
4069
|
+
},
|
|
4070
|
+
required: ['kb_name', 'source_type']
|
|
4071
|
+
},
|
|
4072
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
4073
|
+
},
|
|
4074
|
+
{
|
|
4075
|
+
name: 'get_knowledge_base_metadata_keys',
|
|
4076
|
+
description: 'Get the available metadata keys for a knowledge base.',
|
|
4077
|
+
inputSchema: {
|
|
4078
|
+
type: 'object',
|
|
4079
|
+
properties: {
|
|
4080
|
+
kb_name: { type: 'string', description: 'Knowledge base name' }
|
|
4081
|
+
},
|
|
4082
|
+
required: ['kb_name']
|
|
4083
|
+
},
|
|
4084
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
4085
|
+
},
|
|
4086
|
+
{
|
|
4087
|
+
name: 'list_knowledge_base_runs',
|
|
4088
|
+
description: 'List ingestion runs for a knowledge base with pagination.',
|
|
4089
|
+
inputSchema: {
|
|
4090
|
+
type: 'object',
|
|
4091
|
+
properties: {
|
|
4092
|
+
kb_name: { type: 'string', description: 'Knowledge base name' },
|
|
4093
|
+
page: { type: 'number', description: 'Page number' },
|
|
4094
|
+
limit: { type: 'number', description: 'Maximum number of results' }
|
|
4095
|
+
},
|
|
4096
|
+
required: ['kb_name']
|
|
4097
|
+
},
|
|
4098
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
4099
|
+
},
|
|
4100
|
+
{
|
|
4101
|
+
name: 'get_knowledge_base_run',
|
|
4102
|
+
description: 'Get a single knowledge base ingestion run by ID.',
|
|
4103
|
+
inputSchema: {
|
|
4104
|
+
type: 'object',
|
|
4105
|
+
properties: {
|
|
4106
|
+
kb_name: { type: 'string', description: 'Knowledge base name' },
|
|
4107
|
+
run_id: { type: 'string', description: 'Ingestion run ID' }
|
|
4108
|
+
},
|
|
4109
|
+
required: ['kb_name', 'run_id']
|
|
4110
|
+
},
|
|
4111
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
4112
|
+
},
|
|
4113
|
+
{
|
|
4114
|
+
name: 'reload_extension_bundle',
|
|
4115
|
+
description: 'Reload an extension bundle (requires LANGFLOW_ENABLE_EXTENSION_RELOAD on the server).',
|
|
4116
|
+
inputSchema: {
|
|
4117
|
+
type: 'object',
|
|
4118
|
+
properties: {
|
|
4119
|
+
extension_id: { type: 'string', description: 'Extension ID' },
|
|
4120
|
+
bundle_name: { type: 'string', description: 'Bundle name to reload' }
|
|
4121
|
+
},
|
|
4122
|
+
required: ['extension_id', 'bundle_name']
|
|
4123
|
+
},
|
|
4124
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
4125
|
+
},
|
|
4126
|
+
{
|
|
4127
|
+
name: 'get_extension_events',
|
|
4128
|
+
description: 'Get extension events for the current user, optionally since a UTC epoch cursor.',
|
|
4129
|
+
inputSchema: {
|
|
4130
|
+
type: 'object',
|
|
4131
|
+
properties: {
|
|
4132
|
+
since: { type: 'number', description: 'UTC epoch timestamp; return events after this cursor' }
|
|
4133
|
+
}
|
|
4134
|
+
},
|
|
4135
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
4136
|
+
},
|
|
4137
|
+
{
|
|
4138
|
+
name: 'get_agentic_file',
|
|
4139
|
+
description: 'Get an agentic workspace file, optionally as a downloadable payload.',
|
|
4140
|
+
inputSchema: {
|
|
4141
|
+
type: 'object',
|
|
4142
|
+
properties: {
|
|
4143
|
+
path: { type: 'string', description: 'File path' },
|
|
4144
|
+
download: { type: 'boolean', description: 'Return the file content for download' }
|
|
4145
|
+
},
|
|
4146
|
+
required: ['path']
|
|
4147
|
+
},
|
|
4148
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
4149
|
+
},
|
|
4150
|
+
{
|
|
4151
|
+
name: 'reset_agentic_session',
|
|
4152
|
+
description: 'Reset an agentic session, optionally targeting a specific session ID.',
|
|
4153
|
+
inputSchema: {
|
|
4154
|
+
type: 'object',
|
|
4155
|
+
properties: {
|
|
4156
|
+
session_id: { type: 'string', description: 'Session ID to reset' }
|
|
4157
|
+
}
|
|
4158
|
+
},
|
|
4159
|
+
annotations: { readOnlyHint: false, destructiveHint: true, idempotentHint: false, openWorldHint: true }
|
|
4160
|
+
},
|
|
4161
|
+
{
|
|
4162
|
+
name: 'get_flow_note_translations',
|
|
4163
|
+
description: 'Get localized note translations for a flow by ID.',
|
|
4164
|
+
inputSchema: {
|
|
4165
|
+
type: 'object',
|
|
4166
|
+
properties: {
|
|
4167
|
+
flow_id: { type: 'string', description: 'Flow ID' }
|
|
4168
|
+
},
|
|
4169
|
+
required: ['flow_id']
|
|
4170
|
+
},
|
|
4171
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
4172
|
+
},
|
|
4173
|
+
{
|
|
4174
|
+
name: 'get_job_queue_metrics',
|
|
4175
|
+
description: 'Get job queue metrics (superuser-only).',
|
|
4176
|
+
inputSchema: {
|
|
4177
|
+
type: 'object',
|
|
4178
|
+
properties: {}
|
|
4179
|
+
},
|
|
4180
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
4181
|
+
},
|
|
4182
|
+
{
|
|
4183
|
+
name: 'list_a2a_agents',
|
|
4184
|
+
description: 'List available A2A (Agent-to-Agent) agents (Langflow 1.11.0). Requires server-side A2A enablement (LANGFLOW_A2A_ENABLED).',
|
|
4185
|
+
inputSchema: {
|
|
4186
|
+
type: 'object',
|
|
4187
|
+
properties: {}
|
|
4188
|
+
},
|
|
4189
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
4190
|
+
},
|
|
4191
|
+
{
|
|
4192
|
+
name: 'get_a2a_agent_card',
|
|
4193
|
+
description: 'Get the A2A agent card (.well-known/agent-card.json) for a flow (Langflow 1.11.0). Requires server-side A2A enablement.',
|
|
4194
|
+
inputSchema: {
|
|
4195
|
+
type: 'object',
|
|
4196
|
+
properties: {
|
|
4197
|
+
flow_id: { type: 'string', description: 'Flow ID' }
|
|
4198
|
+
},
|
|
4199
|
+
required: ['flow_id']
|
|
4200
|
+
},
|
|
4201
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
4202
|
+
},
|
|
4203
|
+
{
|
|
4204
|
+
name: 'invoke_a2a_jsonrpc',
|
|
4205
|
+
description: 'Invoke a flow via the A2A JSON-RPC endpoint (Langflow 1.11.0). The JSON-RPC envelope is a passthrough; validation lives server-side.',
|
|
4206
|
+
inputSchema: {
|
|
4207
|
+
type: 'object',
|
|
4208
|
+
properties: {
|
|
4209
|
+
flow_id: { type: 'string', description: 'Flow ID' },
|
|
4210
|
+
jsonrpc: { type: 'string', description: 'JSON-RPC version (e.g. "2.0")' },
|
|
4211
|
+
method: { type: 'string', description: 'JSON-RPC method name' },
|
|
4212
|
+
params: { type: ['object', 'array'], description: 'JSON-RPC params (object or positional array)' },
|
|
4213
|
+
id: { type: ['string', 'number'], description: 'JSON-RPC request ID' }
|
|
4214
|
+
},
|
|
4215
|
+
required: ['flow_id', 'method']
|
|
4216
|
+
},
|
|
4217
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
4218
|
+
},
|
|
4219
|
+
{
|
|
4220
|
+
name: 'list_pending_workflows',
|
|
4221
|
+
description: 'List pending human-in-the-loop workflows awaiting a decision (Langflow 1.11.0). Optionally filter by flow_id.',
|
|
4222
|
+
inputSchema: {
|
|
4223
|
+
type: 'object',
|
|
4224
|
+
properties: {
|
|
4225
|
+
flow_id: { type: 'string', description: 'Optional flow ID filter' }
|
|
4226
|
+
}
|
|
4227
|
+
},
|
|
4228
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
4229
|
+
},
|
|
4230
|
+
{
|
|
4231
|
+
name: 'get_workflow_events',
|
|
4232
|
+
description: 'Re-attach to a workflow job event stream by job ID (Langflow 1.11.0). Streaming is not incrementally surfaced; the initial payload is returned.',
|
|
4233
|
+
inputSchema: {
|
|
4234
|
+
type: 'object',
|
|
4235
|
+
properties: {
|
|
4236
|
+
job_id: { type: 'string', description: 'Workflow job ID' }
|
|
4237
|
+
},
|
|
4238
|
+
required: ['job_id']
|
|
4239
|
+
},
|
|
4240
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
4241
|
+
},
|
|
4242
|
+
{
|
|
4243
|
+
name: 'resume_workflow',
|
|
4244
|
+
description: 'Resume a paused human-in-the-loop workflow with a decision payload (Langflow 1.11.0). The decision payload is a passthrough; validation lives server-side.',
|
|
4245
|
+
inputSchema: {
|
|
4246
|
+
type: 'object',
|
|
4247
|
+
properties: {
|
|
4248
|
+
job_id: { type: 'string', description: 'Workflow job ID' },
|
|
4249
|
+
decision: { type: 'object', description: 'HITL decision payload' }
|
|
4250
|
+
},
|
|
4251
|
+
required: ['job_id', 'decision']
|
|
4252
|
+
},
|
|
4253
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
4254
|
+
},
|
|
4255
|
+
{
|
|
4256
|
+
name: 'run_public_workflow',
|
|
4257
|
+
description: 'Run a public (unauthenticated-eligible) workflow (Langflow 1.11.0). Stream-only execution; streaming is not incrementally surfaced.',
|
|
4258
|
+
inputSchema: {
|
|
4259
|
+
type: 'object',
|
|
4260
|
+
properties: {
|
|
4261
|
+
flow_id: { type: 'string', description: 'Flow ID' },
|
|
4262
|
+
inputs: { type: 'object', description: 'Workflow inputs' },
|
|
4263
|
+
globals: { type: 'object', description: 'Request-level global variables' },
|
|
4264
|
+
stream: { type: 'boolean', description: 'Stream the run' }
|
|
4265
|
+
},
|
|
4266
|
+
required: ['flow_id']
|
|
4267
|
+
},
|
|
4268
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
2634
4269
|
}
|
|
2635
4270
|
];
|
|
2636
4271
|
//# sourceMappingURL=tools.js.map
|