get_sdk_reference
Fetch SDK source code for type definitions, interfaces, and hooks to verify exact type shapes and constructor signatures during debugging and reference checks.
Instructions
Fetch SDK source code (type definitions, interfaces, hooks) from the open-source Web3Auth SDK repos. Use for REFERENCE and DEBUGGING only — to verify exact type shapes, constructor signatures, available hooks, and error types. Do NOT use this to discover features; many SDK options are internal or legacy. Always use get_example first for integration patterns.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | Yes | Target platform SDK to fetch source for | |
| module | No | Specific SDK module to fetch, e.g. 'core-types', 'react-hooks', 'modal-types', 'main-class'. Omit to get default type definitions. Call without module first to see available modules. | |
| focus | No | What kind of source to focus on. 'types' = interfaces/types (default, most useful). 'hooks' = React hooks / Vue composables. 'errors' = error types. 'main-class' = SDK implementation. 'all' = everything. | types |