Access current tool input
Current tool input or undefined
function InputDisplay() { const input = useToolInput(); return <pre>{JSON.stringify(input, null, 2)}</pre>;} Copy
function InputDisplay() { const input = useToolInput(); return <pre>{JSON.stringify(input, null, 2)}</pre>;}
Access current tool input