Import Provider Service
importProviderServiceReads one provider service and returns a deployApp-ready source plus its variables, including secrets; the token is one-shot and no deploy occurs until deployApp is called.
Instructions
Reads one service from the provider and returns what deployApp needs to recreate it: a source to pass to deployApp as it is, and the service's variables in values, secrets included. A service that runs an image comes back as an upload staged for it, deleted if no app uses it within three hours. The token is used for this call only and never stored, and nothing is deployed until deployApp is called.
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": {
"workspaceSlug": "<workspaceSlug>",
"provider": "<provider>"
},
"name": "importProviderService"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | Yes | ||
| requestBody | No | The JSON request body. | |
| workspaceSlug | Yes |