You would do something like this:
function serverCmdClearTools(%client)
{
%player = %client.player; //ok, we've found their player
if(isObject(%player)) //let's check to make sure that the player actually exists
%player.clearTools(); //clear their tools
messageClient(%client,'',"Your tools were cleared."); //tell them what happened
}
Fyi, post questions about coding in the Coding Help board next time. :)