get_serialized_fields
Retrieve every serialized field on a Unity MonoBehaviour or ScriptableObject by assembly and type name, revealing which values can be inspected and modified when modding a game.
Instructions
Get all serialized fields for a MonoBehaviour or ScriptableObject.
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": {
"assembly": "<assembly>",
"type_name": "<type_name>"
},
"name": "get_serialized_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assembly | Yes | Assembly key | |
| type_name | Yes | Full type name |