Get the argument types a signal fires with
get-signal-argumentsReport the value types an RBXScriptSignal passes to handlers, revealing event payload shape without connecting and waiting for a fire.
Instructions
Report the value TYPES that an RBXScriptSignal fires its connected handlers with, using the executor's getsignalarguments. This answers "what shape is the payload of this event?" without having to connect a handler and wait for a fire — invaluable when reverse-engineering a remote-driven or engine signal so you know how to construct a fire-signal / replicate-signal call. Pass the instance that owns the signal plus the signal member name (or leave signalName empty if instancePath already resolves to the signal). Requires the getsignalarguments executor function; degrades with a clear { error } if unavailable. Returns { Signal, Instance?, Arguments } where Arguments is the type/scalar info mapped through a safe serializer. Signature: { instancePath: string, signalName: any?, threadContext: number? }. Phase: observe; cost=medium; idempotency=read-only. Requires: active-client, resolved-target. Capabilities: getconnections. Produces: structured-observation. 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. 'OnClientEvent', 'Touched', 'Changed'). 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.ReplicatedStorage.MyRemote', 'game.Workspace.Door'). Evaluated as `return <instancePath>`. Leave signalName empty if this expression already resolves to the RBXScriptSignal itself. | |
| threadContext | No | Optional Roblox thread identity for this call; omit it to use the server default. |