> ## Documentation Index
> Fetch the complete documentation index at: https://docs.projectreal.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# getsignalargumentsinfo

> Returns an array table of argument info from an RBXScriptSignal signature. It does not return captured runtime argument values.

<div className="real-function-page">
  ```lua theme={null}
  getsignalargumentsinfo(signal: RBXScriptSignal): {{Name: string, Type: string}}
  ```

  ## Arguments

  <ParamField path={"signal"} type={"RBXScriptSignal"} required>
    The RBXScriptSignal whose event descriptor signature should be inspected.
  </ParamField>

  ## Returns

  <ResponseField name={"argumentInfo"} type={"{{Name: string, Type: string}}"}>
    An array table where each entry has Name and Type strings. If the signature cannot be read or has no entries, the function returns one fallback entry with Name set to arg1 and Type set to Variant.
  </ResponseField>

  ## Example

  Inspect an RBXScriptSignal signature and print each argument name with its type name.

  ```lua theme={null}
  local ReplicatedStorage = game:GetService("ReplicatedStorage")
  local remote = ReplicatedStorage:FindFirstChild("RemoteEvent")

  if remote then
      for _, argument in ipairs(getsignalargumentsinfo(remote.OnClientEvent)) do
          print(argument.Name, argument.Type)
      end
  end
  ```
</div>
