11 lines · 356 B · Text
RawDownload
{/_This file is generated by scripts/generate-doc-snippets.ts.Edit examples/docs-sdk-quickstart/src/main.ts between the docs:start/docs:end markers instead._/} ```tsconst firstAddress = tools[0]?.address;const schema = firstAddress ? await executor.tools.schema(firstAddress) : null; console.log(schema?.inputTypeScript ?? "No input required");```