create_service
Create an app, database, or compose service in a Tugport project by supplying the project, name, and spec, enabling deployment and management from an AI agent.
Instructions
Create a service in a project. kind is app, database or compose. For apps pass spec.source ({type: git, repo, branch} | {type: image, image} | {type: dockerfile, content}); for databases pass database: {engine: postgres|mysql|mariadb|mongo|redis}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Initial env vars {NAME: value} | |
| kind | No | app, database or compose | |
| name | Yes | Service name | |
| spec | No | Service spec (see docs/API.md) | |
| project | Yes | Project id or name | |
| database | No | {engine, user?, database?} |