check_api_declaration
Identify required declarations for APIs, permissions, or SDKs before coding to prevent app store rejection.
Instructions
Check what an API, permission or SDK obliges you to declare — BEFORE writing code.
This is the pre-write counterpart to preflight_scan. Ask it before you add
UserDefaults, android.permission.READ_SMS, or a new SDK, and you will not
find out from a rejection email days later.
Args: api: symbol, permission, or dependency, e.g. "UserDefaults", "NSPrivacyAccessedAPICategoryDiskSpace", "READ_SMS", "shared_preferences", "mach_absolute_time", "foregroundServiceType=dataSync". store: "apple" | "play" | "" for both. scan_date: ISO date for policy-window evaluation (default today).
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": {
"api": "<api>"
},
"name": "check_api_declaration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api | Yes | ||
| store | No | ||
| scan_date | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |