sailfish_add_feature
Add new features like pages, services, or D-Bus interfaces to existing SailfishOS projects to extend application functionality.
Instructions
Add a new feature (page, cover, service, D-Bus interface, etc.) to an existing SailfishOS project.
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": {
"projectDir": "<projectDir>",
"feature": "<feature>",
"name": "<name>"
},
"name": "sailfish_add_feature"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectDir | Yes | Absolute path to the project root | |
| feature | Yes | Type of feature to add | |
| name | Yes | Name for the new feature, e.g. DetailPage or MusicService |