Dynamic parameters passed to page callback
$items['products/autocomplete.json/%'] = array(
    'page callback' =&gt; 'json_list_products',
    'access arguments' =&gt; array('access products'),
    'page arguments' =&gt; array(2),
  );


view the documentation at this link