How to run a geoprocessing tool
Building a custom geoprocessing function tool
Interpreting a tool reference page