Reads a tool part back as a site action, or null when it is not one. The
server has already validated the input with zod; this repeats the check
against the same allowlists without shipping zod to the browser, and gives
the client a typed action to run or label.
Reads a tool part back as a site action, or null when it is not one. The server has already validated the input with zod; this repeats the check against the same allowlists without shipping zod to the browser, and gives the client a typed action to run or label.