add dict type to function_definition input