Preview scaffold
preview_scaffoldPreview what an Offline Protocol starter would contain for an app: workflow, template, packages and file list. A dry run that writes nothing; creating the project needs the local Offline Protocol CLI.
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": {
"name": "<name>"
},
"name": "preview_scaffold"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Project name / directory slug | |
| prompt | No | Natural-language app idea (uses the planner) | |
| platform | No | Required when a multi-platform workflow is named without a template | |
| template | No | Template name, e.g. react-native-social | |
| workflow | No | Workflow name, e.g. local-handoff, backend-delivery or nearby-service | |
| enableMesh | No | Enable mesh SDK for React Native templates (default: true for mesh workflows / mesh templates) | |
| enableOfflineId | No | Enable Offline ID (id-react-native) for React Native templates. Default: true for offline-social-network / offline-id-mesh-chat workflows and react-native-social; auto-switches react-native-mesh-app to react-native-social when true. |