List all connections on a signal
list-signal-connectionsEnumerate every connection on an RBXScriptSignal and report each handler's metadata, so you can see what listens to an event and where its function is defined.
Instructions
Enumerate every connection on an RBXScriptSignal and, for each, report its full Connection metadata: Index, Enabled, LuaConnection, ForeignState, whether it has a Function/Thread, and (for Lua connections) the connected function's Source script, Name, LineDefined and NumParams. This is the main tool for answering "what is listening to this event and where is each handler defined?". Requires getconnections; degrades with a clear { error } if unavailable. Returns { Signal, Instance?, ConnectionCount, Connections: [...] }. Signature: { instancePath: string, signalName: any?, includeFunctionInfo: any?, threadContext: number? }. Phase: observe; cost=medium; idempotency=read-only. Requires: active-client, resolved-target. Capabilities: getconnections. Produces: bounded-candidates, created-handle. Safety: read-only. On failure: inspect tool-schema for exact fields, defaults, constraints, and an invocation example.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| signalName | No | Name of the RBXScriptSignal member on the instance (e.g. 'Touched', 'Changed', 'OnClientEvent'). Leave empty/omit if instancePath already evaluates to the signal. | |
| instancePath | Yes | Lua expression resolving to the Instance that owns the signal (e.g. 'game.Workspace.Door', 'game.Players.PlayerAdded' parent). Evaluated as `return <instancePath>`. Leave signalName empty if this expression already resolves to the signal itself. | |
| threadContext | No | Optional Roblox thread identity for this call; omit it to use the server default. | |
| includeFunctionInfo | No | When true (default), resolve each Lua connection's function source/line/name via debug.info. Set false for a faster summary that only reports counts and connection flags. |