port_set
Assign an adapter type to an app's data, cache, blob, or queue port. Set the adapter mapping to connect the port to mongodb, valkey, spaces, or kafka.
Instructions
Set port adapter mapping
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": {
"slug": "<slug>",
"port": "<port>",
"adapter": "<adapter>"
},
"name": "port_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | Port name (data, cache, blob, queue) | |
| slug | Yes | App slug | |
| config | No | Adapter configuration | |
| adapter | Yes | Adapter type (mongodb, valkey, spaces, kafka) |