get_data_plan_by_id
Retrieve detailed information about a specific mParticle data plan by ID. Get the data plan's structure, validation rules, and metadata to govern event data workflows.
Instructions
Get a specific data plan by ID.
This tool retrieves detailed information about a specific data plan from mParticle's Data Planning API.
Data plans define the expected structure and validation rules for your events.
Args:
workspace_id: The mParticle workspace ID (required)
data_plan_id: The data plan ID to retrieve (required)
Returns:
JSON string containing the data plan details and metadata
Raises:
Exception: If API credentials are missing or API request fails
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": {
"workspace_id": "<workspace_id>",
"data_plan_id": "<data_plan_id>"
},
"name": "get_data_plan_by_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data_plan_id | Yes | ||
| workspace_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |