generate_types
Generate typed client classes from a Parse app schema for TypeScript, Swift, Kotlin, or Dart, with pointers mapped to target class types and SDK-managed fields excluded.
Instructions
Generate typed classes from an app's schema for its client code: TypeScript (Parse JS SDK), Swift (ParseSwift), Kotlin (Parse Android SDK) or Dart (parse_server_sdk). Pointers become the target class's type; the SDKs' own fields (objectId, createdAt, ...) are left to them.
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": {
"appObjectId": "<appObjectId>",
"language": "<language>"
},
"name": "generate_types"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| classes | No | Only these classes (as named in Parse, e.g. _User, Post); default: all of the app's own and _User, _Role, _Installation | |
| language | Yes | The client's language and SDK | |
| appObjectId | Yes | The app: its name or objectId (see list_apps) |