Screenshot Generate Sample
screenshot_generate_sampleGenerates a sample image via fal.ai into Resources/sample_headshot.jpg to fill Result/Gallery screens. Use when screenshots need real-looking app output.
Instructions
Generate a sample image with fal.ai into Resources/sample_headshot.jpg to fill the Result/Gallery screens (paid).
Use when: screenshots need real-looking app output; screenshot_build_all calls it for you. Returns: {ok, path}.
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": {
"app_dir": "<app_dir>",
"prompt": "<prompt>"
},
"name": "screenshot_generate_sample"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Image generation prompt for the sample output. | |
| app_dir | Yes | Absolute path to the app project directory (contains app.spec.json), e.g. /Users/me/Apps/MyApp. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||