objc_dump
Dumps Objective-C headers from a local binary or live device/runtime, selecting the backend automatically and returning a local header file for inspection.
Instructions
Dump headers with automatic backend selection: local binary_path uses host classdumpc; device_id/bundle_id/class_name uses the live runtime and reuses its session. Returns a local header file; preview is opt-in and bounded. Static cache: 5 minutes, 4 files, 16 MiB. Use objc_query_instances for live values.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "objc_dump"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arch | No | ||
| limit | No | ||
| backend | No | auto | |
| bundle_id | No | ||
| device_id | No | ||
| class_name | No | ||
| binary_path | No | ||
| class_filter | No | ||
| preview_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| elapsed_ms | Yes | ||
| request_id | Yes |