map_reduce_mr_pick
Keep only the specified fields from each dictionary item using a map-reduce pattern. Streamlines data by removing unneeded keys.
Instructions
[map_reduce] Keep only specified fields in each dict item.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"data": "<data>",
"fields": "<fields>"
},
"name": "map_reduce_mr_pick"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| fields | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |