script_manage
Read full source of a Godot script, detach it from a node, and outline its symbols such as functions, signals, and exports. Provides script inspection for editing workflows.
Instructions
Script (.gd) reading, detachment, and outline.
Resource form: godot://script/{path} — prefer for active-session reads.
Ops: • read(path) Read full source, line count, file size. • detach(path) Remove the currently attached script from a node. Undoable. • find_symbols(path) Outline a .gd — class_name, extends, functions, signals, @export vars.
Canonical call shape: {"op": "<verb>", "params": {...}}. Flat op parameters are accepted as a compatibility alias when the client transmits them; op and session_id remain top-level.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | ||
| params | No | ||
| session_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||