project_info
Summarize a Pebble project from its package.json: extract name, platform, capabilities, resources, SDK version, and detect language. Raises errors for missing configuration.
Instructions
Summarize an existing Pebble project from its package.json.
Returns name, displayName, uuid, kind/watchface,
detected language (C vs JavaScript/Alloy, inferred from
projectType and src/ layout), project_type,
platforms, capabilities, messageKeys, resources (the
media list), and sdkVersion. Raises a clear error if dir has
no package.json or no pebble block.
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": {
"dir": "<dir>"
},
"name": "project_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | Yes |