sailfish_snippet
Generate ready-to-use code snippets for common SailfishOS development patterns like page layouts, UI components, and system integrations.
Instructions
Return a ready-to-use code snippet for a common SailfishOS pattern.
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": {
"pattern": "<pattern>"
},
"name": "sailfish_snippet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | Pattern to generate a snippet for | |
| language | No | Target language for the snippet | qml |