mmp_save_cohort_config
Save cohort fetch parameters for one MMP app on the Meta-owned MMP service. Only supplied fields are forwarded. Returns mmp_not_enabled while MMP is not enabled for the tenant.
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": {
"connection_id": "<connection_id>",
"app_ref": "<app_ref>"
},
"name": "mmp_save_cohort_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kpis | No | ||
| app_ref | Yes | ||
| groupings | No | ||
| cohort_type | No | ||
| partial_data | No | ||
| connection_id | Yes | ||
| period_filters | No | ||
| min_cohort_size | No | ||
| aggregation_type | No | ||
| connection_context | No | ||
| preferred_currency | No | ||
| preferred_timezone | No | ||
| selected_source_refs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| code | No | ||
| rows | No | ||
| error | No | ||
| needs | No | ||
| reason | No | ||
| status | No | ||
| enabled | No | ||
| provider | No | ||
| retryable | No | ||
| truncated | No | ||
| error_code | No | ||
| total_rows | No | ||
| cohort_data | No | ||
| connections | No | ||
| next_action | No | ||
| next_cursor | No | ||
| support_ref | No | ||
| connection_id | No | ||
| oversized_row | No | ||
| invalid_fields | No | ||
| rejected_paths | No | ||
| origin_support_ref | No | ||
| metadata_by_connection | No | ||
| cohort_configs_by_connection | No |