Set the design source
mpb_set_sourceCreates or replaces an HTTP source configuration for an MPB design, including authentication, global headers, and request testing. Use the live GET /source shape, not the export envelope.
Instructions
Creates or replaces the HTTP source (configuration with baseApiPath and collectorId, authentication with creds and optional sessionSettings, globalHeaders, testRequest). Pass the live GET /source shape, not the export envelope's source.source shape.
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": {
"designId": "<designId>",
"source": "<source>"
},
"name": "mpb_set_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | HttpSource object | |
| designId | Yes | MPB design UUID (see mpb_list_designs) |