execute_map_reduce_mcp_client
Execute parallel processing of multiple items using a map prompt, then sequentially reduce the results to a single output with a reduce prompt. Designed for efficient task delegation and context offloading within the MCP Inception MCP Server.
Instructions
Process multiple items in parallel then sequentially reduce the results to a single output.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
initialValue | No | Initial value for the accumulator (optional). | |
items | Yes | Array of items to process. | |
mapPrompt | Yes | Template prompt for processing each individual item. Use {item} as placeholder for the current item. | |
reducePrompt | Yes | Template prompt for reducing results. Use {accumulator} and {result} as placeholders. |