feat(native): return a retained summary view of binary layouts on request (#1570)

inspect_binary_layout accepts the same optional detail input as
analyze_javascript_application. The default complete delivery is
unchanged; detail "summary" retains the complete layout Evidence in the
session and returns its inspect_analysis_view summary, whose
parent_evidence_id selects sections, symbols, mitigations or linkage
later. Both tools share one detail schema and output projection.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kaoru0822
2026-10-10 07:57:42 -07:00
committed by GitHub
co-authored by Claude Opus 5.5
parent c19e15a2b3
commit 5156ba44c5
9 changed files with 119 additions and 31 deletions
@@ -150,9 +150,10 @@ list stays complete; availability depends on the operation, target, and host.
## Work summary-first
Start with the default result and use its inline Evidence and graph context.
For a JavaScript application whose size is unknown or large, call
`analyze_javascript_application` with `"detail": "summary"`, then inspect the
retained `parent_evidence_id` with `inspect_analysis_view`.
For a JavaScript application or ELF layout whose size is unknown or large,
call `analyze_javascript_application` or `inspect_binary_layout` with
`"detail": "summary"`, then inspect the retained `parent_evidence_id` with
`inspect_analysis_view`.
Do not repeat an identical tool call. Make a focused follow-up only when the
returned result leaves a specific question unanswered.