langflow-mcp-server 4.11.0 → 4.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env.example +19 -1
- package/README.md +150 -31
- package/dist/__tests__/fixtures/advanced-execution.d.ts.map +1 -1
- package/dist/__tests__/fixtures/advanced-execution.js +7 -4
- package/dist/__tests__/fixtures/advanced-execution.js.map +1 -1
- package/dist/__tests__/fixtures/api-keys.js.map +1 -1
- package/dist/__tests__/fixtures/auth.d.ts.map +1 -1
- package/dist/__tests__/fixtures/components.d.ts.map +1 -1
- package/dist/__tests__/fixtures/custom-components.js.map +1 -1
- package/dist/__tests__/fixtures/files.d.ts.map +1 -1
- package/dist/__tests__/fixtures/files.js.map +1 -1
- package/dist/__tests__/fixtures/flows.js.map +1 -1
- package/dist/__tests__/fixtures/folders.js.map +1 -1
- package/dist/__tests__/fixtures/knowledge-bases.d.ts.map +1 -1
- package/dist/__tests__/fixtures/knowledge-bases.js.map +1 -1
- package/dist/__tests__/fixtures/misc.js.map +1 -1
- package/dist/__tests__/fixtures/monitoring.js.map +1 -1
- package/dist/__tests__/fixtures/projects.js.map +1 -1
- package/dist/__tests__/fixtures/run.d.ts.map +1 -1
- package/dist/__tests__/fixtures/store.d.ts.map +1 -1
- package/dist/__tests__/fixtures/store.js.map +1 -1
- package/dist/__tests__/fixtures/users.js.map +1 -1
- package/dist/__tests__/fixtures/variables.js.map +1 -1
- package/dist/__tests__/fixtures/vertices.d.ts.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/mcp/http.d.ts +69 -0
- package/dist/mcp/http.d.ts.map +1 -0
- package/dist/mcp/http.js +595 -0
- package/dist/mcp/http.js.map +1 -0
- package/dist/mcp/index.js +39 -5
- package/dist/mcp/index.js.map +1 -1
- package/dist/mcp/prompts.js.map +1 -1
- package/dist/mcp/resources.d.ts.map +1 -1
- package/dist/mcp/resources.js +6 -17
- package/dist/mcp/resources.js.map +1 -1
- package/dist/mcp/server-consolidated.d.ts +3 -0
- package/dist/mcp/server-consolidated.d.ts.map +1 -1
- package/dist/mcp/server-consolidated.js +94 -8
- package/dist/mcp/server-consolidated.js.map +1 -1
- package/dist/mcp/server.d.ts +2 -0
- package/dist/mcp/server.d.ts.map +1 -1
- package/dist/mcp/server.js +122 -12
- package/dist/mcp/server.js.map +1 -1
- package/dist/mcp/tools-consolidated.d.ts.map +1 -1
- package/dist/mcp/tools-consolidated.js +119 -32
- package/dist/mcp/tools-consolidated.js.map +1 -1
- package/dist/mcp/tools.d.ts.map +1 -1
- package/dist/mcp/tools.js +338 -58
- package/dist/mcp/tools.js.map +1 -1
- package/dist/mcp/validation-consolidated.d.ts +234 -48
- package/dist/mcp/validation-consolidated.d.ts.map +1 -1
- package/dist/mcp/validation-consolidated.js +148 -31
- package/dist/mcp/validation-consolidated.js.map +1 -1
- package/dist/mcp/validation.d.ts +240 -51
- package/dist/mcp/validation.d.ts.map +1 -1
- package/dist/mcp/validation.js +150 -35
- package/dist/mcp/validation.js.map +1 -1
- package/dist/services/langflow-client.d.ts +27 -7
- package/dist/services/langflow-client.d.ts.map +1 -1
- package/dist/services/langflow-client.js +214 -12
- package/dist/services/langflow-client.js.map +1 -1
- package/dist/types/index.d.ts +162 -27
- package/dist/types/index.d.ts.map +1 -1
- package/dist/utils/logger.d.ts.map +1 -1
- package/dist/utils/logger.js +2 -3
- package/dist/utils/logger.js.map +1 -1
- package/package.json +13 -14
package/dist/mcp/tools.js
CHANGED
|
@@ -1236,6 +1236,53 @@ Related Tools:
|
|
|
1236
1236
|
openWorldHint: true
|
|
1237
1237
|
}
|
|
1238
1238
|
},
|
|
1239
|
+
{
|
|
1240
|
+
name: 'build_public_flow',
|
|
1241
|
+
description: 'Build a public flow without authentication using Langflow 1.11.x public-build semantics.',
|
|
1242
|
+
inputSchema: {
|
|
1243
|
+
type: 'object',
|
|
1244
|
+
properties: {
|
|
1245
|
+
flow_id: { type: 'string', description: 'Public flow ID (UUID)' },
|
|
1246
|
+
inputs: {
|
|
1247
|
+
type: ['object', 'null'],
|
|
1248
|
+
description: 'Optional single input request with components, input_value, session, and type'
|
|
1249
|
+
},
|
|
1250
|
+
files: { type: ['array', 'null'], items: { type: 'string' }, description: 'Optional flow-scoped file paths' },
|
|
1251
|
+
stop_component_id: { type: ['string', 'null'], description: 'Optional component to stop at' },
|
|
1252
|
+
start_component_id: { type: ['string', 'null'], description: 'Optional component to start from' },
|
|
1253
|
+
log_builds: { type: ['boolean', 'null'], description: 'Whether to log the public build' },
|
|
1254
|
+
flow_name: { type: ['string', 'null'], description: 'Optional flow name override' },
|
|
1255
|
+
event_delivery: { type: 'string', enum: ['polling', 'streaming', 'direct'], description: 'Build event delivery mode' }
|
|
1256
|
+
},
|
|
1257
|
+
required: ['flow_id']
|
|
1258
|
+
},
|
|
1259
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
1260
|
+
},
|
|
1261
|
+
{
|
|
1262
|
+
name: 'get_public_build_events',
|
|
1263
|
+
description: 'Get events for a public flow build job, including streaming event payloads.',
|
|
1264
|
+
inputSchema: {
|
|
1265
|
+
type: 'object',
|
|
1266
|
+
properties: {
|
|
1267
|
+
job_id: { type: 'string', description: 'Public build job ID' },
|
|
1268
|
+
event_delivery: { type: 'string', enum: ['polling', 'streaming', 'direct'], description: 'Event delivery mode' }
|
|
1269
|
+
},
|
|
1270
|
+
required: ['job_id']
|
|
1271
|
+
},
|
|
1272
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
1273
|
+
},
|
|
1274
|
+
{
|
|
1275
|
+
name: 'cancel_public_build',
|
|
1276
|
+
description: 'Cancel a public flow build job.',
|
|
1277
|
+
inputSchema: {
|
|
1278
|
+
type: 'object',
|
|
1279
|
+
properties: {
|
|
1280
|
+
job_id: { type: 'string', description: 'Public build job ID' }
|
|
1281
|
+
},
|
|
1282
|
+
required: ['job_id']
|
|
1283
|
+
},
|
|
1284
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
1285
|
+
},
|
|
1239
1286
|
{
|
|
1240
1287
|
name: 'list_knowledge_bases',
|
|
1241
1288
|
description: `List all knowledge bases for Retrieval-Augmented Generation (RAG) workflows.
|
|
@@ -1656,7 +1703,7 @@ Related Tools:
|
|
|
1656
1703
|
},
|
|
1657
1704
|
{
|
|
1658
1705
|
name: 'run_flow_advanced',
|
|
1659
|
-
description: 'Advanced flow execution
|
|
1706
|
+
description: 'Advanced flow execution using Langflow 1.11.x input/output request arrays, tweaks, sessions, and streaming.',
|
|
1660
1707
|
inputSchema: {
|
|
1661
1708
|
type: 'object',
|
|
1662
1709
|
properties: {
|
|
@@ -1664,28 +1711,21 @@ Related Tools:
|
|
|
1664
1711
|
type: 'string',
|
|
1665
1712
|
description: 'Flow ID (UUID) or flow name to execute'
|
|
1666
1713
|
},
|
|
1667
|
-
|
|
1668
|
-
type: '
|
|
1669
|
-
description: '
|
|
1670
|
-
},
|
|
1671
|
-
input_type: {
|
|
1672
|
-
type: 'string',
|
|
1673
|
-
description: 'Type of input (e.g., "chat", "text")'
|
|
1674
|
-
},
|
|
1675
|
-
output_type: {
|
|
1676
|
-
type: 'string',
|
|
1677
|
-
description: 'Expected output type (e.g., "chat", "text", "json")'
|
|
1714
|
+
inputs: {
|
|
1715
|
+
type: ['array', 'null'],
|
|
1716
|
+
description: 'InputValueRequest array with optional components, input_value, session, and type'
|
|
1678
1717
|
},
|
|
1679
|
-
|
|
1680
|
-
type: '
|
|
1681
|
-
|
|
1718
|
+
outputs: {
|
|
1719
|
+
type: ['array', 'null'],
|
|
1720
|
+
items: { type: 'string' },
|
|
1721
|
+
description: 'Optional output component names or IDs'
|
|
1682
1722
|
},
|
|
1683
1723
|
tweaks: {
|
|
1684
|
-
type: 'object',
|
|
1724
|
+
type: ['object', 'null'],
|
|
1685
1725
|
description: 'Component-specific parameter overrides'
|
|
1686
1726
|
},
|
|
1687
1727
|
session_id: {
|
|
1688
|
-
type: 'string',
|
|
1728
|
+
type: ['string', 'null'],
|
|
1689
1729
|
description: 'Session ID for conversation continuity'
|
|
1690
1730
|
},
|
|
1691
1731
|
user_id: {
|
|
@@ -3190,7 +3230,8 @@ Related Tools:
|
|
|
3190
3230
|
include_deprecated: { type: 'boolean', description: 'Include deprecated models' },
|
|
3191
3231
|
tool_calling: { type: 'boolean', description: 'Filter to tool-calling models' },
|
|
3192
3232
|
reasoning: { type: 'boolean', description: 'Filter to reasoning models' },
|
|
3193
|
-
search: { type: 'string', description: 'Search query' }
|
|
3233
|
+
search: { type: 'string', description: 'Search query' },
|
|
3234
|
+
purpose: { type: 'string', enum: ['use', 'configure'], description: 'Optional provider visibility purpose' }
|
|
3194
3235
|
}
|
|
3195
3236
|
},
|
|
3196
3237
|
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
@@ -3198,7 +3239,12 @@ Related Tools:
|
|
|
3198
3239
|
{
|
|
3199
3240
|
name: 'list_model_providers',
|
|
3200
3241
|
description: 'List all known model providers.',
|
|
3201
|
-
inputSchema: {
|
|
3242
|
+
inputSchema: {
|
|
3243
|
+
type: 'object',
|
|
3244
|
+
properties: {
|
|
3245
|
+
purpose: { type: 'string', enum: ['use', 'configure'], description: 'Optional provider visibility purpose' }
|
|
3246
|
+
}
|
|
3247
|
+
},
|
|
3202
3248
|
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3203
3249
|
},
|
|
3204
3250
|
{
|
|
@@ -3207,7 +3253,8 @@ Related Tools:
|
|
|
3207
3253
|
inputSchema: {
|
|
3208
3254
|
type: 'object',
|
|
3209
3255
|
properties: {
|
|
3210
|
-
providers: { type: 'array', items: { type: 'string' }, description: 'Optional provider names to check' }
|
|
3256
|
+
providers: { type: 'array', items: { type: 'string' }, description: 'Optional provider names to check' },
|
|
3257
|
+
purpose: { type: 'string', enum: ['use', 'configure'], description: 'Optional provider visibility purpose' }
|
|
3211
3258
|
}
|
|
3212
3259
|
},
|
|
3213
3260
|
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
@@ -3218,7 +3265,8 @@ Related Tools:
|
|
|
3218
3265
|
inputSchema: {
|
|
3219
3266
|
type: 'object',
|
|
3220
3267
|
properties: {
|
|
3221
|
-
model_names: { type: 'array', items: { type: 'string' }, description: 'Optional model names to check' }
|
|
3268
|
+
model_names: { type: 'array', items: { type: 'string' }, description: 'Optional model names to check' },
|
|
3269
|
+
purpose: { type: 'string', enum: ['use', 'configure'], description: 'Optional provider visibility purpose' }
|
|
3222
3270
|
}
|
|
3223
3271
|
},
|
|
3224
3272
|
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
@@ -3288,7 +3336,12 @@ Related Tools:
|
|
|
3288
3336
|
{
|
|
3289
3337
|
name: 'get_provider_variable_mapping',
|
|
3290
3338
|
description: 'Get the mapping between model providers and their required global variables.',
|
|
3291
|
-
inputSchema: {
|
|
3339
|
+
inputSchema: {
|
|
3340
|
+
type: 'object',
|
|
3341
|
+
properties: {
|
|
3342
|
+
purpose: { type: 'string', enum: ['use', 'configure'], description: 'Optional provider visibility purpose' }
|
|
3343
|
+
}
|
|
3344
|
+
},
|
|
3292
3345
|
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3293
3346
|
},
|
|
3294
3347
|
{
|
|
@@ -3307,13 +3360,23 @@ Related Tools:
|
|
|
3307
3360
|
{
|
|
3308
3361
|
name: 'get_language_model_options',
|
|
3309
3362
|
description: 'Get available language (LLM) model options.',
|
|
3310
|
-
inputSchema: {
|
|
3363
|
+
inputSchema: {
|
|
3364
|
+
type: 'object',
|
|
3365
|
+
properties: {
|
|
3366
|
+
purpose: { type: 'string', enum: ['use', 'configure'], description: 'Optional provider visibility purpose' }
|
|
3367
|
+
}
|
|
3368
|
+
},
|
|
3311
3369
|
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3312
3370
|
},
|
|
3313
3371
|
{
|
|
3314
3372
|
name: 'get_embedding_model_options',
|
|
3315
3373
|
description: 'Get available embedding model options.',
|
|
3316
|
-
inputSchema: {
|
|
3374
|
+
inputSchema: {
|
|
3375
|
+
type: 'object',
|
|
3376
|
+
properties: {
|
|
3377
|
+
purpose: { type: 'string', enum: ['use', 'configure'], description: 'Optional provider visibility purpose' }
|
|
3378
|
+
}
|
|
3379
|
+
},
|
|
3317
3380
|
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
3318
3381
|
},
|
|
3319
3382
|
{
|
|
@@ -3323,13 +3386,36 @@ Related Tools:
|
|
|
3323
3386
|
type: 'object',
|
|
3324
3387
|
properties: {
|
|
3325
3388
|
flow_id: { type: 'string', description: 'Flow ID' },
|
|
3326
|
-
input_value: { type: 'string', description: 'User input/instruction' },
|
|
3327
|
-
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
|
|
3389
|
+
input_value: { type: ['string', 'null'], description: 'User input/instruction (server-configured limit)' },
|
|
3390
|
+
iterations_limit: { type: ['number', 'null'], description: 'Maximum assistant iterations (1-200)' },
|
|
3391
|
+
session_id: { type: ['string', 'null'], description: 'Optional session ID' },
|
|
3392
|
+
component_id: { type: ['string', 'null'], description: 'Optional target component ID' },
|
|
3393
|
+
field_name: { type: ['string', 'null'], description: 'Optional target field name' },
|
|
3394
|
+
model_name: { type: ['string', 'null'], description: 'Optional model name' },
|
|
3395
|
+
provider: { type: ['string', 'null'], description: 'Optional provider' },
|
|
3396
|
+
history_limit: { type: ['number', 'null'], description: 'Optional assistant history limit (0-100)' },
|
|
3397
|
+
max_retries: { type: ['number', 'null'], description: 'Optional max retries (1-5)' }
|
|
3398
|
+
},
|
|
3399
|
+
required: ['flow_id']
|
|
3400
|
+
},
|
|
3401
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
3402
|
+
},
|
|
3403
|
+
{
|
|
3404
|
+
name: 'agentic_assist_stream',
|
|
3405
|
+
description: 'Request streaming agentic assistance for building or editing a flow component.',
|
|
3406
|
+
inputSchema: {
|
|
3407
|
+
type: 'object',
|
|
3408
|
+
properties: {
|
|
3409
|
+
flow_id: { type: 'string', description: 'Flow ID' },
|
|
3410
|
+
input_value: { type: ['string', 'null'], description: 'User input/instruction (server-configured limit)' },
|
|
3411
|
+
iterations_limit: { type: ['number', 'null'], description: 'Maximum assistant iterations (1-200)' },
|
|
3412
|
+
max_retries: { type: ['number', 'null'], description: 'Maximum retries (1-5)' },
|
|
3413
|
+
session_id: { type: ['string', 'null'], description: 'Optional session ID' },
|
|
3414
|
+
component_id: { type: ['string', 'null'], description: 'Optional target component ID' },
|
|
3415
|
+
field_name: { type: ['string', 'null'], description: 'Optional target field name' },
|
|
3416
|
+
model_name: { type: ['string', 'null'], description: 'Optional model name' },
|
|
3417
|
+
provider: { type: ['string', 'null'], description: 'Optional provider' },
|
|
3418
|
+
history_limit: { type: ['number', 'null'], description: 'Optional assistant history limit (0-100)' }
|
|
3333
3419
|
},
|
|
3334
3420
|
required: ['flow_id']
|
|
3335
3421
|
},
|
|
@@ -3349,13 +3435,15 @@ Related Tools:
|
|
|
3349
3435
|
properties: {
|
|
3350
3436
|
flow_name: { type: 'string', description: 'Agentic flow name to execute' },
|
|
3351
3437
|
flow_id: { type: 'string', description: 'Flow ID' },
|
|
3352
|
-
input_value: { type: 'string', description: 'User input/instruction' },
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3438
|
+
input_value: { type: ['string', 'null'], description: 'User input/instruction (server-configured limit)' },
|
|
3439
|
+
iterations_limit: { type: ['number', 'null'], description: 'Maximum assistant iterations (1-200)' },
|
|
3440
|
+
session_id: { type: ['string', 'null'], description: 'Optional session ID' },
|
|
3441
|
+
component_id: { type: ['string', 'null'], description: 'Optional target component ID' },
|
|
3442
|
+
field_name: { type: ['string', 'null'], description: 'Optional target field name' },
|
|
3443
|
+
model_name: { type: ['string', 'null'], description: 'Optional model name' },
|
|
3444
|
+
provider: { type: ['string', 'null'], description: 'Optional provider' },
|
|
3445
|
+
history_limit: { type: ['number', 'null'], description: 'Optional assistant history limit (0-100)' },
|
|
3446
|
+
max_retries: { type: ['number', 'null'], description: 'Optional max retries (1-5)' }
|
|
3359
3447
|
},
|
|
3360
3448
|
required: ['flow_name', 'flow_id']
|
|
3361
3449
|
},
|
|
@@ -3374,15 +3462,27 @@ Related Tools:
|
|
|
3374
3462
|
},
|
|
3375
3463
|
{
|
|
3376
3464
|
name: 'run_workflow',
|
|
3377
|
-
description: 'Run a
|
|
3465
|
+
description: 'Run a Langflow 1.12.x v2 workflow with sync, stream, or background mode.',
|
|
3378
3466
|
inputSchema: {
|
|
3379
3467
|
type: 'object',
|
|
3380
3468
|
properties: {
|
|
3381
3469
|
flow_id: { type: 'string', description: 'Flow ID' },
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
|
|
3470
|
+
input_value: { type: 'string', description: 'Chat-style input value' },
|
|
3471
|
+
mode: { type: 'string', enum: ['sync', 'stream', 'background'], description: 'Execution mode' },
|
|
3472
|
+
stream_protocol: { type: 'string', description: 'Streaming protocol, for example langflow or agui' },
|
|
3473
|
+
expose_graph_state: {
|
|
3474
|
+
type: ['boolean', 'null'],
|
|
3475
|
+
description: 'For streaming runs, include per-node graph events. Omitted or null uses the protocol default: false for AG-UI and true for Langflow. Ignored in sync mode.'
|
|
3476
|
+
},
|
|
3477
|
+
data: { type: ['object', 'null'], description: 'Optional live-canvas flow data override' },
|
|
3478
|
+
files: { type: ['array', 'null'], items: { type: 'string' }, description: 'Pre-uploaded file paths' },
|
|
3479
|
+
globals: { type: 'object', description: 'Request-level global variables' },
|
|
3480
|
+
idempotency_key: { type: ['string', 'null'], description: 'Deduplication key for background submits' },
|
|
3481
|
+
output_ids: { type: ['array', 'null'], items: { type: 'string' }, description: 'Output component IDs for sync mode' },
|
|
3482
|
+
session_id: { type: ['string', 'null'], description: 'Optional session ID' },
|
|
3483
|
+
start_component_id: { type: ['string', 'null'], description: 'Optional partial-run start component' },
|
|
3484
|
+
stop_component_id: { type: ['string', 'null'], description: 'Optional partial-run stop component' },
|
|
3485
|
+
tweaks: { type: 'object', description: 'Per-component parameter overrides' }
|
|
3386
3486
|
},
|
|
3387
3487
|
required: ['flow_id']
|
|
3388
3488
|
},
|
|
@@ -3844,10 +3944,15 @@ Related Tools:
|
|
|
3844
3944
|
type: 'object',
|
|
3845
3945
|
properties: {
|
|
3846
3946
|
user_id: { type: 'string', description: 'Filter by user ID' },
|
|
3947
|
+
actor_type: { type: 'string', enum: ['user', 'api_key', 'unknown', 'anonymous_public'], description: 'Filter by credential actor type; unknown also includes legacy rows without a type' },
|
|
3948
|
+
actor_id: { type: 'string', description: 'Filter by credential actor UUID' },
|
|
3847
3949
|
resource_type: { type: 'string', description: 'Filter by resource type' },
|
|
3848
3950
|
resource_id: { type: 'string', description: 'Filter by resource ID' },
|
|
3849
3951
|
action: { type: 'string', description: 'Filter by audit action' },
|
|
3850
|
-
|
|
3952
|
+
exclude_action: { type: 'array', items: { type: 'string' }, description: 'Exclude rows matching any of these action names' },
|
|
3953
|
+
result: { type: 'string', enum: ['allow', 'deny', 'owner_override', 'skip'], description: 'Filter by result outcome' },
|
|
3954
|
+
event: { type: 'array', items: { type: 'string' }, description: 'Include rows matching any of these details.event classes' },
|
|
3955
|
+
exclude_event: { type: 'array', items: { type: 'string' }, description: 'Exclude these details.event classes; legacy unclassified rows remain included' },
|
|
3851
3956
|
since: { type: 'string', description: 'Start timestamp (ISO 8601)' },
|
|
3852
3957
|
until: { type: 'string', description: 'End timestamp (ISO 8601)' },
|
|
3853
3958
|
page: { type: 'number', description: 'Page number' },
|
|
@@ -3881,6 +3986,7 @@ Related Tools:
|
|
|
3881
3986
|
flow_id: { type: 'string', description: 'Associated flow ID' },
|
|
3882
3987
|
threshold: { type: 'number', description: 'Capture threshold' },
|
|
3883
3988
|
auto_capture: { type: 'boolean', description: 'Automatically capture memories' },
|
|
3989
|
+
embedding_provider: { type: 'string', description: 'Embedding provider selected for the embedding model' },
|
|
3884
3990
|
embedding_model: { type: 'string', description: 'Embedding model name' },
|
|
3885
3991
|
preprocessing: { type: 'boolean', description: 'Enable preprocessing' },
|
|
3886
3992
|
preproc_model: { type: 'string', description: 'Preprocessing model name' },
|
|
@@ -4181,7 +4287,7 @@ Related Tools:
|
|
|
4181
4287
|
},
|
|
4182
4288
|
{
|
|
4183
4289
|
name: 'list_a2a_agents',
|
|
4184
|
-
description: 'List available A2A (Agent-to-Agent) agents (Langflow 1.11.
|
|
4290
|
+
description: 'List available A2A (Agent-to-Agent) agents (Langflow 1.11.x). Requires server-side A2A enablement (LANGFLOW_A2A_ENABLED).',
|
|
4185
4291
|
inputSchema: {
|
|
4186
4292
|
type: 'object',
|
|
4187
4293
|
properties: {}
|
|
@@ -4190,7 +4296,7 @@ Related Tools:
|
|
|
4190
4296
|
},
|
|
4191
4297
|
{
|
|
4192
4298
|
name: 'get_a2a_agent_card',
|
|
4193
|
-
description: 'Get the A2A agent card (.well-known/agent-card.json) for a flow (Langflow 1.11.
|
|
4299
|
+
description: 'Get the A2A agent card (.well-known/agent-card.json) for a flow (Langflow 1.11.x). Requires server-side A2A enablement.',
|
|
4194
4300
|
inputSchema: {
|
|
4195
4301
|
type: 'object',
|
|
4196
4302
|
properties: {
|
|
@@ -4202,7 +4308,7 @@ Related Tools:
|
|
|
4202
4308
|
},
|
|
4203
4309
|
{
|
|
4204
4310
|
name: 'invoke_a2a_jsonrpc',
|
|
4205
|
-
description: 'Invoke a flow via the A2A JSON-RPC endpoint (Langflow 1.11.
|
|
4311
|
+
description: 'Invoke a flow via the A2A JSON-RPC endpoint (Langflow 1.11.x). The JSON-RPC envelope is a passthrough; validation lives server-side.',
|
|
4206
4312
|
inputSchema: {
|
|
4207
4313
|
type: 'object',
|
|
4208
4314
|
properties: {
|
|
@@ -4218,18 +4324,19 @@ Related Tools:
|
|
|
4218
4324
|
},
|
|
4219
4325
|
{
|
|
4220
4326
|
name: 'list_pending_workflows',
|
|
4221
|
-
description: 'List pending human-in-the-loop
|
|
4327
|
+
description: 'List pending human-in-the-loop requests for a required flow ID (Langflow 1.11.x).',
|
|
4222
4328
|
inputSchema: {
|
|
4223
4329
|
type: 'object',
|
|
4224
4330
|
properties: {
|
|
4225
|
-
flow_id: { type: 'string', description: '
|
|
4226
|
-
}
|
|
4331
|
+
flow_id: { type: 'string', description: 'Flow ID to list pending HITL requests for' }
|
|
4332
|
+
},
|
|
4333
|
+
required: ['flow_id']
|
|
4227
4334
|
},
|
|
4228
4335
|
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
4229
4336
|
},
|
|
4230
4337
|
{
|
|
4231
4338
|
name: 'get_workflow_events',
|
|
4232
|
-
description: 'Re-attach to a workflow job event stream by job ID (Langflow 1.11.
|
|
4339
|
+
description: 'Re-attach to a workflow job event stream by job ID (Langflow 1.11.x). Streaming is not incrementally surfaced; the initial payload is returned.',
|
|
4233
4340
|
inputSchema: {
|
|
4234
4341
|
type: 'object',
|
|
4235
4342
|
properties: {
|
|
@@ -4241,31 +4348,204 @@ Related Tools:
|
|
|
4241
4348
|
},
|
|
4242
4349
|
{
|
|
4243
4350
|
name: 'resume_workflow',
|
|
4244
|
-
description: 'Resume a paused human-in-the-loop workflow with
|
|
4351
|
+
description: 'Resume a paused human-in-the-loop workflow with the pending request ID and optional decision (Langflow 1.11.x).',
|
|
4245
4352
|
inputSchema: {
|
|
4246
4353
|
type: 'object',
|
|
4247
4354
|
properties: {
|
|
4248
4355
|
job_id: { type: 'string', description: 'Workflow job ID' },
|
|
4249
|
-
|
|
4356
|
+
request_id: { type: 'string', description: 'Pending HITL request ID' },
|
|
4357
|
+
decision: { type: ['object', 'null'], description: 'Optional HITL decision payload' }
|
|
4250
4358
|
},
|
|
4251
|
-
required: ['job_id', '
|
|
4359
|
+
required: ['job_id', 'request_id']
|
|
4252
4360
|
},
|
|
4253
4361
|
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
4254
4362
|
},
|
|
4255
4363
|
{
|
|
4256
4364
|
name: 'run_public_workflow',
|
|
4257
|
-
description: 'Run a public (unauthenticated-eligible) workflow (Langflow 1.11.
|
|
4365
|
+
description: 'Run a public (unauthenticated-eligible) workflow (Langflow 1.11.x). Stream-only execution; streaming is not incrementally surfaced.',
|
|
4258
4366
|
inputSchema: {
|
|
4259
4367
|
type: 'object',
|
|
4260
4368
|
properties: {
|
|
4261
4369
|
flow_id: { type: 'string', description: 'Flow ID' },
|
|
4262
|
-
|
|
4263
|
-
|
|
4264
|
-
|
|
4370
|
+
input_value: { type: 'string', description: 'Chat-style input value (max 65536 characters)' },
|
|
4371
|
+
mode: { type: 'string', enum: ['stream'], description: 'Always stream for public execution' },
|
|
4372
|
+
stream_protocol: { type: 'string', description: 'Streaming protocol, for example langflow or agui' },
|
|
4373
|
+
files: { type: ['array', 'null'], items: { type: 'string' }, description: 'Flow-scoped pre-uploaded file paths' },
|
|
4374
|
+
session_id: { type: ['string', 'null'], description: 'Optional caller session (max 256 characters)' },
|
|
4375
|
+
start_component_id: { type: ['string', 'null'], description: 'Optional partial-run start component' },
|
|
4376
|
+
stop_component_id: { type: ['string', 'null'], description: 'Optional partial-run stop component' }
|
|
4265
4377
|
},
|
|
4266
4378
|
required: ['flow_id']
|
|
4267
4379
|
},
|
|
4268
4380
|
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
4381
|
+
},
|
|
4382
|
+
{
|
|
4383
|
+
name: 'get_healthz',
|
|
4384
|
+
description: 'Get the Langflow Kubernetes-style readiness report from /healthz (Langflow 1.12.x).',
|
|
4385
|
+
inputSchema: { type: 'object', properties: {} },
|
|
4386
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
4387
|
+
},
|
|
4388
|
+
{
|
|
4389
|
+
name: 'list_model_provider_descriptors',
|
|
4390
|
+
description: 'List policy-visible model providers with stable IDs and display names (Langflow 1.12.x).',
|
|
4391
|
+
inputSchema: {
|
|
4392
|
+
type: 'object',
|
|
4393
|
+
properties: {
|
|
4394
|
+
purpose: { type: 'string', enum: ['use', 'configure'], description: 'Optional provider visibility purpose' }
|
|
4395
|
+
}
|
|
4396
|
+
},
|
|
4397
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
4398
|
+
},
|
|
4399
|
+
{
|
|
4400
|
+
name: 'get_model_provider_policy',
|
|
4401
|
+
description: 'Read the install-wide approved model-provider policy (superuser-only Langflow 1.12.x API).',
|
|
4402
|
+
inputSchema: { type: 'object', properties: {} },
|
|
4403
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
4404
|
+
},
|
|
4405
|
+
{
|
|
4406
|
+
name: 'replace_model_provider_policy',
|
|
4407
|
+
description: 'Replace the install-wide approved model-provider policy (superuser-only Langflow 1.12.x API).',
|
|
4408
|
+
inputSchema: {
|
|
4409
|
+
type: 'object',
|
|
4410
|
+
properties: {
|
|
4411
|
+
approved_provider_ids: { type: 'array', items: { type: 'string' }, description: 'Complete approved provider ID set' }
|
|
4412
|
+
},
|
|
4413
|
+
required: ['approved_provider_ids']
|
|
4414
|
+
},
|
|
4415
|
+
annotations: { readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: true }
|
|
4416
|
+
},
|
|
4417
|
+
{
|
|
4418
|
+
name: 'get_catalog_component_policy',
|
|
4419
|
+
description: 'Read the global blocked-component catalog policy (superuser-only Langflow 1.12.x API).',
|
|
4420
|
+
inputSchema: { type: 'object', properties: {} },
|
|
4421
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
4422
|
+
},
|
|
4423
|
+
{
|
|
4424
|
+
name: 'replace_catalog_component_policy',
|
|
4425
|
+
description: 'Replace the global blocked-component catalog policy (superuser-only Langflow 1.12.x API).',
|
|
4426
|
+
inputSchema: {
|
|
4427
|
+
type: 'object',
|
|
4428
|
+
properties: { blocked: { type: 'array', items: { type: 'string' }, description: 'Complete blocked component key set' } },
|
|
4429
|
+
required: ['blocked']
|
|
4430
|
+
},
|
|
4431
|
+
annotations: { readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: true }
|
|
4432
|
+
},
|
|
4433
|
+
{
|
|
4434
|
+
name: 'get_catalog_template_policy',
|
|
4435
|
+
description: 'Read the global blocked-template catalog policy (superuser-only Langflow 1.12.x API).',
|
|
4436
|
+
inputSchema: { type: 'object', properties: {} },
|
|
4437
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
4438
|
+
},
|
|
4439
|
+
{
|
|
4440
|
+
name: 'replace_catalog_template_policy',
|
|
4441
|
+
description: 'Replace the global blocked-template catalog policy (superuser-only Langflow 1.12.x API).',
|
|
4442
|
+
inputSchema: {
|
|
4443
|
+
type: 'object',
|
|
4444
|
+
properties: { blocked: { type: 'array', items: { type: 'string' }, description: 'Complete blocked template key set' } },
|
|
4445
|
+
required: ['blocked']
|
|
4446
|
+
},
|
|
4447
|
+
annotations: { readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: true }
|
|
4448
|
+
},
|
|
4449
|
+
{
|
|
4450
|
+
name: 'get_catalog_policy_usage',
|
|
4451
|
+
description: 'Count flows using each catalog component (superuser-only Langflow 1.12.x API).',
|
|
4452
|
+
inputSchema: { type: 'object', properties: {} },
|
|
4453
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
4454
|
+
},
|
|
4455
|
+
{
|
|
4456
|
+
name: 'get_catalog_policy_usage_flows',
|
|
4457
|
+
description: 'List flows affected by blocking a catalog component key (superuser-only Langflow 1.12.x API).',
|
|
4458
|
+
inputSchema: {
|
|
4459
|
+
type: 'object',
|
|
4460
|
+
properties: {
|
|
4461
|
+
component: { type: 'string', description: 'Component key to look up' },
|
|
4462
|
+
limit: { type: 'number', description: 'Maximum number of flows, 1-500' }
|
|
4463
|
+
},
|
|
4464
|
+
required: ['component']
|
|
4465
|
+
},
|
|
4466
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
4467
|
+
},
|
|
4468
|
+
{
|
|
4469
|
+
name: 'get_policy_bundle',
|
|
4470
|
+
description: 'Read the atomic provider-and-catalog policy bundle (superuser-only Langflow 1.12.x API).',
|
|
4471
|
+
inputSchema: { type: 'object', properties: {} },
|
|
4472
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
4473
|
+
},
|
|
4474
|
+
{
|
|
4475
|
+
name: 'replace_policy_bundle',
|
|
4476
|
+
description: 'Atomically replace the provider-and-catalog policy bundle using an expected revision (Langflow 1.12.x).',
|
|
4477
|
+
inputSchema: {
|
|
4478
|
+
type: 'object',
|
|
4479
|
+
properties: {
|
|
4480
|
+
expected_revision: { type: 'number', description: 'Revision read before the replacement' },
|
|
4481
|
+
approved_provider_ids: { type: 'array', items: { type: 'string' } },
|
|
4482
|
+
blocked_component_keys: { type: 'array', items: { type: 'string' } },
|
|
4483
|
+
blocked_template_keys: { type: 'array', items: { type: 'string' } },
|
|
4484
|
+
blocked_model_keys: { type: 'array', items: { type: 'string' } },
|
|
4485
|
+
reason: { type: ['string', 'null'], description: 'Optional change reason, max 1024 characters' }
|
|
4486
|
+
},
|
|
4487
|
+
required: ['expected_revision', 'approved_provider_ids', 'blocked_component_keys', 'blocked_template_keys']
|
|
4488
|
+
},
|
|
4489
|
+
annotations: { readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: true }
|
|
4490
|
+
},
|
|
4491
|
+
{
|
|
4492
|
+
name: 'list_policy_bundle_history',
|
|
4493
|
+
description: 'List historical policy bundle revisions (superuser-only Langflow 1.12.x API).',
|
|
4494
|
+
inputSchema: {
|
|
4495
|
+
type: 'object',
|
|
4496
|
+
properties: {
|
|
4497
|
+
limit: { type: 'number', description: 'Number of revisions, 1-200' },
|
|
4498
|
+
before_revision: { type: ['number', 'null'], description: 'Return revisions before this number' }
|
|
4499
|
+
}
|
|
4500
|
+
},
|
|
4501
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
4502
|
+
},
|
|
4503
|
+
{
|
|
4504
|
+
name: 'rollback_policy_bundle',
|
|
4505
|
+
description: 'Roll back the policy bundle to a prior revision with optimistic concurrency protection (Langflow 1.12.x).',
|
|
4506
|
+
inputSchema: {
|
|
4507
|
+
type: 'object',
|
|
4508
|
+
properties: {
|
|
4509
|
+
revision: { type: 'number', description: 'Target revision' },
|
|
4510
|
+
expected_revision: { type: 'number', description: 'Current revision required for the rollback' },
|
|
4511
|
+
reason: { type: ['string', 'null'], description: 'Optional rollback reason, max 1024 characters' }
|
|
4512
|
+
},
|
|
4513
|
+
required: ['revision', 'expected_revision']
|
|
4514
|
+
},
|
|
4515
|
+
annotations: { readOnlyHint: false, destructiveHint: true, idempotentHint: false, openWorldHint: true }
|
|
4516
|
+
},
|
|
4517
|
+
{
|
|
4518
|
+
name: 'upsert_project',
|
|
4519
|
+
description: 'Create or update a project at a caller-supplied ID using Langflow 1.12.x PUT upsert semantics.',
|
|
4520
|
+
inputSchema: {
|
|
4521
|
+
type: 'object',
|
|
4522
|
+
properties: {
|
|
4523
|
+
project_id: { type: 'string', description: 'Project UUID' },
|
|
4524
|
+
name: { type: 'string', description: 'Project name' },
|
|
4525
|
+
description: { type: ['string', 'null'], description: 'Project description' },
|
|
4526
|
+
auth_settings: { type: ['object', 'null'], description: 'Project authentication settings' },
|
|
4527
|
+
components_list: { type: ['array', 'null'], items: { type: 'string' } },
|
|
4528
|
+
flows_list: { type: ['array', 'null'], items: { type: 'string' } }
|
|
4529
|
+
},
|
|
4530
|
+
required: ['project_id', 'name']
|
|
4531
|
+
},
|
|
4532
|
+
annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
4533
|
+
},
|
|
4534
|
+
{
|
|
4535
|
+
name: 'agentic_assist_run',
|
|
4536
|
+
description: 'Run the Langflow agentic assistant headlessly and persist its flow changes (Langflow 1.12.x SSE API).',
|
|
4537
|
+
inputSchema: {
|
|
4538
|
+
type: 'object',
|
|
4539
|
+
properties: {
|
|
4540
|
+
instruction: { type: 'string', description: 'Assistant instruction' },
|
|
4541
|
+
flow_id: { type: ['string', 'null'], description: 'Optional existing flow ID' },
|
|
4542
|
+
provider: { type: ['string', 'null'], description: 'Optional model provider' },
|
|
4543
|
+
model_name: { type: ['string', 'null'], description: 'Optional model name' },
|
|
4544
|
+
session_id: { type: ['string', 'null'], description: 'Optional assistant session ID' }
|
|
4545
|
+
},
|
|
4546
|
+
required: ['instruction']
|
|
4547
|
+
},
|
|
4548
|
+
annotations: { readOnlyHint: false, destructiveHint: true, idempotentHint: false, openWorldHint: true }
|
|
4269
4549
|
}
|
|
4270
4550
|
];
|
|
4271
4551
|
//# sourceMappingURL=tools.js.map
|