Hi Tom,
Can you clarify your question? The /usr/share/ts/bin/add_del_internal script is written in Perl so you can read the file to see what it's doing. But you shouldn't need to know the inner workings to add the configuration. You should be able to just run:
/usr/share/ts/bin/add_del_internal add icap /avscan
To verify it was added, you can run:
mysql -p`perl -MF5::GenUtils -e "print F5::GenUtils::get_mysql_password"` -e "SELECT section_id, field_name, factory_value, current_value, value_type, value_min, value_max FROM DCC.INTERNAL_CONFIG_ITEMS WHERE field_name LIKE 'icap'"
Aaron