get_fields
List the fields of a specified class from a Unity IL2CPP metadata file to support reverse engineering.
Instructions
Return the fields of a class as a structured list.
Args: metadata_path: path to global-metadata.dat class_fqn: fully qualified class name limit: maximum fields to return (default 200)
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": {
"metadata_path": "<metadata_path>",
"class_fqn": "<class_fqn>"
},
"name": "get_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metadata_path | Yes | ||
| class_fqn | Yes | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |